hapandya's picture
Update README.md
cb545a4
metadata
license: cc
datasets:
  - squad
  - tydiqa
  - mlqa
language:
  - hi
  - te
  - en
pipeline_tag: question-answering

mBERT-hi-te-MLM-SQuAD-TyDi-MLQA Model Card

Use a pipeline as a high-level helper

from transformers import pipeline

pipe = pipeline("question-answering", model="hapandya/mBERT-hi-te-MLM-SQuAD-TyDi-MLQA")

Load model directly

from transformers import AutoTokenizer, AutoModelForQuestionAnswering

tokenizer = AutoTokenizer.from_pretrained("hapandya/mBERT-hi-te-MLM-SQuAD-TyDi-MLQA") model = AutoModelForQuestionAnswering.from_pretrained("hapandya/mBERT-hi-te-MLM-SQuAD-TyDi-MLQA")