Instructions to use vxbrandon/pruned_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use vxbrandon/pruned_model 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="vxbrandon/pruned_model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("vxbrandon/pruned_model") model = AutoModelForQuestionAnswering.from_pretrained("vxbrandon/pruned_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
Verified signatureThis is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.f794f2a
-
Training in progress, step 13500
60c5fb7 -
Training in progress, step 13000
a3475a4 -
Training in progress, step 12500
764168a -
Training in progress, step 12000
1e04bd2 -
Training in progress, step 11500
b80aec7 -
Training in progress, step 11000
fb6ba9a -
Training in progress, step 10500
1e62698 -
Training in progress, step 10000
e348e09 -
Training in progress, step 9500
3ef20c0 -
Training in progress, step 9000
bc0bec0 -
Training in progress, step 8500
2805bb6 -
Training in progress, step 8000
92e72af -
Training in progress, step 7500
bc32a9d -
Training in progress, step 7000
d98c5ed -
Training in progress, step 6500
3e50517 -
Training in progress, step 6000
dfcf5c3 -
Training in progress, step 5500
3f80577 -
Training in progress, step 5000
dd1b699 -
Training in progress, step 4500
d8880d0 -
Training in progress, step 4000
20d654a -
Training in progress, step 3500
1a6d932 -
Training in progress, step 3000
6175920 -
Training in progress, step 2500
89b03d4 -
Training in progress, step 2000
3b6f155 -
Training in progress, step 1500
5f67e18 -
Training in progress, step 1000
6d8f322 -
Training in progress, step 500
aa472f7 -
Training in progress, step 4000
149baca -
Training in progress, step 3500
403a603 -
Training in progress, step 3000
2e7670f -
Training in progress, step 2500
6ac2976 -
Training in progress, step 2000
210a1b6 -
Training in progress, step 1500
29b1505 -
Training in progress, step 1000
1c44647 -
Training in progress, step 500
ba80297 -
initial commit
885420a