Jump into concepts and practice - no test required
or
Recommended
Test this pattern10 questions across easy, medium, and hard to know if this pattern is strong
Recall & Review
beginner
What is fine-tuning in the context of AI models?
Fine-tuning means adjusting a pre-trained AI model by training it a bit more on a specific task or data to make it better at that task.
Click to reveal answer
beginner
What does prompt engineering involve?
Prompt engineering is about carefully writing or designing the input text (prompt) to guide an AI model to give the best possible answer without changing the model itself.
Click to reveal answer
intermediate
When should you choose fine-tuning over prompt engineering?
Choose fine-tuning when you need the model to deeply understand a special task or data that is very different from what it learned before, or when prompt engineering can't get good enough results.
Click to reveal answer
intermediate
What are the benefits of prompt engineering compared to fine-tuning?
Prompt engineering is faster, cheaper, and doesn't need extra training. It works well when you want quick changes or when the task is similar to what the model already knows.
Click to reveal answer
intermediate
Give an example scenario where fine-tuning is preferred.
If you want an AI to understand medical reports in a special format that it hasn’t seen before, fine-tuning with medical data helps the model learn those details better than just changing the prompt.
Click to reveal answer
Which method involves changing the input text to guide the AI model's output?
APrompt engineering
BFine-tuning
CModel architecture redesign
DData cleaning
✗ Incorrect
Prompt engineering means crafting the input prompt to get better answers without changing the model.
When is fine-tuning usually necessary?
AWhen you have no data for training
BWhen you want to quickly test different prompts
CWhen the task is very different from the model's original training
DWhen you want to reduce model size
✗ Incorrect
Fine-tuning helps the model learn new, specific tasks that differ from its original training.
What is a key advantage of prompt engineering over fine-tuning?
AIt changes the model weights
BIt requires no extra training
CIt needs large datasets
DIt takes longer to implement
✗ Incorrect
Prompt engineering works by changing inputs, so no extra training is needed.
Which approach is better for adapting a model to a very specialized domain with unique data?
AFine-tuning
BPrompt engineering
CUsing default prompts
DRandom guessing
✗ Incorrect
Fine-tuning adjusts the model to understand specialized data better.
If you want to quickly improve AI responses without retraining, what should you do?
ACollect more data
BFine-tune the model
CChange the model architecture
DUse prompt engineering
✗ Incorrect
Prompt engineering allows quick improvements by changing the input prompts.
Explain the main differences between fine-tuning and prompt engineering.
Think about what changes: the model or the input?
You got /4 concepts.
Describe a situation where fine-tuning is necessary and why prompt engineering would not be enough.
Consider tasks very different from the model's original training.
You got /4 concepts.
Practice
(1/5)
1. What is the main difference between fine-tuning a model and prompt engineering?
easy
A. Fine-tuning is faster than prompt engineering.
B. Fine-tuning changes the prompt format, while prompt engineering changes the model's weights.
C. Fine-tuning changes the model's knowledge, while prompt engineering changes how you ask questions.
D. Prompt engineering requires retraining the model.
Solution
Step 1: Understand fine-tuning
Fine-tuning means adjusting the model's internal settings (weights) to better fit specific data or tasks.
Step 2: Understand prompt engineering
Prompt engineering means changing the way you ask the model questions without changing the model itself.
Final Answer:
Fine-tuning changes the model's knowledge, while prompt engineering changes how you ask questions. -> Option C
Quick Check:
Fine-tune = model change, prompt engineer = question change [OK]
5. You have a chatbot that answers general questions well but struggles with your company's product details. You want to improve it quickly without retraining. What should you do?
hard
A. Ignore product details and focus on general answers.
B. Use prompt engineering to add product info in the questions.
C. Replace the chatbot with a new model.
D. Fine-tune the entire model with product manuals.
Solution
Step 1: Identify constraints
You want a quick improvement without retraining the model.
Step 2: Choose the best approach
Prompt engineering lets you add product info in questions to guide the model without retraining.
Final Answer:
Use prompt engineering to add product info in the questions. -> Option B
Quick Check:
Quick fix without retrain = prompt engineering [OK]
Hint: Quick fix without retrain? Use prompt engineering [OK]