Introduction to AI Fine-Tuning
Just like you can tune a car to suit your preferences, you can also fine-tune AI to match your work needs.
By tuning AI, you can create a specialized AI
for a specific field or a unique AI
that understands dialects instead of standard language.
This process of further training a pre-trained AI to adapt it to specific tasks or objectives is known as Fine-Tuning.
Fine-tuning enables you to instill identity and personality
into AI, transforming it into an expert assistant
well-versed in specific areas.
This curriculum introduces foundational knowledge about what it means for AI to learn, what occurs inside AI models during the learning process, and overall basic understanding of artificial intelligence.
Following this, the focus is on experiencing the actual fine-tuning process and retrained AI models to understand what can be accomplished through fine-tuning and the processes involved.
We hope Introduction to AI Fine-Tuning significantly enhances your understanding of AI.
Curriculum Outline
The first course, Introduction to AI & Fine-Tuning Basics, introduces the fundamental concepts and principles of AI learning and fine-tuning. It's designed to provide basic knowledge of AI even to those who know nothing about programming.
The second course, Experiencing Fine-Tuning, builds on the first course by allowing you to directly experience various fine-tuned AI models and fine-tuning processes.
1. Introduction to AI & Fine-Tuning Basics
Introduces the fundamental concepts and principles of prompt engineering.
Chapter 1: Mastering the Basics
-
Our AI has changed! Creating Custom AI with Fine-Tuning
-
Fine-Tuning vs. Prompt Engineering: What's the Difference?
-
What are the Benefits of Fine-Tuning?
-
How Generative AI Understands Prompts
-
Fine-Tuning Models Specialized in Organizing Tabular Data
-
Glossary for AI Beginners
-
What is Deep Learning?
-
How do Machine Learning and Deep Learning differ?
-
What Does it Mean for AI to 'Learn'?
-
How is Fine-Tuning Applied?
Chapter 2: Preparing Training Data
-
Data Formats Used to Train AI
-
Deep Dive into JSON Data Format
-
The Fuel for Fine-Tuning, What is JSONL?
-
JSONL Format for Fine-Tuning
-
Preparation for Training AI, Dataset
-
Types of Datasets Used for AI Training
-
How to Split Datasets
-
Preprocessing: Making Data Easier to Digest
-
What Data Formats Do Other AI Models Use?
-
Creating JSONL Datasets
-
Comparing Responses: General vs. Fine-Tuned Models
Chapter 3: Deciding on Training Methods
-
The Gap Between Ideal and Reality, Loss Function
-
The Gradient of Loss Function
-
Hyperparameters That Determine How to Train AI
-
Remember These Three: Learning Rate, Batch Size, Epochs
-
The Rate of Learning: Learning Rate
-
The Scale of Data Trained at Once: Batch Size
-
The Number of Times Training is Repeated: Number of Epochs
-
Comparing Hyperparameters of Fine-Tuned Models
-
Summary of Core Class Content
2. Experiencing Fine-Tuning
Focuses on how to apply prompt engineering to real business scenarios.
Chapter 1: Learning While Trying Fine-Tuning
-
Converse with a Scholar from the Colonial Era
-
What is a Base Model?
-
What Process Does Fine-Tuning Complete?
-
Creating a Model Using a Middle-Aged Woman’s Unique Tone
-
Designing JSONL Datasets for Fine-Tuning
-
Data Augmentation with AI
-
Validating the Fine-Tuning Dataset
-
Adjusting Hyperparameters
-
Initiate Fine-Tuning
-
Interacting with Fine-Tuned Models
-
Comparing Base Models and Fine-Tuned Models
Chapter 2: What to Check After Training?
-
Evaluating Fine-Tuned Models
-
A Closer Look at Overfitting
-
Understanding Underfitting
-
What is Training Instability?
-
What is Imbalanced Data?
-
What is Transfer Learning?
-
Reference AI Training Code Example - Part 1
-
Reference AI Training Code Example - Part 2
-
How to Deploy Fine-Tuning Models?
Chapter 3: Fine-Tuning Playground
-
Creating an MBTI Dataset
-
Setting Hyperparameters
-
Initiate MBTI Fine-Tuning
-
Testing Fine-Tuned Models
-
Freely Interacting with Different MBTI Type Models
-
Resources and Communities for Fine-Tuning Learning
-
Comprehensive Recap of Fine-Tuning
-
Epilogue
I hope Clear Guide to Prompt Engineering serves as a great aid in your work and research.