Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

训练时报错,请问下competition_train.db是做什么的, #22

Open
Viserion-nlper opened this issue Nov 21, 2023 · 1 comment
Open

Comments

@Viserion-nlper
Copy link

请问下competition_train.db是做什么的呢?
我在熟读您的代码的时候,有几个疑问:
1、Preprocessing中:
image
这些official_*.db是干嘛的?可以替换吗?
└── txt_db
├── hfl
│   └── chinese-bert-wwm-ext
│   ├── external_pretrain.db
│   ├── official_dev.db
│   ├── official_out.db
│   ├── official_ran.db
│   ├── official_sim.db
│   ├── official_test.db
│   └── official_train.db
└── visualjoyce
└── chengyubert_2stage_stage1_wwm_ext -> ../hfl/chinese-bert-wwm-ext
这些db文件没有下载路径,麻烦解答下哈,感谢

@Vimos
Copy link
Member

Vimos commented Nov 24, 2023

都是生成的tokenize之后的ids文件,通过preprocess生成的,如果不需要这一步,可以跳过去直接tokenize之后传递给模型

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants