4.96
(28 Ratings)

Fine-tuning large language models

Wishlist Share

About Course

The “Finetuning Large Language model” course is a introductory 20-hr program designed for data scientists, software developers, NLP practitioners, and students aiming to enhance their skills in fine-tuning large language models for specific applications.
 
This course offers a comprehensive exploration of fine-tuning large language models (LLMs), covering essential concepts such as Low-Rank Adaptation (LoRA), quantization techniques, and data preparation strategies. Through practical sessions, learners will gain hands-on experience in adapting pre-trained models to specific tasks, enhancing their performance and applicability in real-world scenarios

Key Learning outcome includes:

Fine-Tuning: Adjusting a pre-trained machine learning model’s parameters on a new, specific dataset to enhance performance for a particular task.

Fine-Tuning after Pre-Training: Utilizing a model pre-trained on a broad dataset and then fine-tuning it on a specialized dataset to adapt it to specific tasks or domains.

Low-Rank Adaptation (LoRA): A parameter-efficient technique that inserts trainable low-rank matrices into a model’s layers, enabling effective fine-tuning with significantly fewer parameters.

Quantization: Reducing the precision of a model’s weights and activations (e.g., from 32-bit to 8-bit) to decrease memory usage and computational requirements, often with minimal impact on performance.

Data Pre-Processing with Prompt Template: Structuring input data into a specific format or template to guide the model’s responses during training or inference, enhancing its ability to understand and generate relevant outputs.

Data Preparation: Collecting, cleaning, and organizing data into a suitable format for training a machine learning model, ensuring quality and relevance to the target task.

Training Process: The iterative procedure where a model learns from data by adjusting its parameters to minimize a defined loss function, thereby improving its performance on the given task.

Concept of DPO: Direct Preference Optimization (DPO) is a method that directly optimizes a model based on user preferences or feedback, aiming to align the model’s outputs with desired outcomes.

DPO Data Preparation: Involves gathering and organizing user preference data to train a model using Direct Preference Optimization, ensuring the data accurately reflects user choices and priorities.

DPO Training: The process of training a model using Direct Preference Optimization, where the model learns to produce outputs that align with user preferences by directly optimizing based on feedback.

DPO Inference: Applying a model trained with Direct Preference Optimization to generate outputs that reflect learned user preferences during real-world application or deployment.

 

Show More

Course Content

Fine-tune LLMs

  • What is fine tuning ?
  • Fine-tuning after Pre-training
  • Low Rank Adaptation (LORA)
  • Quantization
  • Data pre-processing with prompt template
  • Data Preparation
  • Training Process
  • Finetuning

Direct Preference Optimization

Student Ratings & Reviews

5.0
Total 28 Ratings
5
27 Ratings
4
1 Rating
3
0 Rating
2
0 Rating
1
0 Rating
NA
1 year ago
excellent course must attend
BC
1 year ago
such a great experience
UJ
1 year ago
It was a great experience in this course.
CA
1 year ago
The Live AI course on Fine-Tuning Large Language Models was incredibly insightful and hands-on. It provided a strong theoretical foundation along with practical implementation using tools like Hugging Face, LoRA, and DPO. The instructors explained complex concepts like preference alignment, memory optimization, and parameter-efficient tuning in an easy-to-understand way. Real-world examples and coding walkthroughs helped bridge the gap between theory and application. The course also emphasized challenges like overfitting, generalization, and computational constraints. Overall, it’s a must-take for anyone serious about customizing LLMs for specific tasks with limited resources. Highly recommended for ML enthusiasts and practitioners!
IY
1 year ago
Quite helpful and interesting
AK
1 year ago
this was really worth and I really learnt a lot from the modules
AL
1 year ago
A very good course
OK
1 year ago
Great course. Super clear, easy to follow, and really useful for understanding important concepts in a simple way.
HK
1 year ago
I recently completed this course and found it to be a well-structured and informative introduction to advanced fine-tuning techniques like QLoRA and Direct Preference Optimization (DPO). The content was clear and concise, covering both theoretical concepts and practical implementation. The hands-on notebooks were particularly useful for understanding how to apply these methods to real-world models like Mistral 7B, even on resource-constrained hardware
AP
1 year ago
Great course for fine tuning the LLMs
RK
1 year ago
I recently completed the LLM course, and it exceeded all my expectations! The curriculum was well-structured, blending theoretical concepts with practical applications. The instructors were knowledgeable and approachable, always willing to engage and clarify doubts.
AP
1 year ago
Well, this is a not so famous course as this deals with a very specific domain of Machine Learning, to be precise GenAI. It has proper explanantions, good questions to test our understanding and code snippets. We could play around with the notebooks and also references to each topic which we could read for later.
HS
1 year ago
It was a great experience. i got to learn a lot of new things
It was very useful and informative.
KI
1 year ago
The course was outstanding, I learned a lot.
KB
1 year ago
The course was really amazing, Learnt a lot. Thank you liveai.
AT
1 year ago
Really insightful course, much needed!
HS
1 year ago
I recently completed the LLM course, and it exceeded all my expectations! The curriculum was well-structured, blending theoretical concepts with practical applications. The instructors were knowledgeable and approachable, always willing to engage and clarify doubts.
VM
1 year ago
Great course. Learned a lot!!!
VR
2 years ago
Very good course. Helped me learn a lot about LLMs.

Want to receive push notifications for all major on-site activities?

Scroll to Top