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