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 pytorch_model.bin from hf-tiny-model-private/tiny-random-DistilBertForSequenceClassification: direct link, hf CLI and curl.
- Browser
- Download file 378 kB
-
https://huggingface.co/hf-tiny-model-private/tiny-random-DistilBertForSequenceClassification/resolve/7d23532ef9725daa0e2efb2775c78ba14341e8ad/pytorch_model.bin
- Command line
-
hf download hf://hf-tiny-model-private/tiny-random-DistilBertForSequenceClassification@7d23532ef9725daa0e2efb2775c78ba14341e8ad/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/hf-tiny-model-private/tiny-random-DistilBertForSequenceClassification/resolve/7d23532ef9725daa0e2efb2775c78ba14341e8ad/pytorch_model.bin
378 kB
- Xet hash:
- 502147b6fcdf55a5131c61c4875121b639474b6f79cef9831553686354673d23
- Size of remote file:
- 378 kB
- SHA256:
- 133bdfe4bd42e03dd2bbf1934f26e88c8740ad24b5f85d342f3293db1ed47c74
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.