Instructions to use TuringGame/gpt2-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TuringGame/gpt2-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="TuringGame/gpt2-classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("TuringGame/gpt2-classifier") model = AutoModelForSequenceClassification.from_pretrained("TuringGame/gpt2-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
End of training
Verified signature8d52be0 -
Training in progress, step 782
Verified signatureee9207c -
Training in progress, step 711
Verified signature1bbe3d6 -
Training in progress, step 632
Verified signaturefc3e3fb -
Training in progress, step 553
Verified signaturee546aa6 -
Training in progress, step 474
Verified signatureddc21d0 -
Training in progress, step 395
Verified signaturea0ef79f -
Training in progress, step 316
Verified signature32a2867 -
Training in progress, step 237
Verified signature2eb0ef4 -
Training in progress, step 158
Verified signature75d8baf -
Training in progress, step 79
Verified signature05a002c