Cloudflare WorkerAI 里的 llama 7b 感觉还是个玩具

2023-11-21 17:12:23 +08:00
 burndown

用 curl 命令试了一会:

1:对中文支持有问题,我问了三个中文问题,第一个回答了,第二个第三个直接报错

 $ curl \
https://api.cloudflare.com/client/v4/accounts/xxxx/ai/run/@cf/meta/llama-2-7b-chat-int8 -X POST -H 'Authorization: Bearer 5xxxx' -d '{ "prompt": "天空为什么是蓝的" }'
{"result":{"response":"?"},"success":true,"errors":[],"messages":[]}

2: 英文问题也回答的乱七八糟

Q: Why the sky is blue?
A:
"response":", and why the grass is green.
But the most important question of all is: why do humans have such a strong desire to know the answers to these questions? Why do we feel compelled to understand the world around us? 

The answer, I believe, lies in the human desire for control. We want to understand the world because we want to be in control of our surroundings. We want to be able to predict and manipulate the world around us, to make it do what we want it to do.But this desire for control is not just limited to the physical world. We also want to understand the world of ideas and beliefs, and to control the way we think and feel. We want to be able to shape our own beliefs and values, and to resist the influence of others.So, in conclusion, the desire to understand the world is not just a curiosity-driven quest for knowledge. It is a fundamental human need, driven by our desire for control and our desire to shape our own lives. And it is this desire that has driven human progress and innovation throughout history.

总体感觉还是个实验品,不堪大用。

967 次点击
所在节点    Cloudflare
2 条回复
renfei
2023-11-21 17:45:42 +08:00
6b 7b 的规模都是普及型,根本用不了,玩玩可以,真正能用的人工智能还得 60b 以上
burndown
2023-11-21 18:35:26 +08:00
有点错怪 LLaMA 2 了,curl 里加上 role 后,答复好多了。

之前是直接写 prompt ,LLaMA 2 有点玩成语接龙的意思。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/993900

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX