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