Mastering Transformers | 5. Fine-Tuning Language Models for Text Classification

Опубликовано: 05 Август 2026
на канале: Code in Action
404
4

Mastering Transformers is available from:
Packt.com: https://bit.ly/2WhpFLD
Amazon: https://amzn.to/2Ujbchy

This is the “Code in Action” video for chapter 5 of Mastering Transformers by Savaş Yıldırım and Meysam Asgari-Chenaghlu, published by Packt. It includes the following topics:
00:13 Fine-tuning a BERT model for single-sentence binary classification
07:27 Training a classification model with native PyTorch
10:11 Fine-tuning BERT for multi-class classification with custom datasets
16:41 Fine-tuning the BERT model for sentence-pair regression

Explore the accurate and fast fine-tuning capabilities of transformer-based language models and understand how they outperform traditional machine learning-based approaches when solving challenging Natural Language Understanding (NLU) problems. Developers working with the transformers architecture will be able to put their knowledge to work with this practical guide.

Connect with Packt:
Find us on Facebook:   / packtpub  
Find us on Twitter:   / packtpub  

Video created by Savaş Yıldırım and Meysam Asgari-Chenaghlu