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