Sankalp's Notesnotes.sankalpsaxena.live

Reference

Glossary

Every technical term from the notes, in one place. 54 terms so far — it grows each week.

A

AI (Artificial Intelligence)
Computer systems doing "smart" tasksAgentic AI · Week 01 · §0
API
A way for your code to send requests to another company's systemAgentic AI · Week 01 · §7
API key
A secret password for using an APIAgentic AI · Week 01 · §7
Attention
How each token decides which other tokens matter for its meaningAgentic AI · Week 01 · §3

B

Base model
A model after pre-training only: continues text, doesn't act as an assistantAgentic AI · Week 01 · §4

C

Chain-of-thought
Asking the model to reason step by step before answeringAgentic AI · Week 01 · §9
Context window
The maximum number of tokens a model can look at in one requestAgentic AI · Week 01 · §6

D

Deep learning
Machine learning using neural networks with many layersAgentic AI · Week 01 · §0

E

Effort
A setting that controls how much a model thinks before answeringAgentic AI · Week 01 · §5, 9
Environment variable
A value stored in your terminal session, used to keep API keys out of codeAgentic AI · Week 01 · §7

F

Few-shot
Including a few examples in your promptAgentic AI · Week 01 · §9
Fine-tuning
Extra training on a smaller, special set of examplesAgentic AI · Week 01 · §4

G

GPU
A computer chip that does thousands of calculations at onceAgentic AI · Week 01 · §3

H

Hallucination
A confident answer that is falseAgentic AI · Week 01 · §1

K

Key / Query / Value
The three things each token creates for attentionAgentic AI · Week 01 · §3
Knowledge cutoff
The date after which the model has no informationAgentic AI · Week 01 · §1, 6

L

Layer
One stage of a neural network. Input passes through layers in order.Agentic AI · Week 01 · §0
LLM (Large Language Model)
A huge neural network trained on text to predict the next tokenAgentic AI · Week 01 · §0, 1

M

Machine learning
AI that learns from examples instead of hand-written rulesAgentic AI · Week 01 · §0
max_tokens
The longest answer allowed, in tokensAgentic AI · Week 01 · §7
Model
The thing that has learned. Input in, output out.Agentic AI · Week 01 · §0
Multi-head attention
Running attention many times in parallel, each looking for different linksAgentic AI · Week 01 · §3

N

Neural network
A model made of layers of adjustable numbers (parameters)Agentic AI · Week 01 · §0

P

Parameters
The adjustable numbers ("knobs") inside a neural networkAgentic AI · Week 01 · §0
Pre-training
Stage 1 of training: learning language by predicting the next tokenAgentic AI · Week 01 · §4
Probability
A chance, written as a percentageAgentic AI · Week 01 · §1
Prompt
The text you send to the modelAgentic AI · Week 01 · §7
Prompt caching
Reusing work for a repeated start of a request to save cost (not memory)Agentic AI · Week 01 · §6
Prompt engineering
Writing prompts that reliably get the answer you wantAgentic AI · Week 01 · §8
Prompt injection
Hiding instructions inside data to take control of the modelAgentic AI · Week 01 · §8

R

RAG (Retrieval-Augmented Generation)
Automatically finding relevant documents and adding them to the promptAgentic AI · Week 01 · §6
Reasoning model
An LLM trained to think step by step before answeringAgentic AI · Week 01 · §4, 9
Reinforcement learning
Learning from rewards and penaltiesAgentic AI · Week 01 · §0, 4
Reward model
A model that predicts which answers people would preferAgentic AI · Week 01 · §4
RLHF
Reinforcement Learning from Human Feedback: training with people's preferencesAgentic AI · Week 01 · §4
RNN
An older type of language model that read one word at a timeAgentic AI · Week 01 · §3

S

Sampling
Choosing the next token from the probabilitiesAgentic AI · Week 01 · §5
SDK
A code library that makes using an API easyAgentic AI · Week 01 · §7
Self-supervised learning
Learning where the correct answers come from the data itself (the real next word)Agentic AI · Week 01 · §4
Stateless
Remembers nothing between requestsAgentic AI · Week 01 · §6
stop_reason
Why the model stopped writing (end_turn = finished, max_tokens = cut off)Agentic AI · Week 01 · §7
Supervised learning
Learning from examples with correct answersAgentic AI · Week 01 · §0, 4
System prompt
Instructions that set the model's role and rulesAgentic AI · Week 01 · §4, 7

T

Tags
Labels like <ticket>…</ticket> that mark where text starts and endsAgentic AI · Week 01 · §8
Temperature
Setting for how adventurous the next-token choice isAgentic AI · Week 01 · §5
Test set
Example inputs with known correct answers, used to score promptsAgentic AI · Week 01 · §10
Token
A piece of text (word, part of a word, or symbol) the model works withAgentic AI · Week 01 · §2
Tokenizer
The tool that cuts text into tokensAgentic AI · Week 01 · §2
Top-k
Only consider the k most likely tokensAgentic AI · Week 01 · §5
Top-p
Only consider the most likely tokens until they add up to pAgentic AI · Week 01 · §5
Training
Adjusting a model's parameters using examples until it gets goodAgentic AI · Week 01 · §0
Transformer
The design behind modern LLMs, built around attentionAgentic AI · Week 01 · §3

U

Unsupervised learning
Finding patterns in data without correct answersAgentic AI · Week 01 · §0

Z

Zero-shot
Asking the model to do a task with no examplesAgentic AI · Week 01 · §9