Instructions to use hf-internal-testing/tiny-random-SqueezeBertForSequenceClassification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-SqueezeBertForSequenceClassification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="hf-internal-testing/tiny-random-SqueezeBertForSequenceClassification")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-SqueezeBertForSequenceClassification") model = AutoModelForSequenceClassification.from_pretrained("hf-internal-testing/tiny-random-SqueezeBertForSequenceClassification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from hf-internal-testing/tiny-random-SqueezeBertForSequenceClassification: direct link, hf CLI and curl.
- Browser
- Download file 328 kB
-
https://huggingface.co/hf-internal-testing/tiny-random-SqueezeBertForSequenceClassification/resolve/refs%2Fpr%2F3/model.safetensors
- Command line
-
hf download hf://hf-internal-testing/tiny-random-SqueezeBertForSequenceClassification@refs/pr/3/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/hf-internal-testing/tiny-random-SqueezeBertForSequenceClassification/resolve/refs%2Fpr%2F3/model.safetensors
328 kB
- Xet hash:
- dcba6a093ec95296c2937c0b650e27c9c81374fe5391acc1c27cd5e9fb51da0b
- Size of remote file:
- 328 kB
- SHA256:
- 93bc103955c49d1206e90b5a72c8634dc332ed6c5a8fe7044f79866da3e0f9c7
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.