Fine-Tuning with Custom Compute Metrics

Fine-Tuning with Custom Compute Metrics

Trelis Research via YouTube Direct link

28:03 Loading and Printing Trainable Parameters

18 of 23

18 of 23

28:03 Loading and Printing Trainable Parameters

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

Fine-Tuning with Custom Compute Metrics

Automatically move to the next video in the Classroom when playback concludes

  1. 1 00:00 Introduction to Tracking Loss in Model Training
  2. 2 00:50 Understanding Custom Metrics
  3. 3 01:22 Teacher Forced vs. Auto Regressive Decoding
  4. 4 01:32 Training vs. Inference Libraries
  5. 5 01:43 Options for Computing Custom Metrics
  6. 6 02:00 Challenges with Custom Metrics
  7. 7 03:44 Teacher Forced Decoding Explained
  8. 8 05:55 Auto Regressive Decoding Explained
  9. 9 08:19 Combining Training and Inference
  10. 10 09:22 Implementing Custom Metrics in Training
  11. 11 09:31 GRPO and Custom Metrics
  12. 12 12:11 Memory Management in Custom Metrics
  13. 13 15:44 Practical Demonstration: Setting Up the Environment
  14. 14 18:05 Loading and Training the Model
  15. 15 26:14 Setting Up the Training and Evaluation Dataset
  16. 16 26:31 Formatting the Data for Training
  17. 17 27:35 Custom Optimizer Setup
  18. 18 28:03 Loading and Printing Trainable Parameters
  19. 19 29:30 Fine-Tuning the Model
  20. 20 30:03 Custom Prediction Step and Metrics
  21. 21 31:42 Auto Aggressive Decoding and Evaluation
  22. 22 46:40 Handling Memory and GPU Utilization
  23. 23 49:55 Conclusion and Resources

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.