Instructions to use wiorz/gpt2_small_summarized with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use wiorz/gpt2_small_summarized with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="wiorz/gpt2_small_summarized")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("wiorz/gpt2_small_summarized") model = AutoModelForSequenceClassification.from_pretrained("wiorz/gpt2_small_summarized") - Notebooks
- Google Colab
- Kaggle
Librarian Bot: Add base_model information to model
#1
by librarian-bot - opened
README.md
CHANGED
|
@@ -7,6 +7,7 @@ metrics:
|
|
| 7 |
- precision
|
| 8 |
- recall
|
| 9 |
- f1
|
|
|
|
| 10 |
model-index:
|
| 11 |
- name: gpt2_small_summarized
|
| 12 |
results: []
|
|
|
|
| 7 |
- precision
|
| 8 |
- recall
|
| 9 |
- f1
|
| 10 |
+
base_model: gpt2
|
| 11 |
model-index:
|
| 12 |
- name: gpt2_small_summarized
|
| 13 |
results: []
|