Instructions to use hf-tiny-model-private/tiny-random-OPTForSequenceClassification 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-OPTForSequenceClassification 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-OPTForSequenceClassification")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("hf-tiny-model-private/tiny-random-OPTForSequenceClassification") model = AutoModelForSequenceClassification.from_pretrained("hf-tiny-model-private/tiny-random-OPTForSequenceClassification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from hf-tiny-model-private/tiny-random-OPTForSequenceClassification: direct link, hf CLI and curl.
- Browser
- Download file 107 kB
-
https://huggingface.co/hf-tiny-model-private/tiny-random-OPTForSequenceClassification/resolve/refs%2Fpr%2F1/model.safetensors
- Command line
-
hf download hf://hf-tiny-model-private/tiny-random-OPTForSequenceClassification@refs/pr/1/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/hf-tiny-model-private/tiny-random-OPTForSequenceClassification/resolve/refs%2Fpr%2F1/model.safetensors
107 kB
- Xet hash:
- 1528c4cc67b728d0160e30b1129e76a369d9c35c59c8afb036b408e8d4e9309d
- Size of remote file:
- 107 kB
- SHA256:
- 71168cf7ce8e0dd198dbde1fc60c10843b159853d36633f012a9f18381ad6c74
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.