This model is a fine-tuned version of bert-base-arabertv02 on an expert-annotated Arabic Machine Reading Comprehension (MRC) dataset
ArQuAD
, for the MRC task.
model = AutoModelForQuestionAnswering.from_pretrained("AyaZJaradat/arabert-base-v02-finetuned-MRC")
tokenizer = AutoTokenizer.from_pretrained("AyaZJaradat/arabert-base-v02-finetuned-MRC")
We use the ArQuAD dataset to fine-tune the model, with 12,816 rows of training.
We removed the diacritics in the data before starting training.
We used the testing data from ArQuAD with 1602 rows.
We used the Exact Match (EM) and the F1-score to evaluate the model using the script of SQuAD.