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 395
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:ec3734432e609d5bc8ac1c104bc3da39bb1bc0a8b38750cb06e71b482e6dfc0a
|
| 3 |
size 497780432
|