Training in progress epoch 2 ca8fe59
Mysha Nahiyan Shemontee commited on
How to use Myndaaa/bert-finetuned-squad with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="Myndaaa/bert-finetuned-squad") # Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("Myndaaa/bert-finetuned-squad")
model = AutoModelForQuestionAnswering.from_pretrained("Myndaaa/bert-finetuned-squad", device_map="auto")