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 158
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:6ee7039f996e6b8b9bfb2b4e7f1624f560bd332f27a3fc1a03319ff930eef901
|
| 3 |
size 497780432
|