Cloudflare WorkerAI 里的 llama 7b 感觉还是个玩具 - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
burndown
V2EX    Cloudflare

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

  •  
  •   burndown 2023-11-21 17:12:23 +08:00 1320 次点击
    这是一个创建于 689 天前的主题,其中的信息可能已经有所发展或是发生改变。

    用 curl 命令试了一会:

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

     $ curl \ https://api.cloudflare.com/client/v4/accounts/xxxx/i/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. 

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

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

    之前是直接写 prompt ,LLaMA 2 有点玩成语接龙的意思。
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     3055 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 21ms UTC 11:46 PVG 19:46 LAX 04:46 JFK 07:46
    Do have faith in what you're doing.
    ubao snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86