跳到正文
数字商店
原文
Rohan Paul· @rohanpaul_ai · X·· 21 天前AI 评分38
AI 导读

一项针对自然语言推理任务的新研究发现,小型开源大语言模型使用简短直接的提示词搭配少量示例,即可匹敌此前复杂的提示和采样技巧。研究在 3 个数据集上测试了 Gemma 2 9B、Mistral 7B 和 Llama 3.1 8B 等 5 款模型,Mistral 7B 超过了此前在上下文采样方法取得的 63.4% MNLI 准确率。

正文 · 原文

This paper finds that a short, direct prompt with a few examples (In-Context Learning) lets small open LLMs match more complex prompting methods on natural language inference.

The task, called NLI, asks whether one sentence follows from another, contradicts it, or is unrelated. Earlier LLM work on it leaned on complex prompting and sampling tricks, assuming more examples help.

They tested 5 small open models, including Gemma 2 9B, Mistral 7B and Llama 3.1 8B, on 3 NLI datasets. Each got 1 short, direct prompt with 0 to 15 examples and no reasoning steps.

Mistral 7B beat the 63.4% MNLI accuracy that a published in-context sampling method got with the same model. Gemma 2, Llama 3.1 and Mistral scored about the same with 1 example or 15 on MNLI and SciTail.

来源:Rohan Paul · x.com