Jump to content

Prompt engineering for text generation: Difference between revisions

No edit summary
Line 88: Line 88:


==Zero-shot Prompting==
==Zero-shot Prompting==
[[Zero-shot Prompting]] involves giving the model a [[task description]]/[[instruction]] and directly asking it for a result. It does not show the model any [[examples]].
[[Zero-shot prompting]] involves giving the model a [[task description]]/[[instruction]] and directly asking it for a result. It does not show the model any [[examples]].


<poem style="border: 1px solid; padding: 1rem">
<poem style="border: 1px solid; padding: 1rem">
Input (task description/instruction): Who was the president of United States in 1999?
'''Input (task description/instruction):''' Who was the president of United States in 1999?
Output:  
'''Output:'''
</poem>
</poem>


370

edits