We can't find the internet
Attempting to reconnect
Something went wrong!
Attempting to reconnect
Learn enough embeddings, evals, quantization, and LoRA/QLoRA to follow RAG and fine-tuning discussions — without becoming an ML researcher overnight.
Part 2 of 3 · ← Previous: practical LLM map · Next: LLM tools & ERPNext
In the first post I shared a practical map of LLMs for full-stack engineers: tokens and context, chat “memory,” and the four levers — prompting, RAG, agents/tools, and fine-tuning.
The next wall is vocabulary. APIs, JSON schemas, and UIs felt familiar. Embeddings, training loops, evaluation metrics, quantization, and LoRA / QLoRA did not. The hardest stretch for me was neural network concepts.
This post is for busy engineers who need enough of that vocabulary to follow what they’re reading and building.
Felt familiar
Felt foreign
As a backend/frontend engineer, it helps to recognize this shift. You are not starting from scratch — you are adding a new layer of ML concepts and terminology to skills you already have.
My working rule: first learn enough to follow the pipeline, then go into details.
You do not need to master neural network math before you can understand RAG or ship a tool-calling demo. You do need short, accurate definitions so terms stop being fog.
Dense vectors that represent information such as text in a way that captures useful semantic relationships. Similar meanings often land closer in vector space, depending on the embedding model and similarity measure. That is why embedding-based retrieval can “search by meaning,” not only by keywords.
As an engineer: think index + similarity search, with vectors instead of (or alongside) classic search.
How you know whether retrieval or answers are any good. Without evals, you are tuning by vibes. More on mindset below. As a software engineer, I already know the importance of tests.
Store and run model weights in lower precision (for example 8-bit or 4-bit). You can often trade a small amount of quality for fitting larger models on limited GPUs and reducing memory and inference cost. The actual quality impact depends on the quantization method and model.
As an engineer: compression with a quality budget.
LoRA (Low-Rank Adaptation) trains small adapter matrices instead of updating every weight — much cheaper than full fine-tuning. QLoRA keeps the base model quantized and trains LoRA adapters on top, allowing large models to be fine-tuned with less memory and less compute.
Treat these as “efficient transfer learning for LLMs,” not as something you must implement on day one.
When people say “forward pass, loss, backward pass, optimizer,” they mean:
predict → measure how wrong → compute gradients → update the weights
Language models typically predict a distribution over next tokens; training pushes probability toward the right tokens.
That is enough to follow fine-tuning discussions. Go deeper on architectures, gradients, and hyperparameters when you feel confident about the basics and ready to explore more.
Do not trust vibes alone.
Especially with RAG, separate two questions:
You will see retrieval measures such as Precision@K, Recall@K, MRR, and nDCG, and approaches such as LLM-as-judge for evaluating answers. These are useful signals, not perfect ground truth. You do not need to memorize formulas on day one. You need to know they exist so you can build a small test set instead of demo-driven confidence.
One discipline line that transfers from any serious engineering: don’t tune on the test set. Keep evaluation data separate from the data you use to develop and tune the system.
| Vocabulary | Mostly serves |
|---|---|
| Embeddings + retrieval evals | RAG |
| Quantization | Running models yourself / fitting hardware |
| LoRA / QLoRA | Fine-tuning |
| Answer evals / LLM-as-judge | All levers — knowing whether you improved anything |
The map from post 1 still holds: prompting, RAG, and tools are often simpler places to start than fine-tuning. The vocabulary in this post is what makes those levers readable in docs, notebooks, and design reviews.
In post 3, I share what we learned from an ERPNext chatbot experiment: how giving an LLM access to ERP data through tools changed it from a general chatbot into something that could answer questions using real purchase and sales order data.
These notes draw on common LLM engineering curricula (for reference: LLM Engineering on Udemy).