The little non-linear function each neuron applies to its input, letting a network learn curved, complex patterns instead of just straight lines. Without it, stacking layers would be pointless.
Analogy: The bend in the wire — without a kink, ten straight segments are still just one straight line.
A mechanism that lets a model weigh which parts of the input matter most for each piece it's processing. Instead of treating every word equally, it focuses on the ones that are actually relevant.
Analogy: Like reading with a highlighter — you weight the important words and skim the rest.
The number of training examples a model looks at before it updates its weights once. Bigger batches give steadier updates but need more memory; smaller batches update more often and add helpful noise.
Analogy: It's how many flashcards you review before pausing to update your notes.
The maximum amount of text — measured in tokens — a language model can consider at once, covering both your prompt and its reply. Go past it and the earliest tokens fall out of view.
Analogy: It's the model's desk space — only so much paper fits on top at one time.
A way to test a model by splitting the data into several folds, training on most and testing on the rest, then rotating so every fold gets a turn as the test set. You get a sturdier estimate than a single split.
Analogy: Grading with several different pop quizzes instead of betting everything on one big exam.