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