Lesson 12 of 12 · 2 min
Common Mistakes
| Mistake | Fix |
|---|---|
| Confusing encoder vs decoder | BERT=encoder (understand), GPT=decoder (generate) |
| Ignoring tokenisation differences | Each model has its own tokenizer, use matching one |
| Setting max_length too high on CPU | Large models are slow on CPU; start with small (flan-t5-small) |
| Forgetting trust_remote_code | Some models need trust_remote_code=True |
| Not checking model size | GPT-2=124M params (fast), GPT-3=175B params (API only) |
