Comments (5)
会不会是把"your persona:"后面的内容提取出来,加到了knowledge_field_values里面进行训练?
from knover.
需要用户自己在数据处理的时候,把知识相关的放到新增knowledge列上,knover现在是不会自动处理的
另外需要调整model config的json文件中的type_vocab_size,设置为3,后面会用type_id=2单独表示knowledge
至于样例数据中的”your persona:“前缀,是期望模型自己学习具备分辨knowledge的能力,也是另一种区分knowledge的方案
from knover.
@sserdoubleh 谢谢。我再确认三个问题。
1,人设信息和knowledge毕竟还不太一样,把人设放到knowledge列,能学出来合适的人设吗?
2,代码里加入knowledge时分了pre_src和post_src,放前面或者后面有什么区别吗?
3,如果不做knowledge列,用您说的第二个方案,在数据中加”your persona:“前缀,期望模型自己学习分辨knowledge的能力,这个效果怎么样?
from knover.
- 没明白人设信息和knowledge有啥不一样?这里只是用一个特定的type_id区分了人设、对话历史以及回复
- 这主要是对齐不同的数据处理方式,可能会影响模型的效果
- 这两个方案其实从实际使用的角度上看,效果不会差太多的,我在PersonaChat上做过实验,用type_id区分效果有好一点点
from knover.
@sserdoubleh 感谢分享你的经验。1说的人设是指人的性格,比如说我给出人设是中二男生,或者傲娇女王,后面模仿他们的口吻做成对话语料。希望模型学到特定性格d人物的说话方式。但我仔细想了一下,这和knowledge是完全不一样的,说话方式是根据所有训练语料学来的.这里的knowledge是基于内容的。
from knover.
Related Issues (20)
- Plato-KAG部署环境下如何输入topic和knowledge
- 请问Link theWorld这个论文中2.1节Service Information的service API是如何构建的
- Plato-KAG文档 HOT 1
- 加载数据时发现报错[WARN] Invalid example: context too long / no context - Example HOT 2
- WARN,读数据时显示context过长或无content HOT 1
- 使用single_gpu训练报错TypeError: __new__() got multiple values for argument data_id HOT 4
- PLATO stage-1训练之后output里没有输出 HOT 1
- InvalidArgumentError: Broadcast dimension mismatch HOT 2
- PLATO stage1训练发现内存一直在增长,训练到9w步后,出现内存溢出,这是什么原因? HOT 4
- PLATO-KAG生成的回复能否使用NSP模型的score排序 HOT 2
- 关于PLATO-KAG模型部署后的回答生成 HOT 2
- Release of training code for QKConv HOT 11
- KAG训练中mean_mlm_ce指标的意义是什么 HOT 2
- KAG训练中mean_mlm_ce指标的意义是什么
- lr scheduler参数设置 HOT 4
- Changing the allowed maximum conversation length in Plato-2 HOT 1
- Using PLATO-XL for inference on 3 or more GPUs HOT 2
- Methods of PLATO-KAG pre-training for other languages
- 训练plato2.2L
- AG-DST模型开源了吗 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from knover.