Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Fine-tuning Llama 3.2 for Mental Health Sentiment Analysis Using TorchTune

Venelin Valkov via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn to fine-tune Llama 3.2 1B language model for sentiment analysis in mental health applications through a detailed video tutorial that demonstrates the complete process using torchtune on a single GPU. Master essential steps including Google Colab setup, data preprocessing, dataset creation, model evaluation, and fine-tuning configuration. Explore how to work with the mental health sentiment dataset, evaluate the untrained model's performance, configure training parameters, and analyze training metrics. Follow along to upload the trained model to HuggingFace Hub and assess its final performance. Perfect for developers and machine learning practitioners looking to implement practical LLM fine-tuning with limited computational resources.

Syllabus

- Welcome
- Text tutorial on MLExpert.io
- What is torchtune?
- Google Colab setup
- Data overview & preprocessing
- Create dataset
- Download Llama 3.2
- Untrained model evaluation
- Fine-tuning configuration
- Training metrics
- Upload trained model to HuggingFace Hub
- Trained model evaluation
- Conclusion

Taught by

Venelin Valkov

Reviews

Start your review of Fine-tuning Llama 3.2 for Mental Health Sentiment Analysis Using TorchTune

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.