Instructions to use hf-internal-testing/tiny-random-GPTNeoXForSequenceClassification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-GPTNeoXForSequenceClassification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="hf-internal-testing/tiny-random-GPTNeoXForSequenceClassification")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-GPTNeoXForSequenceClassification") model = AutoModelForSequenceClassification.from_pretrained("hf-internal-testing/tiny-random-GPTNeoXForSequenceClassification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 476ea6e52229ec68de65b988b67542c00e969ba7882f5e6810002e0f33f42ee2
- Size of remote file:
- 1.6 MB
- SHA256:
- 25e9a4752ee9bf47aac5eaa1ee96cd3fc3b5d1da7daf6ec82e426e288fd478e3
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.