Transformers How to use MMars/Question_Answering_AraBERT_xtreme_ar with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="MMars/Question_Answering_AraBERT_xtreme_ar") # Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("MMars/Question_Answering_AraBERT_xtreme_ar")
model = AutoModelForQuestionAnswering.from_pretrained("MMars/Question_Answering_AraBERT_xtreme_ar")