Instructions to use adriansanz/gpt2-5ep with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use adriansanz/gpt2-5ep with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="adriansanz/gpt2-5ep")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("adriansanz/gpt2-5ep") model = AutoModelForSequenceClassification.from_pretrained("adriansanz/gpt2-5ep", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -8,7 +8,7 @@ metrics:
|
|
| 8 |
model-index:
|
| 9 |
- name: test_trainer4
|
| 10 |
results: []
|
| 11 |
-
pipeline_tag:
|
| 12 |
---
|
| 13 |
|
| 14 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 8 |
model-index:
|
| 9 |
- name: test_trainer4
|
| 10 |
results: []
|
| 11 |
+
pipeline_tag: text-classification
|
| 12 |
---
|
| 13 |
|
| 14 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|