AI Security · FoundationsTokenizerA model-specific encoder that maps text to token IDs and a decoder that maps IDs back to text. Splits depend on its vocabulary and the surrounding characters.Where you practice itHow LLMs Work: Tokens, Context & InferenceAI Security · AI & LLM FoundationsPractice this lesson →Related termsModel tokenVector SearchTemperatureSupervised Fine-TuningSamplingRetrieval-Augmented GenerationOutput SinkLarge Language ModelInstruct/Chat ModelInference