Fine-tuning คือการปรับโมเดลที่ฝึกไว้ล่วงหน้าให้เหมาะกับงานหรือโดเมนเฉพาะ ด้วยการฝึกต่อบนชุดข้อมูลเฉพาะทางที่เล็กกว่า เป็นการปรับแต่งโมเดลทั่วไปให้ตรงกับความต้องการเฉพาะ แม้ว่าในหลายกรณี การทำ prompting หรือ RAG จะง่ายกว่าและเพียงพอ
Fine-tuning คืออะไร
FINE-TUNING → take a PRE-TRAINED model and train it further on YOUR specific data:
→ starts from a general model (already knows a lot) → adapts it to a specific task/domain/style
→ uses a smaller, task-specific dataset (vs training from scratch)
→ produces a customized model specialized for your need
→ customize a general model for specific tasks/domains/styles
เมื่อใดควรใช้ fine-tuning (เทียบกับทางเลือกอื่น)
FINE-TUNING → when you need:
→ a specific STYLE/format/behavior consistently; specialized task performance; a particular
tone/domain
→ and prompting alone isn't enough
ALTERNATIVES (often simpler/better):
→ PROMPTING → for many tasks, good prompts suffice (no training) — try this first
→ RAG → for adding KNOWLEDGE/data → retrieval, not fine-tuning (fine-tuning teaches
behavior/style, not great for injecting facts/knowledge)
→ fine-tuning for BEHAVIOR/style/task adaptation; RAG for KNOWLEDGE; prompting for most things
