AI Lab 04: LLM Parameter Tuning & Hallucination Observation

Lab Objectives

  • Understand the core nature of Large Language Models (LLMs): They are not databases of facts, but statistical engines that predict the "next most likely piece of text (Token)."
  • Experiment with and understand how core control parameters (Temperature and Top P) affect the AI's creativity and stability.
  • Core Task: Induce "Hallucinations" (confident but false statements) by giving the AI tricky prompts and tweaking extreme parameters, then document how these parameters directly alter the output.

5-Hour Schedule & Step-by-Step Breakdown

🎯 Pro-Tips for Students (How to Avoid Common Pitfalls)

  • Keep an Eye on Your Tokens: The Playground operates on a "Pay-as-you-go" logic (though new accounts usually receive free test credits). Always monitor your token usage in the bottom right corner. If you receive a "Rate limit reached" error, simply wait a few minutes before trying again.
  • Isolate Your Variables: In any scientific experiment, controlling variables is crucial. When testing the effects of Temperature, keep Top P locked at 1.0. When testing Top P, keep Temperature locked. Do not change both at the same time, or you won't know which parameter caused the output to change!

© 2026 Air Supply Information Center (Air Supply BBS)