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