Skip to content
Tag

Everything tagged #llm

6 articles, newest first.

InferenceFeb 12, 2025 · 3 min read

CAG Over RAG, When Speed Is the Constraint

RAG searches for information on every turn. CAG pre-computes the KV cache. Where Time-to-First-Token and conversational latency matter, caching flips the architecture.

003 min read
CAG Over RAG, When Speed Is the Constraint
ResearchFeb 05, 2025 · 2 min read

Are LLMs Actually Thinking?

Tokens, vectors, attention, and next-token prediction. What is actually happening underneath something that feels like a conversation.

002 min read
Are LLMs Actually Thinking?
EngineeringDec 25, 2024 · 2 min read

Running Google's Gemma Through Hugging Face

Gemma is capable and open source. Hugging Face is what makes getting to it straightforward.

002 min read
Running Google's Gemma Through Hugging Face
ExperimentsDec 18, 2024 · 3 min read

Fine-Tuning Large Language Models: PEFT, LoRA, and QLoRA in Practice

Full parameter training requires clusters of H100s. Parameter-Efficient Fine-Tuning (PEFT) with low-rank matrix decomposition brings specialized adaptation to a single GPU.

003 min read
Fine-Tuning Large Language Models: PEFT, LoRA, and QLoRA in Practice
EngineeringNov 18, 2024 · 2 min read

Google's Gemini 1.5 Pro API: Multimodal Intelligence and 2M Token Context

Massive context windows, native multimodality, and structured schema outputs: how developers can build production systems on Google AI Studio.

002 min read
Google's Gemini 1.5 Pro API: Multimodal Intelligence and 2M Token Context
EvaluationOct 28, 2024 · 4 min read

How Retrieval-Augmented Generation Works

A vector database, cosine similarity, and an LLM context injection. The mathematical and code mechanics of grounding language models.

004 min read
How Retrieval-Augmented Generation Works