Example

Examples of Instruction Fine-Tuning Samples

An instruction fine-tuning sample pairs an input with a desired output, and the input can be structured in various formats to train the same task. For example, to teach a model to evaluate grammar, one sample's input might use a direct command like "Read the following sentence, and answer whether it is grammatically correct" followed by the sentence. Another sample's input might present the same sentence as a multiple-choice question, asking "Does this sentence make sense grammatically?" and listing explicit options like "Yes" and "No". In both formats, the corresponding desired output is simply the correct answer, "Yes".

0

1

Updated 2026-04-19

Contributors are:

Who are from:

Tags

Foundations of Large Language Models

Ch.2 Generative Models - Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences