Downloads · 30 days
23
0% of all-time downloads
wptoux/albert-chinese-large-qa
albert-chinese-large-qa is a question answering model from wptoux. Use it when the input is a question plus a passage. It is set up for transformers. The card lists the license as apache-2.0.
Albert large QA model pretrained from baidu webqa and baidu dureader datasets.
Downloads · 30 days
23
0% of all-time downloads
All-time downloads
42K
Public
Repo size
190 MB
Likes
12
Public
Click a slice to open those files.
.bin62 MB · 100%
From the Hugging Face model README
Albert large QA model pretrained from baidu webqa and baidu dureader datasets.
We combined the two datasets together and created a new dataset in squad format, including 705139 samples for training and 69638 samples for validation. We finetune the model based on the albert chinese large model.
from transformers import AutoModelForQuestionAnswering, BertTokenizer
model = AutoModelForQuestionAnswering.from_pretrained('wptoux/albert-chinese-large-qa')
tokenizer = BertTokenizer.from_pretrained('wptoux/albert-chinese-large-qa')
Important: use BertTokenizer
Please visit https://github.com/wptoux/albert-chinese-large-webqa for details.