NLP with LLMs: Fine-tuning Models for Classification & Question Answering
Large Language Models (LLMs)
| Expert
- 12 videos | 1h 33m 43s
- Includes Assessment
- Earns a Badge
Fine-tuning in the context of text-based models refers to the process of taking a pre-trained model and adapting it to a specific task or dataset with additional training. This technique leverages the general language understanding capabilities acquired by the model during its initial extensive training on a large corpus of text and refines its abilities to perform well on a more narrowly defined task or domain-specific data. In this course, you will learn how to fine-tune a model for sentiment analysis, starting with the preparation of datasets optimized for this purpose. You will be guided through setting up your computing environment and preparing a BERT classifier for sentiment analysis. Next, you will discover how to structure text data and align named entity recognition (NER) tags with subword tokenization. You will build on this knowledge to fine-tune a BERT model specifically for NER, training it to accurately identify and classify entities within text. Finally, you will explore the domain of question answering, learning to handle the challenges of long contexts to extract precise answers from extensive texts. You will prepare QnA data for fine-tuning and utilize a DistilBERT model to create an effective QnA system.
WHAT YOU WILL LEARN
-
Discover the key concepts covered in this courseLoad and clean data for fine-tuningSet up a fine-tuning jobFine-tune a bert classifierGenerate predictions with a fine-tuned modelLoad and clean text for named entity recognition (ner)
-
Align ner tags with subword tokensFine-tune bert for nerGenerate context-question pairs for qnaSet up data for fine-tuningFine-tune a distilbert model for qnaSummarize the key concepts covered in this course
IN THIS COURSE
-
1m 58sIn this video, we will discover the key concepts covered in this course. FREE ACCESS
-
8m 41sLearn how to load and clean data for fine-tuning. FREE ACCESS
-
9m 16sFind out how to set up a fine-tuning job. FREE ACCESS
-
10m 31sIn this video, discover how to fine-tune a BERT classifier. FREE ACCESS
-
5m 47sIn this video, find out how to generate predictions with a fine-tuned model. FREE ACCESS
-
9m 12sIn this video, you will learn how to load and clean text for named entity recognition (NER). FREE ACCESS
-
8m 53sDiscover how to align NER tags with subword tokens. FREE ACCESS
-
7m 8sDuring this video, you will learn how to fine-tune BERT for NER. FREE ACCESS
-
10m 43sIn this video, discover how to generate context-question pairs for QnA. FREE ACCESS
-
12m 38sIn this video, find out how to set up data for fine-tuning. FREE ACCESS
-
5m 53sFind out how to fine-tune a DistilBERT model for QnA. FREE ACCESS
-
3m 2sIn this video, we will summarize the key concepts covered in this course. FREE ACCESS
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.