RWKV-paper-reviewer-and-reading-comprehension-wend

我要开发同款
匿名用户2024年07月31日
23阅读
所属分类aiPytorch
开源地址https://modelscope.cn/models/AI-ModelScope/RWKV-paper-reviewer-and-reading-comprehension-wenda-Worldv4-7B-16k
授权协议Apache License 2.0

作品详情

RWKV 7B world focus on reading comprehension

This is a experimental model based on RWKV 7B world.

why this model is special? ===> remove eod, add special token, change vocabs.

this model is used to QA in large texts, do some in context learning with knowledge indexed database.

trainning details

train with this kind of new format,

<s>User: <sys>xxxx\n\n</sys>xxxxx\n\n</s><s>Assistant: xxxxx\n\n</s><s>User: xxxx\n\n</s><s>Assistant: \n\n</s>

so ,use User Assistant as your prefix names. and when inference in RWKV runner, just use the following format is fine.

User: xxxx\n\nAssistant: xxxx\n\n,in which are the test cases used.


to use this model with RWKV runner,some effort needed, copy back-python folder to a new one ,which is in the same folder with rwkv-runner.exe(or the file to run) , then pastin rwkvvocabv20230424.txt into rwkv_pip folder to replace the vocabs file

../py310/python main.py in this new folder, then use RWKV runner setting API to 127.0.0.0.1:8000, and go to 127.0.0.1:8000/docs to switch model using this one

try different temp and topp , 1.2 0.5 may works.

image/png

image/png

image/png

temp 1.2 topp 0.6 image/png

声明:本文仅代表作者观点,不代表本站立场。如果侵犯到您的合法权益,请联系我们删除侵权资源!如果遇到资源链接失效,请您通过评论或工单的方式通知管理员。未经允许,不得转载,本站所有资源文章禁止商业使用运营!
下载安装【程序员客栈】APP
实时对接需求、及时收发消息、丰富的开放项目需求、随时随地查看项目状态

评论