hapandya's picture
Update README.md
541fcfc
|
raw
history blame
No virus
594 Bytes
metadata
license: cc
language:
  - hi
  - bn
  - en
metrics:
  - f1
  - exact_match
pipeline_tag: question-answering

mBERT-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/mBERT-hi-be-MLM-SQuAD-TyDi-MLQA")

Load model directly

from transformers import AutoTokenizer, AutoModelForQuestionAnswering

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