Inference
A language model that has only been pretrained to predict the next token on a large text corpus, with no instruction tuning or preference training on top.
A language model that has only been pretrained to predict the next token on a large text corpus, with no instruction tuning or preference training on top. It has broad knowledge but tends to continue whatever text you give it rather than follow a request, so prompts work best as documents to complete or as few-shot examples. Labs often release a base checkpoint next to a chat version, as Meta did with Llama 2 and Llama 2-Chat, and base models are the usual starting point for fine-tuning and RL.
Primary source: arxiv.org
Example
In practice, developers reach for Base Model when they need the capability described above as part of an AI feature or workflow.
Hands-on guides, comparisons, and tutorials that cover Inference.
FAQ
A language model that has only been pretrained to predict the next token on a large text corpus, with no instruction tuning or preference training on top.
Base Model sits in the Inference part of the AI stack. Understanding it helps you make better decisions when building, debugging, and shipping AI features.
Developers Digest publishes tutorials and videos that cover Inference topics including Base Model. Check the blog and YouTube channel for hands-on walkthroughs.
Related
The training objective behind GPT-style language models: given a sequence of tokens, predict a probability distribution over the token that comes next.
Processing multiple prompts or inputs through a model simultaneously rather than one at a time.
Running more next-token-prediction training on an already pretrained model using a large unlabeled corpus from a target domain, such as code, math, medicine, or a new language.

New tutorials, open-source projects, and deep dives on coding agents - delivered weekly.