Fine-tuning は、pre-trained model を smaller, specialized dataset でさらに train し、specific task や domain に適応させることです。general model を特定用途向けに customize します。ただし多くの場合、prompting や RAG の方が簡単で十分です。
fine-tuning とは
text
FINE-TUNING → PRE-TRAINED model を YOUR specific data で further train する:
→ general model から始め、specific task/domain/style に adapt する
→ training from scratch より小さな task-specific dataset を使う
→ need に specialized された customized model を作る
いつ使うか
text
FINE-TUNING → 必要な場合:
→ specific STYLE/format/behavior を一貫して出したい
→ specialized task performance や particular tone/domain が必要
→ prompting alone では足りない
ALTERNATIVES:
→ PROMPTING → 多くの task は good prompts で十分。まず試す
→ RAG → KNOWLEDGE/data を追加するなら retrieval。fine-tuning は facts 注入には向かない
→ fine-tuning は BEHAVIOR/style/task adaptation、RAG は KNOWLEDGE、prompting は most things
