Instructions to use lmbsoft/distilbert-base-uncased-finetuned-squad with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lmbsoft/distilbert-base-uncased-finetuned-squad with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="lmbsoft/distilbert-base-uncased-finetuned-squad")# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("lmbsoft/distilbert-base-uncased-finetuned-squad") model = AutoModelForQuestionAnswering.from_pretrained("lmbsoft/distilbert-base-uncased-finetuned-squad", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from lmbsoft/distilbert-base-uncased-finetuned-squad: direct link, hf CLI and curl.
- Browser
- Download file 712 kB
-
https://huggingface.co/lmbsoft/distilbert-base-uncased-finetuned-squad/resolve/main/tokenizer.json
- Command line
-
hf download hf://lmbsoft/distilbert-base-uncased-finetuned-squad/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/lmbsoft/distilbert-base-uncased-finetuned-squad/resolve/main/tokenizer.json
712 kB
File too large to display, you can check the raw version instead.