Logo
  • 🤖 Design Assistant
  • 🚀 Start here!
  • 🤓 Tutorials
  • 🧠 Content Planning
  • 💬 Project, Scene, Flow!
  • 🗣 Performance
  • 📈 Dashboard
  • Resources
Member Login
5.3. Few-shot Prompting

5.3. Few-shot Prompting

Welcome to SOP Guides

1. Introduction1. Introduction2. Team Structure2. Team Structure

3. Process Flow

3.1. Module Learning & Experience Design3.1. Module Learning & Experience Design3.2. Individual Flow Design3.2. Individual Flow Design3.3. Narrative Design & Skills Mapping3.3. Narrative Design & Skills Mapping3.4. New Assets Creation3.4. New Assets Creation3.5. Annex: World Building - Learning & Experience Design3.5. Annex: World Building - Learning & Experience Design3.6. Annex: World Building - Story Design3.6. Annex: World Building - Story Design3.7. Process Flow Conclusion3.7. Process Flow Conclusion

4. Caveats

4. Caveats4. Caveats

5. LLM Prompt Engineering Techniques

5.1. Use The Latest Model5.1. Use The Latest Model5.2. Zero-shot Prompting5.2. Zero-shot Prompting5.3. Few-shot Prompting5.3. Few-shot Prompting5.4. Chain-Of-Thought Prompting5.4. Chain-Of-Thought Prompting5.5. Structuring Prompts5.5. Structuring Prompts5.6. Describing Prompts5.6. Describing Prompts5.7. Editing Prompts5.7. Editing Prompts5.8. Extending Responses5.8. Extending Responses5.9. Multiple Users Collaborating5.9. Multiple Users Collaborating

6. Text-to-Image Prompting Engineering Techniques

6.1. General Techniques6.1. General Techniques6.2. Photography6.2. Photography6.3. Architecture6.3. Architecture6.4. Various Aesthetic Styles6.4. Various Aesthetic Styles6.5. Product & Material6.5. Product & Material

5.3. Few-shot Prompting

It refers to the ability of a model to understand and generate appropriate responses to a given input after being provided with a small number of examples or training data for that specific task or prompt.

In few-shot prompting, the model leverages its general understanding of language and knowledge acquired during the pre-training phase, as well as the limited examples provided, to generate meaningful responses to new prompts. This approach allows AI models to quickly adapt to new tasks with minimal additional training, demonstrating their flexibility and capacity to handle a wide range of situations and problems.

icon
Prompt:

Demonstration 1:

Input: "happy"

Output: "joyful, content, delighted"

Demonstration 2:

Input: "cold"

Output: "chilly, freezing, frosty"

New Prompt:

Input: "quick"

icon
Output:

"fast, rapid, swift"

Start with zero-shot, then few-shot (example), neither of them worked, then fine-tune.

← Previous

5.2. Zero-shot Prompting

Next →

5.4. Chain-Of-Thought Prompting

On this page:

  • 5.3. Few-shot Prompting
TSU
YouTubeX