|
EXPLANATION
Instead of describing what you want, you show it. Rather than writing instructions like "be concise, use plain language, avoid jargon", you give the model 2-3 examples of exactly that, and it pattern-matches to your standard. WHY IT WORKS Language models are fundamentally pattern recognisers. When you provide examples, you're not just giving instructions — you're calibrating the model to your specific taste. It picks up on things you'd struggle to articulate: rhythm, vocabulary level, how much white space you use, where you put the punchline. |
FÖRKLARING
Istället för att beskriva vad du vill ha – visar det. I stället för att skriva instruktioner som ”var koncis, använd ett enkelt språk, undvik jargong” ger du modellen två–tre exempel som faktiskt uppfyller dessa kriterier. Modellen kan då känna igen mönstret och anpassa sitt resultat till den kvalitetsnivå du vill uppnå. VARFÖR DET FUNGERAR Språkmodeller är i grunden mönsterigenkännare. När du ger exempel ger du inte bara instruktioner – du kalibrerar modellen mot din specifika smak och kvalitetsstandard. Den fångar upp sådant som ofta är svårt att sätta ord på: rytm, vokabulärnivå, hur mycket luft du lämnar i texten och var du placerar poängen eller punchlinen. |
The basic anatomy of a few-shot prompt
|
Here are three examples of how I write my emails
[Example 1] [Example 2] [Example 3] Now write an email for the following content: [new content] NB! If your examples are inconsistent with each other, the model averages them, and you get something that looks like none of them. Your examples need to agree on the thing that matters most. |
Här är tre exempel på hur jag formulerar mina mejl
[Exempel 1] [Exempel 2] [Exempel 3] Skriv nu ett mejl utifrån följande innehåll: [nytt innehåll] OBS! Om dina exempel är inkonsekventa sinsemellan kommer modellen att ”medelvärdesbilda” dem, vilket resulterar i något som inte riktigt liknar något av dem. Dina exempel behöver därför vara samstämmiga i det som är viktigast. |
|
Zero, one, and few shots
|
Zero, one, and few shots
|