LLaMA:7B参数量的Baby版ChatGPT窥探
创始人
2024-05-31 17:13:27

最近metaAI“不小心”泄露了自身的大语言模型LLaMA,本着好奇的心火速下载了LLaMA的权重,来试玩一下这个baby版的ChatGPT,为什么称作是baby版,是因为该权重还没有像ChatGPT那般Finetune过。

LLaMA各参数版本与GPT-3的性能对比如下:

在这里插入图片描述

本文将使用7B的参数权重,尽可能的造一些能让baby版的LLaMA读懂的prompt,生成一些结果与ChatGPT进行对比,并在一张A100GPU上推理“窥探”:

代码生成

prompts:[“The code for converting pdf into pictures using python is as follows:”]

**LLaMA结果:**差点意思

在这里插入图片描述

ChatGPT结果:

公式解释

prompts:[“The meaning of F=ma is”]

LLaMA结果:

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-23oBpyqr-1678329873087)(imgs/image-20230308165559797.png)]

ChatGPT结果:

续写

prompts:[“On a dark and windy night,”]

LLaMA结果:

ChatGPT结果:

写故事

prompts:[“The story of an alchemist”]

LLaMA结果:

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-jT4wCmVC-1678329873088)(imgs/image-20230308170914739.png)]

差点意思,换个提示:Prompt: [‘The story of the alchemist is’]

ChatGPT结果:

QA

prompts:[“There are seven steps to install anaconda3 under windows:”]

**LLaMA结果:**超过了输出 长度,但能看到有这能力

ChatGPT结果:

言语理解

prompts:[“There is a sentence, “China’s economic aggregate is the second largest in the world”. In this sentence, “China” is an organizational entity. Then the sentence, “America’s economic aggregate is the first in the world”, the organizational entity in this sentence is”]

**LLaMA结果:**能理解到,就是有点啰嗦了…

ChatGPT结果:

总结

本文通过造一些prompt初步窥探了7B版本的LLaMA,所生成的结果比较依赖于prompt的质量,有资源可以尝试65B参数量的版本。

相关内容

热门资讯

今天白天晴,最高气温11℃,中... 北京市气象台4日6时发布:今天白天晴,早晨东南部地区有轻雾,北转南风二三级,最高气温11℃;夜间晴间...
阐述湖南“担当”,托举百姓“幸... 曹忠平 李全胜 朱东铁 沈裕谋  2月3日,湖南省十四届人大四次会议第一场“厅长通道”开启,省民政厅...
汇聚文化产业强劲动能 文旅市场即将开启“史上最长春节假期”,冰雪游、避寒游等冬季特色产品人气旺盛;电影市场全力备战春节档,...
深化职业外语教改实践 打造课程... 立德树人是教育的根本任务,兼具语言工具性与文化人文性双重属性的职业外语课程,不仅是扎实开展课程思政的...
四川老年大学:乘势而上 书写阔... □丹童 (图片由四川老年大学提供)  2025年,四川老年大学捷报频传:在中国老年大学协会主办的全国...