The Trainer API

Опубликовано: 23 Февраль 2026
на канале: HuggingFace
34,676
330

The Trainer API of the Transformers library, and how to use it to fine-tune a model.

This video is part of the Hugging Face course: http://huggingface.co/course
Open in colab to run the code samples:
https://colab.research.google.com/git...

Related videos:
How to instantiate a Transformers model:    • Instantiate a Transformers model (PyTorch)  
How to preprocess sentence pairs:    • Preprocessing sentence pairs (PyTorch)  
The 🤗 Datasets library:    • Hugging Face Datasets overview (Pytorch)  
What is dynamic padding:    • What is dynamic padding?  

Have a question? Checkout the forums: https://discuss.huggingface.co/c/cour...
Subscribe to our newsletter: https://huggingface.curated.co/