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

indicBERT-hi-be-MLM-SQuAD-TyDi-MLQA Model Card

Use a pipeline as a high-level helper

from transformers import pipeline

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

Load model directly

from transformers import AutoTokenizer, AutoModelForQuestionAnswering

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