Glossary
Terms used in LLM distillation and small language models, and what they mean for running a task in production.
- Agentic task
- A task where the model decides which of your tools to call, with what inputs, and when to stop and answer, such as looking up an order before it replies. With SpecificAI’s Auto Distillation Platform, you can create an SLM that replaces the LLM in your agent: you keep your harness and swap the model.
- Auto Distillation Platform
- Software that runs the whole distillation pipeline for a task: building the training data, labeling it with a teacher LLM, choosing a base model, training it and evaluating it against the LLM. A new task needs only a prompt and any data you have.
- Base model
- The pretrained open-weight model a task-specific model starts from. SpecificAI picks the base model for each task, such as a BERT-family encoder for classification or a small generative model for summarization.
- Benchmark
- A set of examples you trust, kept out of training and used only to score the model and the LLM it’s compared with. Also called an evaluation set or test set. A model scored on data it trained on looks better than it will be in production. If you don’t upload one, SpecificAI holds back 10% of the training data as the benchmark.
- Classification
- One of the task types supported by SpecificAI: assigning each input to one of a fixed set of categories, such as which team a support request goes to or whether an email is phishing. Intent routing, triage and tagging are all classification tasks.
- Content generation
- One of the task types supported by SpecificAI, in which the model writes the output from the input, the way your LLM does today: free text, or a JSON object with the fields you define.
- CPU inference
- Running a model on standard server processors instead of GPUs. Small task-specific models are often fast enough on CPU, which removes the cost and capacity limits of GPU hosting.
- Decision model
- A language model that classifies the content you send. You ask it a question and get back an answer in a fixed form: how likely a statement is to be true, which of the options you listed fits best, or a score on a scale you define. Examples include OpenAI’s Decisions API, Google’s Gemini Decision 1 and TypeSafe AI’s Jev.
- Distillation
- Training a small model (the student) to reproduce the outputs of a larger model (the teacher) on a task. Also called knowledge distillation. The student keeps the teacher’s behavior on that task at a fraction of the size and cost.
- Domain expert
- The person who knows what a task should produce, such as a support lead for ticket routing or a compliance officer for document review. With SpecificAI’s platform, domain experts build the models and review samples where their feedback helps most.
- Encoder model
- A model that turns text into a representation used to make a prediction about it, such as BERT. Encoder models are small and fast, and suit classification and entity extraction.
- Entity extraction
- One of the task types supported by SpecificAI: finding the facts you need in free text, such as names, dates, amounts or product codes, and returning them as structured fields. Also called entity recognition or named entity recognition (NER).
- F1 score
- A single number that balances precision and recall, used to measure classification and entity extraction. It is high only when the model is both accurate in what it flags and finds most of what it should.
- Fine-tuning
- Continuing to train a pretrained model on examples of one task, so it learns that task. Distillation is fine-tuning where the training labels come from a teacher model.
- Frontier model
- One of the largest and most capable general-purpose LLMs available at a given time, usually reached through a vendor’s API. Frontier models make good teachers because they handle a wide range of tasks well.
- Generative model
- A model that writes its output one token at a time, such as Llama or Qwen. SpecificAI uses small generative models as base models for summarization, content generation and agentic tasks.
- Harness
- The code that runs an AI agent: it sends the model the system prompt and tool definitions, runs the tool calls the model makes, passes back the results and decides when to stop. An agent’s results depend on the harness as well as the model.
- Large language model (LLM)
- A general-purpose language model trained on a very large amount of text to predict the next word, which lets it handle many tasks from a prompt. “Large” refers to the scale of the model and its training data, not a set number of parameters. LLMs are the fastest way to a working prototype and the usual teacher in distillation.
- Latency
- The time from sending a request to getting the model’s answer. Small models on local hardware avoid both the network round trip and the queueing of a shared LLM API.
- LLM-as-a-judge
- An evaluation technique in which an LLM scores another model’s output against written criteria, such as accuracy or completeness. It is used where there is no single correct answer to compare against, such as a summary or other generated text, and where metrics that count overlapping words, such as BLEU, miss whether the output is good. With SpecificAI’s platform, the same judge scores the small model and the LLM on the benchmark, so their scores can be compared directly.
- Model inference
- Running a trained model on new input to get an output. Training happens once, but inference runs on every request for as long as the task is in production, so it determines what the task costs and how fast it responds. Through an API, you pay per use; self-hosted, you pay for the machines it runs on. A smaller model needs less compute per request, which is why distillation cuts both cost and latency, and why most SpecificAI models can run on CPUs.
- Precision and recall
- Two measures used for classification and entity extraction. Precision is the share of the model’s answers that are right; recall is the share of the right answers the model finds.
- Prompt
- The instructions and context sent to an LLM with each request. With SpecificAI’s platform, the prompt that describes a task is where building its small model starts.
- Retraining
- Training a model again when its inputs or the task change, so its answers stay correct. SpecificAI compares each retrained version with the LLM before you deploy it.
- Self-hosting
- Running a model on infrastructure you control, such as your private cloud or on-prem servers, instead of calling a vendor’s API. Your data stays in your environment and a provider’s model update never changes your results.
- SLM Factory
- SpecificAI’s Auto Distillation Platform. It lets domain experts build many small language models (SLMs) quickly, one for each task their LLM handles today. Each production-grade SLM is ready in days, with no data science project behind it.
- Small language model (SLM)
- A language model that is a small fraction of the size of a frontier LLM. It is less capable than an LLM across general tasks, but on the task it was trained for, it can beat or match the LLM. SpecificAI’s platform builds an SLM for each of your tasks.
- Soft labeling
- Training a model on the teacher’s confidence in each answer, not only on the answer itself. A hard label says an email is phishing; a soft label says the teacher thinks it is 85% likely phishing and 15% likely safe. That shows the student which examples are borderline and which answers are close, which a single answer hides, so it learns more from each example. On SpecificAI’s platform, classification and entity extraction models learn from both the teacher’s answers and its confidence in them, where the teacher reports it.
- SpecificAI
- SpecificAI’s Auto Distillation Platform enables any domain expert to distill task-specific LLM calls into small language models (SLMs) in days, and the SLMs beat or match the LLM on the task. Cost and latency can drop by up to 99%, enabling many models to run on a CPU or low-cost GPU.
- Student model
- The small model trained in distillation to reproduce the teacher’s outputs on a task. With SpecificAI’s platform, the student is an SLM that you deploy in place of the LLM.
- Summarization
- One of the task types supported by SpecificAI: turning long documents, tickets or threads into short summaries in a set format, such as issue, status and next step for a support handoff.
- Synthetic data
- Training examples generated by a model instead of collected from real use. It fills gaps when you have little or no data for a task.
- Task-specific model
- A model trained to do one well-defined task, such as routing support requests, instead of everything an LLM can do. Narrowing the task is what lets a small model beat or match the LLM on that task.
- Teacher model
- The larger model whose outputs a student model learns from in distillation. Usually the LLM that handles the task today.