# mej7.com > mej7.com is a free interactive educational website in English and Albanian for learning how modern AI and large language models work: tokens, embeddings, attention, transformers, training, an advanced track, and a mechanistic interpretability curriculum. Visualizations are simplified teaching models, not production model weights. Independent project by Mehdi Sadriu. No ranking or LLM-recommendation guarantees. ## Index - mej7.com home (English): https://mej7.com/ - mej7.com home (Albanian): https://mej7.com/sq/ - Beginner path: https://mej7.com/en/beginner/path/ - Mechanistic interpretability curriculum: https://mej7.com/en/mechanistic-interpretability/curriculum/ - Glossary: https://mej7.com/en/glossary/ - About: https://mej7.com/en/about/ - Methodology: https://mej7.com/en/methodology/ - Sources: https://mej7.com/en/sources/ - Changelog: https://mej7.com/en/changelog/ - Contact: https://mej7.com/en/contact/ - Guides: https://mej7.com/en/learn/ - Intermediate lab: https://mej7.com/en/intermediate/ - Advanced: https://mej7.com/en/advanced/ - Mech interp hub: https://mej7.com/en/mechanistic-interpretability/ - What is artificial intelligence?: https://mej7.com/en/beginner/what-is-ai/ - How do AI models learn?: https://mej7.com/en/beginner/how-ai-learns/ - What are tokens?: https://mej7.com/en/beginner/tokens/ - How does a language model choose the next word?: https://mej7.com/en/beginner/next-word-guess/ - What happens between your click and the reply?: https://mej7.com/en/beginner/following-a-message/ - Does a language model think or feel?: https://mej7.com/en/beginner/does-ai-think/ - Why is a language model sometimes wrong?: https://mej7.com/en/beginner/why-ai-is-wrong/ - What should you learn after the beginner path?: https://mej7.com/en/beginner/what-to-learn-next/ - What is the residual stream in a transformer?: https://mej7.com/en/mechanistic-interpretability/residual-stream/ - What are attention heads and QK/OV circuits?: https://mej7.com/en/mechanistic-interpretability/attention-heads-qk-ov/ - What are induction heads?: https://mej7.com/en/mechanistic-interpretability/induction-heads/ - What are superposition and polysemanticity?: https://mej7.com/en/mechanistic-interpretability/superposition-and-polysemanticity/ - What are sparse autoencoders (SAEs)?: https://mej7.com/en/mechanistic-interpretability/sparse-autoencoders/ - What is activation patching?: https://mej7.com/en/mechanistic-interpretability/activation-patching/ - What are the logit lens and the tuned lens?: https://mej7.com/en/mechanistic-interpretability/logit-lens/ - What is probing in interpretability?: https://mej7.com/en/mechanistic-interpretability/probing/ - What is a circuit in mechanistic interpretability?: https://mej7.com/en/mechanistic-interpretability/circuits/ - What is the difference between features and neurons?: https://mej7.com/en/mechanistic-interpretability/features-vs-neurons/ - What is grokking?: https://mej7.com/en/mechanistic-interpretability/grokking/ - What are the limits of current mechanistic interpretability?: https://mej7.com/en/mechanistic-interpretability/limitations/ - Artificial intelligence: https://mej7.com/en/glossary/artificial-intelligence/ - Machine learning: https://mej7.com/en/glossary/machine-learning/ - Deep learning: https://mej7.com/en/glossary/deep-learning/ - Neural network: https://mej7.com/en/glossary/neural-network/ - Neuron: https://mej7.com/en/glossary/neuron/ - Weight: https://mej7.com/en/glossary/weight/ - Bias (parameter): https://mej7.com/en/glossary/bias-parameter/ - Parameter: https://mej7.com/en/glossary/parameter/ - Activation: https://mej7.com/en/glossary/activation/ - Activation function: https://mej7.com/en/glossary/activation-function/ - ReLU: https://mej7.com/en/glossary/relu/ - GELU: https://mej7.com/en/glossary/gelu/ - Softmax: https://mej7.com/en/glossary/softmax/ - Logit: https://mej7.com/en/glossary/logit/ - Loss: https://mej7.com/en/glossary/loss/ - Cross-entropy: https://mej7.com/en/glossary/cross-entropy/ - Gradient: https://mej7.com/en/glossary/gradient/ - Gradient descent: https://mej7.com/en/glossary/gradient-descent/ - Backpropagation: https://mej7.com/en/glossary/backpropagation/ - Learning rate: https://mej7.com/en/glossary/learning-rate/ - Overfitting: https://mej7.com/en/glossary/overfitting/ - Generalization: https://mej7.com/en/glossary/generalization/ - Training set: https://mej7.com/en/glossary/training-set/ - Test set: https://mej7.com/en/glossary/test-set/ - Batch: https://mej7.com/en/glossary/batch/ - Epoch: https://mej7.com/en/glossary/epoch/ - Language model: https://mej7.com/en/glossary/language-model/ - Large language model: https://mej7.com/en/glossary/large-language-model/ - Token: https://mej7.com/en/glossary/token/ - Tokenization: https://mej7.com/en/glossary/tokenization/ - Byte-pair encoding: https://mej7.com/en/glossary/byte-pair-encoding/ - Vocabulary: https://mej7.com/en/glossary/vocabulary/ - Embedding: https://mej7.com/en/glossary/embedding/ - Embedding space: https://mej7.com/en/glossary/embedding-space/ - Context window: https://mej7.com/en/glossary/context-window/ - Next-token prediction: https://mej7.com/en/glossary/next-token-prediction/ - Pretraining: https://mej7.com/en/glossary/pretraining/ - Fine-tuning: https://mej7.com/en/glossary/fine-tuning/ - Instruction tuning: https://mej7.com/en/glossary/instruction-tuning/ - RLHF: https://mej7.com/en/glossary/rlhf/ - Prompt: https://mej7.com/en/glossary/prompt/ - Completion: https://mej7.com/en/glossary/completion/ - Hallucination: https://mej7.com/en/glossary/hallucination/ - Temperature: https://mej7.com/en/glossary/temperature/ - Sampling: https://mej7.com/en/glossary/sampling/ - Assistant: https://mej7.com/en/glossary/assistant/ - Base model: https://mej7.com/en/glossary/base-model/ - Transformer: https://mej7.com/en/glossary/transformer/ - Encoder: https://mej7.com/en/glossary/encoder/ - Decoder: https://mej7.com/en/glossary/decoder/ - Attention: https://mej7.com/en/glossary/attention/ - Self-attention: https://mej7.com/en/glossary/self-attention/ - Causal attention: https://mej7.com/en/glossary/causal-attention/ - Multi-head attention: https://mej7.com/en/glossary/multi-head-attention/ - Attention head: https://mej7.com/en/glossary/attention-head/ - Query: https://mej7.com/en/glossary/query/ - Key: https://mej7.com/en/glossary/key/ - Value: https://mej7.com/en/glossary/value/ - QK circuit: https://mej7.com/en/glossary/qk-circuit/ - OV circuit: https://mej7.com/en/glossary/ov-circuit/ - Scaled dot-product attention: https://mej7.com/en/glossary/scaled-dot-product-attention/ - Positional encoding: https://mej7.com/en/glossary/positional-encoding/ - RoPE: https://mej7.com/en/glossary/rope/ - Residual connection: https://mej7.com/en/glossary/residual-connection/ - Residual stream: https://mej7.com/en/glossary/residual-stream/ - Layer normalization: https://mej7.com/en/glossary/layer-normalization/ - MLP layer: https://mej7.com/en/glossary/mlp-layer/ - Feed-forward network: https://mej7.com/en/glossary/feed-forward-network/ - Unembedding: https://mej7.com/en/glossary/unembedding/ - d_model: https://mej7.com/en/glossary/d-model/ - d_head: https://mej7.com/en/glossary/d-head/ - KV cache: https://mej7.com/en/glossary/kv-cache/ - FlashAttention: https://mej7.com/en/glossary/flashattention/ - Mixture of experts: https://mej7.com/en/glossary/mixture-of-experts/ - Router: https://mej7.com/en/glossary/router/ - LoRA: https://mej7.com/en/glossary/lora/ - Quantization: https://mej7.com/en/glossary/quantization/ - Mechanistic interpretability: https://mej7.com/en/glossary/mechanistic-interpretability/ - Feature: https://mej7.com/en/glossary/feature/ - Polysemanticity: https://mej7.com/en/glossary/polysemanticity/ - Monosemanticity: https://mej7.com/en/glossary/monosemanticity/ - Superposition: https://mej7.com/en/glossary/superposition/ - Circuit: https://mej7.com/en/glossary/circuit/ - Induction head: https://mej7.com/en/glossary/induction-head/ - Previous-token head: https://mej7.com/en/glossary/previous-token-head/ - In-context learning: https://mej7.com/en/glossary/in-context-learning/ - Activation patching: https://mej7.com/en/glossary/activation-patching/ - Causal tracing: https://mej7.com/en/glossary/causal-tracing/ - Ablation: https://mej7.com/en/glossary/ablation/ - Knockout: https://mej7.com/en/glossary/knockout/ - Path patching: https://mej7.com/en/glossary/path-patching/ - Probing: https://mej7.com/en/glossary/probing/ - Linear probe: https://mej7.com/en/glossary/linear-probe/ - Logit lens: https://mej7.com/en/glossary/logit-lens/ - Tuned lens: https://mej7.com/en/glossary/tuned-lens/ - Sparse autoencoder: https://mej7.com/en/glossary/sparse-autoencoder/ - Dictionary learning: https://mej7.com/en/glossary/dictionary-learning/ - Sparsity: https://mej7.com/en/glossary/sparsity/ - L1 penalty: https://mej7.com/en/glossary/l1-penalty/ - Feature splitting: https://mej7.com/en/glossary/feature-splitting/ - Faithfulness: https://mej7.com/en/glossary/faithfulness/ - Steering: https://mej7.com/en/glossary/steering/ - Representation engineering: https://mej7.com/en/glossary/representation-engineering/ - Attribution graph: https://mej7.com/en/glossary/attribution-graph/ - Transcoder: https://mej7.com/en/glossary/transcoder/ - Universality hypothesis: https://mej7.com/en/glossary/universality-hypothesis/ - IOI circuit: https://mej7.com/en/glossary/ioi-circuit/ - Name mover head: https://mej7.com/en/glossary/name-mover-head/ - S-inhibition head: https://mej7.com/en/glossary/s-inhibition-head/ - Grokking: https://mej7.com/en/glossary/grokking/ - Fourier features: https://mej7.com/en/glossary/fourier-features/ - Linear representation hypothesis: https://mej7.com/en/glossary/linear-representation-hypothesis/ - Direction: https://mej7.com/en/glossary/direction/ - Subspace: https://mej7.com/en/glossary/subspace/ - Toy model: https://mej7.com/en/glossary/toy-model/ - TransformerLens: https://mej7.com/en/glossary/transformerlens/ - SAELens: https://mej7.com/en/glossary/saelens/ - Neuronpedia: https://mej7.com/en/glossary/neuronpedia/ - CircuitsVis: https://mej7.com/en/glossary/circuitsvis/ - nnsight: https://mej7.com/en/glossary/nnsight/ - Activation cache: https://mej7.com/en/glossary/activation-cache/ - Hook: https://mej7.com/en/glossary/hook/ - Reverse engineering: https://mej7.com/en/glossary/reverse-engineering/ - Black box: https://mej7.com/en/glossary/black-box/ - Explainable AI (XAI): https://mej7.com/en/glossary/explainable-ai/ - Saliency: https://mej7.com/en/glossary/saliency/ - Attention pattern: https://mej7.com/en/glossary/attention-pattern/ - Layer index: https://mej7.com/en/glossary/layer-index/ - Head index: https://mej7.com/en/glossary/head-index/ - MLP neuron: https://mej7.com/en/glossary/mlp-neuron/ - Feature dashboard: https://mej7.com/en/glossary/feature-dashboard/ - Latent: https://mej7.com/en/glossary/latent/ - Dead feature: https://mej7.com/en/glossary/dead-feature/ - Shrinkage: https://mej7.com/en/glossary/shrinkage/ - Hydra effect: https://mej7.com/en/glossary/hydra-effect/ - Self-repair: https://mej7.com/en/glossary/self-repair/ - ROME: https://mej7.com/en/glossary/rome/ - Sparse probing: https://mej7.com/en/glossary/sparse-probing/ - Sparse feature circuit: https://mej7.com/en/glossary/sparse-feature-circuit/ - Linear representation: https://mej7.com/en/glossary/linear-representation/ - Residual update: https://mej7.com/en/glossary/residual-update/ - Write vector: https://mej7.com/en/glossary/write-vector/ - Read vector: https://mej7.com/en/glossary/read-vector/ - Orthogonal: https://mej7.com/en/glossary/orthogonal/ - Dot product: https://mej7.com/en/glossary/dot-product/ - Softmax temperature (attention): https://mej7.com/en/glossary/softmax-temperature-attention/ - Pre-norm: https://mej7.com/en/glossary/pre-norm/ - Post-norm: https://mej7.com/en/glossary/post-norm/ - GPT-2 small: https://mej7.com/en/glossary/gpt2-small/ - ARENA: https://mej7.com/en/glossary/arena/ - Dictionary size: https://mej7.com/en/glossary/dictionary-size/ - Reconstruction loss: https://mej7.com/en/glossary/reconstruction-loss/ - Feature absorption: https://mej7.com/en/glossary/feature-absorption/ - Interpretability illusion: https://mej7.com/en/glossary/interpretability-illusion/ - Causal mediation: https://mej7.com/en/glossary/causal-mediation/ - Mean ablation: https://mej7.com/en/glossary/mean-ablation/ - Clean run: https://mej7.com/en/glossary/clean-run/ - Corrupted run: https://mej7.com/en/glossary/corrupted-run/ - Indirect object identification: https://mej7.com/en/glossary/indirect-object-identification/ - Modular addition: https://mej7.com/en/glossary/modular-addition/ - Progress measure: https://mej7.com/en/glossary/progress-measure/ - Logit difference: https://mej7.com/en/glossary/logit-difference/ - Direct logit attribution: https://mej7.com/en/glossary/direct-logit-attribution/ - Layer: https://mej7.com/en/glossary/layer/ - Position: https://mej7.com/en/glossary/position/ - Vocabulary space: https://mej7.com/en/glossary/vocabulary-space/ - Concept: https://mej7.com/en/glossary/concept/ - Refusal direction: https://mej7.com/en/glossary/refusal-direction/ - Safety feature: https://mej7.com/en/glossary/safety-feature/ - Teaching model: https://mej7.com/en/glossary/teaching-model/ - Citation: https://mej7.com/en/glossary/citation/ - Last reviewed: https://mej7.com/en/glossary/last-reviewed/ - Word2vec: https://mej7.com/en/glossary/word2vec/ - Self-supervised learning: https://mej7.com/en/glossary/self-supervised-learning/ - Few-shot: https://mej7.com/en/glossary/few-shot/ - Zero-shot: https://mej7.com/en/glossary/zero-shot/ - Autoregressive: https://mej7.com/en/glossary/autoregressive/ - Bidirectional: https://mej7.com/en/glossary/bidirectional/ - BERT: https://mej7.com/en/glossary/bert/ - Masked language model: https://mej7.com/en/glossary/masked-language-model/ - Adam: https://mej7.com/en/glossary/adam/ - Regularization: https://mej7.com/en/glossary/regularization/ - Dropout: https://mej7.com/en/glossary/dropout/ - Weight decay: https://mej7.com/en/glossary/weight-decay/ - Inference: https://mej7.com/en/glossary/inference/ - Forward pass: https://mej7.com/en/glossary/forward-pass/ - Backward pass: https://mej7.com/en/glossary/backward-pass/ - Matrix multiplication: https://mej7.com/en/glossary/matrix-multiplication/ - Linear map: https://mej7.com/en/glossary/linear-map/ - Nonlinearity: https://mej7.com/en/glossary/nonlinearity/ - Probability distribution: https://mej7.com/en/glossary/probability-distribution/ - Shannon information: https://mej7.com/en/glossary/shannon-information/ - Perceptron: https://mej7.com/en/glossary/perceptron/ - Corpus: https://mej7.com/en/glossary/corpus/ - Bias (data): https://mej7.com/en/glossary/bias-data/ - ChatGPT: https://mej7.com/en/glossary/chatgpt/ - OpenAI: https://mej7.com/en/glossary/openai/ - Anthropic: https://mej7.com/en/glossary/anthropic/ - Transformer Circuits: https://mej7.com/en/glossary/transformer-circuits/ - Distill: https://mej7.com/en/glossary/distill/ - Alignment Forum: https://mej7.com/en/glossary/alignment-forum/ - LessWrong: https://mej7.com/en/glossary/lesswrong/ - Gemma Scope: https://mej7.com/en/glossary/gemma-scope/ - Claude: https://mej7.com/en/glossary/claude/ - GPT-3: https://mej7.com/en/glossary/gpt-3/ - InstructGPT: https://mej7.com/en/glossary/instructgpt/ - ResNet: https://mej7.com/en/glossary/resnet/ - Convolution: https://mej7.com/en/glossary/convolution/ - PCA: https://mej7.com/en/glossary/pca/ - t-SNE: https://mej7.com/en/glossary/tsne/ - Hooked Transformer: https://mej7.com/en/glossary/hooked-transformer/ - Dataset example: https://mej7.com/en/glossary/dataset-example/ - Held-out prompt: https://mej7.com/en/glossary/held-out-prompt/ - Editorial reading order: https://mej7.com/en/glossary/editorial-reading-order/ The full list with language alternates is in https://mej7.com/sitemap.xml Longer descriptions: https://mej7.com/llms-full.txt