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