legacy-datasets/wikipedia
Updated โข 123k โข 632
How to use arabi-elidrisi/ArabicDistilBERT_QA with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="arabi-elidrisi/ArabicDistilBERT_QA") # Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("arabi-elidrisi/ArabicDistilBERT_QA")
model = AutoModelForQuestionAnswering.from_pretrained("arabi-elidrisi/ArabicDistilBERT_QA")