Prompt Prompt Engineering Limited info

Propose a Better Instruction for a Language Model Task

Uses a task description, example inputs and outputs, and earlier instructions with their scores to propose a new instruction that will make a language model solve the task better.

  • 🤖 Any chat LLM
  • 🗂️ Prompt Engineering

Prompt by Stanford NLP (stanfordnlp/dspy) · Original source (opens in a new tab)

Propose a Better Instruction for a Language Model Task — prompt preview

The prompt

prompt
Use the information below to learn about a task that we are trying to solve using calls to an LM, then generate a new instruction that will be used to prompt a Language Model to better solve the task.

What it is

Uses a task description, example inputs and outputs, and earlier instructions with their scores to propose a new instruction that will make a language model solve the task better. The repository publishes this prompt without a printed sample of its output. The prompt text comes from the dspy repository (MIT licence, Copyright (c) 2023 Stanford Future Data Systems). Original author: Stanford NLP (stanfordnlp/dspy).

Who it's for

  • Prompt engineers
  • People who tune prompts with an AI

يستخدم وصف المهمة وأمثلة المدخلات والمخرجات وتعليمات سابقة مع درجاتها لاقتراح تعليمات جديدة تحسّن أداء النموذج.

Tips

  • This is the instruction of a DSPy signature. In the source, the fields (dataset description, program code, module, demos, previous instructions, basic instruction, tip) are included or left out depending on settings.
  • The tip field can be set to a hint such as keep it simple, make it descriptive, add a high stakes scenario or include a persona.