按年被提到
20232023 · 7 次2026
大模型与语言模型›提示工程与输出稳定性·arXiv:2305.15334 · cs.CL

Gorilla: Large Language Model Connected with Massive APIs

Gorilla:连接海量 API 的大语言模型
Shishir G. Patil, Tianjun Zhang, Xin Wang, Joseph E. Gonzalez · 2023

微调 LLaMA 写 API 调用,配合检索,准确率超过 GPT-4

开始阅读 ↗PDFalphaXiv 讨论
被推荐 · 5 人首次 2023-05-25 · 最近 2023-09-11
5不同的人
3活跃月份
7讨论串
460被引(OpenAlex)

发布基于 LLaMA 微调的 Gorilla,在编写 API 调用上超过 GPT-4,针对大模型常见的参数错误和幻觉式误用 API 的问题。配合文档检索器后,它能适应测试时的文档变化与版本更新,并明显减轻幻觉。作者还提出由 HuggingFace、TorchHub、TensorHub API 构成的评测集 APIBench。

HN 为什么提它

HN 上的人把它当作调用 API 时幻觉更少的方案,以及「7B 小模型针对特定任务微调后也能做得很好」的例子,并拿来与其他 LLM 工具调用工作对比。

方法难度 3 / 5约 35 分钟有时效性
读之前最好知道
1大语言模型微调
2检索增强生成(RAG)
3API 与工具调用(tool use)
4LLaMA 与指令微调

HN 书评

推荐在前,同类按时间 · 每篇最多保留 20 条,统计用全部提及
推荐dinvlad · 2023-06

“FWIW there’s this paper that just came out, and promises a low hallucination factor (not quite for pentesting, but this could be a useful starting point)”

推荐 Gorilla 作为起点,它号称幻觉很少
OpenAI Cybersecurity Grant Program原评论 ↗
引用anon373839 · 2023-06

“2. Gorilla: Large Language Model Connected with Massive APIs”

列为例子:连接海量 API 的 LLM
Falcon 40B LLM (which beats Llama) now Apache 2.0原评论 ↗
引用anon373839 · 2023-06

“The 7B size can perform very well when tuned on a specific menu of tasks:”

拿它作例子,说明 7B 模型针对特定任务调优后可以很好
RedPajama 7B (an Apache 2.0-licensed LLaMa) is now available原评论 ↗
引用anon373839 · 2023-06

“Gorilla: Large Language Model Connected with Massive APIs”

列为小模型的例子:连接海量 API 的 LLM
OpenLLaMA 13B Released原评论 ↗
引用pplonski86 · 2023-09

“Gorilla: Large Language Model Connected with Massive APIs Gorilla”

贴出 Gorilla 作为可与 RestGPT 对比的相关工作
被提交为 story · 2 次