Skip to main content

Model architecture

A model's architecture is its design: how its parts are arranged and how text flows through them. Architecture decides what kind of work a model is built for, the way a floor plan decides whether a building is a warehouse or a home.

Almost every language model today uses the same design, called the transformer. Its main idea, attention, lets the model weigh each word of the input against all the others, so it keeps track of what "it" or "the contract" refers to across a long passage.

Two kinds of model​

Text-generation modelEmbedding model
What it doesWrites text, one token at a timeTurns a passage into a list of numbers that captures its meaning
Used forAnswers in Chat and touchpointsMaking a Knowledge searchable

In Rational AI​

Settings → AI Model Registry lists each model with its purpose, such as Text gen, Embeddings, or Reranking. Under Default models, the Conversational model writes answers and the Embedding model makes your Knowledge searchable. To choose a model, you don't need its internals: look at its purpose, its context window, its speed, and its cost. See AI Model Registry.