Instructions to use Matthijs0/DistilBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Matthijs0/DistilBERT 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="Matthijs0/DistilBERT")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("Matthijs0/DistilBERT") model = AutoModelForQuestionAnswering.from_pretrained("Matthijs0/DistilBERT", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download training_args.bin from Matthijs0/DistilBERT: direct link, hf CLI and curl.
- Browser
- Download file 4.92 kB
-
https://huggingface.co/Matthijs0/DistilBERT/resolve/main/training_args.bin
- Command line
-
hf download hf://Matthijs0/DistilBERT/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/Matthijs0/DistilBERT/resolve/main/training_args.bin
4.92 kB
- Xet hash:
- d257a484ee6ada71104d284c0a2222e4d5bc77d00e518e34f312b7bd8f4e3ea3
- Size of remote file:
- 4.92 kB
- SHA256:
- b2c2a6cc08e675d0504d2c15a6889fe189930e0ce4ed54946bf8107abd5ab71b
路
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.