Reciprocal Ranking Fusion
This is an idea where the ranking from multiple systems are fused together to get a better ranking.
RoPE
RoPE stands for Rotational Positional Embedding.
AI Agent Levels
Agents and Assistants
BM25
BM means Best Match which is a family of retrieval functions.
Chat Templates
Chat templates are a model feature.
Code Mode
This is a concept that really confuses sometimes.
Continuous Batching
It's an implementation detail of the inference engine achieve the following goals.
CPU GPU Communication
GPU is just another peripheral
Embedding models
Embedding turns text, images, or videos into numbers.
Feed Forward Networks
Feed Forward Networks also known as Multi Layer Perceptron(MLP) is the block that's part of every layer
Flash Attention
In a normal attention mechanism,
GPU Components
1. SM - Streaming Multiprocessor is the compute unit on the GPU.
Inference Engines
GPU isn't mandatory to host models.
K V Cache
The LLM models have no idea about K V Cache.
LLM Architecture
The page only tries to compile a high level understanding of the LLM architecture.
LoRA
LoRA means Low Rank Adapter.
Paged Attention
Normal attention kernels waste both compute and memory.
Quantization
Quantization is a process of converting a free flowing sequence of values into specific buckets.
Sampling
Sampler is the part of the architecture that picks the next token from the list of tokens.
Speculative Decoding
The standard way of decoding
Terminologies
In the field of prompt engineering, there are many terminologies.
Thinking
When the request context contains only a `` tag, this is enough for the LLM to understand
Tools
1. Toolformer - Process where the model is fine-tuned to use tools.
Training
Training an LLM has two goals.
Vocabulary
Every model contains two things - tokenizer and vocabulary.