DeepLearning.AI
Generative AI
Advanced
Interactive

Free course on DeepLearning.AI

Finetuning Large Language Models

2 hours 4.7(41,000 reviews)Free

At a glance

Rating
Rating 4.7
Hours
2
Cost
Free

No certificate with this course.

Open Course

DeepLearning.AI's Finetuning Large Language Models teaches you to fine-tune pre-trained models for specific tasks using your own data. You learn when to fine-tune vs. prompt engineer, how to prepare data, and how to evaluate results. The course is free on deeplearning.ai. After finishing, you understand fine-tuning trade-offs and can adapt smaller, cheaper models to outperform larger ones on specific tasks. The main limitation: fine-tuning requires compute resources. This course teaches concepts with small examples; real fine-tuning needs a GPU and careful data curation.

About This Course

Learn when and how to fine-tune LLMs for your specific use case. Covers data preparation, training with the OpenAI API, evaluating fine-tuned models, and comparing against few-shot prompting. Free.

Course Details

Duration
2h
Certificate
No
Cost
Free
All Courses

Frequently Asked Questions

Is this course free?

Yes, free on deeplearning.ai.

When should I fine-tune vs. prompt engineer?

Prompt engineer first. Fine-tune when you need consistently better quality on a narrow task with lots of training data.

How much data do I need?

As few as 100-1000 high-quality examples can significantly improve task-specific performance.

Does fine-tuning change how the model thinks?

Yes. Fine-tuning changes model weights. It's different from RAG (which adds context) or prompting (which guides behavior).

What models can I fine-tune?

Open models like Llama, Mistral, and GPT-3.5 via OpenAI API. Not all models support fine-tuning.

More Generative AI Courses

Generative AIIntermediate

Hugging Face LLM Course

Learn to build and deploy with transformers and large language models in this 12-chapter course from Hugging Face. You'll start with NLP fundamentals, then move into modern LLM techniques: tokenization, fine-tuning, reasoning models, and building shareable demos. By the end, you'll know how to use pre-trained models, customize them on your own data, and integrate them into real applications. Best if you have some Python experience; the course assumes basic familiarity with machine learning. Fair warning: LLM chapters move fast, so budget time for rereading.

Rating 4.930hDetails →