Math & training · Glossary term

What is Hyperparameter?

A configuration choice that shapes model structure, optimization, data processing, or inference rather than being learned as an ordinary model parameter. Examples include learning rate, batch size, layer count, and decoding settings.

What people say

“A setting you tune.”

What is the common confusion about Hyperparameter?

Some hyperparameters are selected before training, while others can be changed during a schedule or at inference time.

Learn Hyperparameter in the course

Lessons that name Hyperparameter in a title or section

  • Hyperparameter Tuning

    Hyperparameters are the knobs you turn before training starts. Turning them well is the difference between a mediocre model and a great one.

    Phase 02: ML Fundamentals

  • Optimization

    Training a neural network is nothing more than finding the bottom of a valley. Language: Python Implement vanilla gradient descent, SGD with momentum, and Adam from scratch.

    Phase 01: Math Foundations

  • Optimizers

    Gradient descent tells you which direction to move. It says nothing about how far or how fast. SGD is a compass. Adam is GPS with traffic data.

    Phase 03: Deep Learning Core

  • MDPs, States, Actions & Rewards

    A Markov Decision Process is five things: states, actions, transitions, rewards, a discount. Everything in RL — Q-learning, PPO, DPO, GRPO — optimizes over this shape.

    Phase 09: Reinforcement Learning

  • Instruction Tuning (SFT)

    A base model predicts the next token. That's it. It doesn't follow instructions, answer questions, or refuse harmful requests. SFT is the bridge between a token predictor and a useful assistant.

    Phase 10: LLMs from Scratch

Covered in Phase 01: Math Foundations, Phase 02: ML Fundamentals, Phase 03: Deep Learning Core, Phase 09: Reinforcement Learning and Phase 10: LLMs from Scratch.

  • ParameterA value learned during training, commonly a weight, bias, embedding element, or normalization parameter.
  • Learning RateA scale factor used by an optimizer to control parameter-update magnitude. Values that are too large can destabilize training; values that…
  • Batch SizeThe number of examples whose losses contribute to one gradient estimate before an optimizer update.
  • TemperatureA decoding parameter that rescales logits before a probability distribution is formed.
  • UnderfittingA model or training setup has insufficient effective capacity, optimization, features, or training signal to capture useful patterns in…

More terms in Math & training

Open the Math & training list in the glossary

This entry comes from glossary/terms.md on GitHub. Browse all 250 glossary terms.