Learn Before
Creating a Task Sample for a Language Model
Imagine you are preparing data to teach a language model how to translate English sentences into French. Create a complete, single task sample for this purpose. Your sample must be broken down into the three required components: an instruction, a specific input, and the corresponding correct output.
0
1
Tags
Ch.4 Alignment - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Creation in Bloom's Taxonomy
Cognitive Psychology
Psychology
Social Science
Empirical Science
Science
Related
A developer is creating a new task to add to a collection used for fine-tuning a large language model. The goal is to teach the model how to classify the sentiment of a movie review. Which of the following options correctly structures this new task sample as a distinct instruction, a specific input to which the instruction is applied, and the corresponding desired output?
A language model is being trained with samples that follow a specific three-part structure. Analyze the following sample and match each label (Instruction, Input, Output) to its corresponding component (Component A, Component B, Component C).
Sample:
- Component A: "Write a one-sentence summary of the following text."
- Component B: "The sun is a star at the center of the Solar System. It is a nearly perfect ball of hot plasma, heated to incandescence by nuclear fusion reactions in its core. The Sun radiates this energy mainly as light, ultraviolet, and infrared radiation, and is the most important source of energy for life on Earth."
- Component C: "The sun, a star at the center of our solar system, is a ball of hot plasma that provides Earth with energy through light and radiation."
Creating a Task Sample for a Language Model