tonytautai home/local-ai/run-local-ai/local-llm/concepts

cat ./concepts.md

Weights, Context, Quantisation, Inference.

A handful of local ai concepts explain almost everything else on this site. None of them needs mathematics. Each one changes a decision you will make about a machine or a model.

Tony Tautai

local ai concepts: the vocabulary before the install

Jargon in this field is mostly a small number of ideas wearing different hats. Once you have the ideas, the hardware pages, the install pages and the comparisons all read as consequences. The term they all hang from is explained at the page on local llm; the ideas themselves are below, in the order they matter.

Weights And Inference

local ai concepts: the vocabulary before the install

A model is a very large collection of numbers, called weights, fixed at the end of training. Inference is the act of running an input through those numbers to get an output. Training is expensive and happens once, elsewhere. Inference is what your machine does every time it reads a document, and it is the only thing a local box needs to be good at. That split is why a mini PC can run a model that took a warehouse of hardware to produce.

Tokens And The Context Window

The model does not see words. It sees tokens, fragments of words, and a page of a contract is many hundreds of them. The context window is how many tokens the model can hold in view at once. A window that fits a whole fourteen-page lease costs memory and time; one that fits a page costs little. Most document work is done page by page for this reason, and the window is a setting you choose, not a fixed property.

Quantisation

local ai concepts: the vocabulary before the install

Storing each weight in fewer bits. The file shrinks, the memory needed shrinks, the speed on a processor rises, and accuracy drops a little. How little is a thing to measure on your own documents rather than assume. Quantisation is why a model that would not fit on a card suddenly does, and why two downloads of the same model can behave differently.

Fine-Tuning And Specialisation

Taking a trained model and training it further on one task. The general knowledge stays; the task gets sharper. This is the idea our company rests on: a general base model becomes a redaction model, or an extraction model, and does that one job far better than before while remaining small enough for the office box. One model per task, several chained together, is what we mean by compound AI.

Where These Lead

local ai concepts: the vocabulary before the install

The trade-offs that follow from these ideas, small against large and local against cloud, are argued in our guide to local ai comparisons. The shortest possible answers to the basic what-is questions are in local ai definitions, explained, and the one-line vocabulary is in local ai terms glossary, explained.

Hold these ideas and the rest of the site needs no translation.

ssh [email protected]

Prove it on your documents.

Every engagement starts the same way: we run the system on a sample of your own files, under NDA/DPA, and hand you a written report with the scores, misses included. No commitment.

Test it on my documents Request a diagnostic