3 ms·
In the article it says to translate German to English we should use "Incontext learning prompt" like this: Translate the following German sentences into Englis
by m3kw9 4y ago
In the article it says to translate German to English we should use "Incontext learning prompt" like this:
Translate the following German sentences into English:
Example 1:
German: "Ich liebe Eis."
English: "I love ice cream."
Example 2:
German: "Draußen ist es stürmisch und regnerisch"
English: "It's stormy and rainy outside
Translate this sentence:
German:
"Wo ist die naechste Supermarkt?"
Why is this needed when saying "Translate this to German: Hello how are you" just works out of the box?
- williamcotton 4y agoYou’re correct that GPT-3 and later can accomplish such tasks with what is known as a zero-shot approach. In-context learning with few-shot exemplars are needed for things like encouraging responses that adhere to a certain JSON data type.
- deleted 4y ago[deleted]
- potatoman22 4y agoFew-shot learning typically works slightly better than zero-shot learning. Look at tables 3 & 4 in this paper: https://arxiv.org/pdf/2302.09210.pdf https://arxiv.org/pdf/2302.09210.pdf