AI · Flashcard

What are the two main phases of an LLM's lifecycle?

  • ATraining and inference — first it learns from data, then it generates output
  • BEncoding and decoding — first it compresses text, then it expands it back
  • CIndexing and retrieval — first it stores facts, then it looks them up later
  • DCompiling and running — first it builds the code, then it executes the code

Why this is the answer

An LLM is built in training (weights learned from data) and then used in inference (those weights generate text). The two phases are separate — it doesn't learn while you use it.

Official docs
Study in Gnoseed →