rajpurkar/squad
Viewer • Updated • 98.2k • 209k • 454
How to use johnjose223/distilbert_squad with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="johnjose223/distilbert_squad") # Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("johnjose223/distilbert_squad")
model = AutoModelForQuestionAnswering.from_pretrained("johnjose223/distilbert_squad", device_map="auto")This model is a fine-tuned version of distilbert-base-cased on the squad dataset.
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
Base model
distilbert/distilbert-base-cased