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")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("TuringGame/gpt2-classifier") model = AutoModelForSequenceClassification.from_pretrained("TuringGame/gpt2-classifier") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 632
Browse files- model.safetensors +1 -1
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 497780432
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:854fcbcdea19a3263b7f778f86a08700a5bbfd737e8baa860ef1abe269e51948
|
| 3 |
size 497780432
|