Instructions to use date3k2/gpt2-text-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use date3k2/gpt2-text-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="date3k2/gpt2-text-classification")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("date3k2/gpt2-text-classification") model = AutoModelForSequenceClassification.from_pretrained("date3k2/gpt2-text-classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 7
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:9f3c03313315dbdc29f37035ba3c5ecc5813b7aea290c1b91c4b334d439aca25
|
| 3 |
size 497780432
|