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

if i wanna use my own corpus to train the model? #6

Open
marcusau opened this issue Feb 16, 2020 · 1 comment
Open

if i wanna use my own corpus to train the model? #6

marcusau opened this issue Feb 16, 2020 · 1 comment

Comments

@marcusau
Copy link

which portion i have to amend?

@qiufengyuyi
Copy link
Owner

which portion i have to amend?

first,your own data should be like this: one line is a text split by blank,the second line is tag for each character.

海 钓 比 赛 地 点 在 厦 门 与 金 门 之 间 的 海 域 。
O O O O O O O B-LOC I-LOC O B-LOC I-LOC O O O O O O
second ,you should put the orig data file in data/
third,you shoud add your own slot_pattern_list file in data/slot_pattern/
lastly,you could use BaseDataPreparing to preprocessing data ,remember to set gen_new_data=True

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