How to use nlp-group/sindi-bert-final with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="nlp-group/sindi-bert-final")
# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("nlp-group/sindi-bert-final") model = AutoModelForQuestionAnswering.from_pretrained("nlp-group/sindi-bert-final")
How to fix it?