模型:
gokulkarthik/xlm-roberta-qa-chaii
任务:
问答XLM-RoBERTa是一个预训练模型,首先在SQUAD数据集(英文)上进行中期预训练,然后在Chaii数据集(泰米尔语,印地语)上进行微调。
from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("gokulkarthik/xlm-roberta-qa-chaii") model = AutoModelForQuestionAnswering.from_pretrained("gokulkarthik/xlm-roberta-qa-chaii")