Summarization
Transformers
PyTorch
Safetensors
Italian
t5
text2text-generation
tags
Italian
text-generation-inference
Instructions to use efederici/text2tags with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use efederici/text2tags with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "summarization" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("summarization", model="efederici/text2tags")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("efederici/text2tags") model = AutoModelForSeq2SeqLM.from_pretrained("efederici/text2tags", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -18,7 +18,7 @@ widget:
|
|
| 18 |
|
| 19 |
# text2tags-it
|
| 20 |
|
| 21 |
-
The model has been trained on a collection of
|
| 22 |
|
| 23 |
### Usage
|
| 24 |
|
|
|
|
| 18 |
|
| 19 |
# text2tags-it
|
| 20 |
|
| 21 |
+
The model has been trained on a collection of 28k news articles with tags. Its purpose is to create tags suitable for the given article.
|
| 22 |
|
| 23 |
### Usage
|
| 24 |
|