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 316
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:ef3518e0df4fbe653bdfb5490140a29dc41f6f708f2eb43a454afc3f66e1ca0d
|
| 3 |
size 497780432
|