模型微调与适配

题集来源:AMIT SHEKHAR(amitshekhariitbhu)收录项目:ai-engineering-interview-questions查看原题集

题目目录

32 道原题
  1. What is fine-tuning, and when should you fine-tune an LLM?

    原题
  2. Explain the difference between full fine-tuning and parameter-efficient fine-tuning (PEFT).

    原题
  3. What is LoRA (Low-Rank Adaptation), and how does it work?

    原题
  4. What is QLoRA, and how does it enable fine-tuning on consumer hardware?

    原题
  5. How does fine-tuning work?

    原题
  6. Explain Prefix Tuning and Prompt Tuning. How are they different from LoRA?

    原题
  7. What is adapter-based fine-tuning?

    原题
  8. Explain the difference between pre-training, supervised fine-tuning (SFT), and preference optimization (RLHF/DPO).

    原题
  9. What is RLHF (Reinforcement Learning from Human Feedback), and how is it used to align LLMs?

    原题
  10. What is Deep RL from Human Preferences, the paper that started RLHF?

    原题
  11. Why did DPO displace PPO-based RLHF at many labs? When is online RL still better?

    原题
  12. What is instruction tuning, and why is it important for chat models?

    原题
  13. How do you prepare a dataset for fine-tuning an LLM?

    原题
  14. What is catastrophic forgetting, and how do you prevent it during fine-tuning?

    原题
  15. When should you choose fine-tuning over RAG over prompt engineering?

    原题
  16. How do you evaluate a fine-tuned model's performance?

    原题
  17. What is synthetic data generation, and how do you use it for fine-tuning?

    原题
  18. What are the key hyperparameters for fine-tuning (learning rate, epochs, batch size, LoRA rank)?

    原题
  19. Do the GPU memory math for full fine-tuning a 7B model in bf16 with Adam. Now with LoRA and QLoRA.

    原题
  20. How do you fine-tune a model for a specific domain (legal, medical, finance)?

    原题
  21. What is continual pre-training, and when would you use it?

    原题
  22. How do you merge multiple LoRA adapters?

    原题
  23. What is the difference between SFT (Supervised Fine-Tuning) and alignment training?

    原题
  24. What is RLAIF (RL from AI Feedback), and how does it differ from RLHF?

    原题
  25. What is Constitutional AI, and how does it differ from RLHF?

    原题
  26. What is RLVR (Reinforcement Learning with Verifiable Rewards), and when does it beat a learned reward model?

    原题
  27. What is knowledge distillation for fine-tuning, and what are the legal considerations?

    原题
  28. Your fine-tuned LLM produces factually wrong outputs due to training data quality issues. How do you fix it?

    原题
  29. You must choose between LoRA and full fine-tuning for a domain-specific assistant. How do you decide?

    原题
  30. Your fine-tuned model memorized training data verbatim instead of learning patterns. How do you fix overfitting?

    原题
  31. Your fine-tuned LLM forgot its general capabilities after domain-specific fine-tuning. How do you fix catastrophic forgetting?

    原题
  32. Your RLHF preference data has low annotator agreement. How do you ensure data quality?

    原题