mirror of
https://github.com/velocitatem/raccoon.git
synced 2026-05-31 16:53:37 +00:00
more tips
This commit is contained in:
54
TIPS.md
54
TIPS.md
@@ -1,6 +1,54 @@
|
|||||||
|
|
||||||
# Avoid
|
# Avoid
|
||||||
+ [ ] Putting the parameter at the end of the prompt
|
+ [ ] Putting the parameter at the end of the prompt
|
||||||
|
|
||||||
| Good | Bad |
|
<table>
|
||||||
|-------------------------------------------------------------|--------------------------------------------------|
|
<tr>
|
||||||
| `Predict the capital of the country:\nCountry: {country}\n` | `{country}. Predict the capital of the country:` |
|
<td>Good</td>
|
||||||
|
<td>Bad</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<pre lang="markdown">
|
||||||
|
Predict the capital of the country:
|
||||||
|
Country: {country}
|
||||||
|
</pre>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<pre lang="markdown">
|
||||||
|
{country}. Predict the capital of the country:
|
||||||
|
</pre>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
# Try to
|
||||||
|
+ [ ] Make your prompt _multi-shot_ (i.e. provide examples of what you expect the answer to be given some input)
|
||||||
|
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>Good</td>
|
||||||
|
<td>Bad</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<pre lang="markdown">
|
||||||
|
Country: Czechia
|
||||||
|
Capital: Prague
|
||||||
|
---
|
||||||
|
Country: France
|
||||||
|
Capital: Paris
|
||||||
|
---
|
||||||
|
Predict the capital of the country:
|
||||||
|
Country: {country}
|
||||||
|
</pre>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<pre lang="markdown">
|
||||||
|
Predict the capital of the country:
|
||||||
|
Country: {country}
|
||||||
|
</pre>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|||||||
Reference in New Issue
Block a user