Comments (1)
可以根据Knover/README.md
( https://github.com/PaddlePaddle/Knover/blob/master/README.md )的提示准备好语料,可以使用sentencepiece工具( https://github.com/google/sentencepiece )处理生成词表,格式可以参照./package/dialog_en/voca.txt
与./package/dialog_en/spm.model
;或者使用已有的中文词表,如果是使用其他的Tokenizer(不是sentencepiece tokenizer),可以通过修改./utils/tokenization.py
,参考SentencePiecieTokenizer
的实现实现对应的Tokenizer(比如叫BasicTokneizer
),在配置中的train_args中指定Tokenizer即可(加一行train_args="--tokenizer BasicTokenizer"
)
Line 124 in 15d5279
训练的具体操作与配置也可以参照
Knover/README.md
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.