Uploaded November 2024 | Updated November 2026, 3 hours ago
Full-text tutorial: mlexpert.io/bootcamp/fine-tuning-llama-3-2-on-your-data-with-torchtune
Fine-tuning an LLM can be easier than you think, especially with torchtune. In this tutorial, we'll fine-tune Llama 3.2 1B on a mental health sentiment dataset. How good our model is going to be?
torchtune: github.com/pytorch/torchtune
Dataset: huggingface.co/datasets/btwitssayan/sentiment-analysis-for-mental-health
AI Bootcamp: mlexpert.io
LinkedIn: linkedin.com/in/venelin-valkov
Follow me on X: twitter.com/venelin_valkov
Discord: discord.gg/UaNPxVD6tv
Subscribe: bit.ly/venelin-subscribe
GitHub repository: github.com/curiousily/AI-Bootcamp
👍 Don't Forget to Like, Comment, and Subscribe for More Tutorials!
00:00 - Welcome
00:31 - Text tutorial on MLExpert.io
01:03 - What is torchtune?
01:57 - Google Colab setup
02:48 - Data overview & preprocessing
06:45 - Create dataset
08:22 - Download Llama 3.2
09:39 - Untrained model evaluation
13:01 - Fine-tuning configuration
17:00 - Training metrics
17:53 - Upload trained model to HuggingFace Hub
18:59 - Trained model evaluation
20:50 - Conclusion
Join this channel to get access to the perks and support my work:
youtube.com/channel/UCoW_WzQNJVAjxo4osNAxd_g/join
Full-text tutorial: mlexpert.io/bootcamp/fine-tuning-llama-3-2-on-your-data-with-torchtune
Fine-tuning an LLM can be easier than you think, especially with torchtune. In this tutorial, we'll fine-tune Llama 3.2 1B on a mental health sentiment dataset. How good our model is going to be?
torchtune: github.com/pytorch/torchtune
Dataset: huggingface.co/datasets/btwitssayan/sentiment-analysis-for-mental-health
AI Bootcamp: mlexpert.io
LinkedIn: linkedin.com/in/venelin-valkov
Follow me on X: twitter.com/venelin_valkov
Discord: discord.gg/UaNPxVD6tv
Subscribe: bit.ly/venelin-subscribe
GitHub repository: github.com/curiousily/AI-Bootcamp
👍 Don't Forget to Like, Comment, and Subscribe for More Tutorials!
00:00 - Welcome
00:31 - Text tutorial on MLExpert.io
01:03 - What is torchtune?
01:57 - Google Colab setup
02:48 - Data overview & preprocessing
06:45 - Create dataset
08:22 - Download Llama 3.2
09:39 - Untrained model evaluation
13:01 - Fine-tuning configuration
17:00 - Training metrics
17:53 - Upload trained model to HuggingFace Hub
18:59 - Trained model evaluation
20:50 - Conclusion
Join this channel to get access to the perks and support my work:
youtube.com/channel/UCoW_WzQNJVAjxo4osNAxd_g/join










