Skip to content

Glossary: Fine-tuning LLMs

Prompt and completion format

Also written: prompt-completion, prompt and completion

Training data with the messages to read under `prompt` and the answer under `completion`. TRL applies the chat template and masks the prompt automatically for it.

Where the book teaches it

Related terms

Prompt (in a dataset)CompletionJSONL (JSON Lines)