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:
- 6fe2592382c29fe320a8af556a17be087717e00137f674765203785545c66246
- Size of remote file:
- 1.6 MB
- SHA256:
- 661f45fdc1cd102652e53e3cf37b0d6613a21d6197169f8b3974b3c89119b383
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.