google-research / bert

TensorFlow code and pre-trained models for BERT
https://arxiv.org/abs/1810.04805
Apache License 2.0
38.11k stars 9.6k forks source link

How to use SQuAD for chinese (Close-Domain)QA task #927

Open weinixuehao opened 4 years ago

weinixuehao commented 4 years ago

I have three questions First: Can i directly use SQuAD for chinese (Close-Domain)QA task?

Second: Is it the best solution to use run_squda.py to fine tune bert model with chinese dataset which format same as SQuAD dataset? if "First" is not possible!

ps: Where to look for chinese dataset same as SQuAD dataset If I finally use the second solution?

zhiyongLiu1114 commented 3 years ago

你有试过吗?我现在看run_squad.py源码,似乎需要修改一下读取文件的方式,源码是空格分隔的,是用来读取英文的