Instructions to use msms/distilbert-base-uncased-finetuned-squad with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use msms/distilbert-base-uncased-finetuned-squad with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("question-answering", model="msms/distilbert-base-uncased-finetuned-squad")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("msms/distilbert-base-uncased-finetuned-squad") model = AutoModelForQuestionAnswering.from_pretrained("msms/distilbert-base-uncased-finetuned-squad", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Model save
f83cd68 -
Training in progress, step 5500
cbc16e6 -
Training in progress, step 5000
e482bae -
Training in progress, step 4500
fe4691d -
Training in progress, step 4000
5c8793a -
Training in progress, step 3500
5b8624e -
Training in progress, step 3000
e836e6c -
Training in progress, step 2500
b06be93 -
Training in progress, step 2000
5a9c340 -
Training in progress, step 1500
5627868 -
Training in progress, step 1000
855d909 -
Training in progress, step 500
df86fac