-
Notifications
You must be signed in to change notification settings - Fork 43
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
作者你好,我想知道使用自己的数据集进行训练的时候,应该进行哪些修改 #26
Comments
我想复现一下您在 https://github.com/taishan1994/pytorch_bert_bilstm_crf_ner 这篇中提到的“补充地址要素抽取实例”,用的数据集是您提到的CCKS2021中文NLP地址要素解析中的数据集,我想知道应该在哪些地方做修改 |
按照这里某个数据集准备好ner_data下面格式就行。 |
我将其中的数据集处理为这样的格式: |
{"id": "AT1372", "text": ["故", "障", "现", "象", ":", "怠", "速", "时", "车", "辆", "排", "出", "的", "尾", "气", "进", "检", "测", "线", "不", "合", "格", "。"], "labels": ["O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-故障设备", "I-故障设备", "O", "O", "O", "O", "B-故障原因", "I-故障原因", "I-故障原因", "O"]} |
No description provided.
The text was updated successfully, but these errors were encountered: