How to use from the
Use from the
Transformers library
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM

tokenizer = AutoTokenizer.from_pretrained("mpapucci/it5-multitask-classification-topic-age-gender-tag-it")
model = AutoModelForSeq2SeqLM.from_pretrained("mpapucci/it5-multitask-classification-topic-age-gender-tag-it", device_map="auto")
Quick Links

Write an italian sentence with one of the following prefixes:

  • "Classifica Età: " to get an age classification of the sentence;
  • "Classifica Argomento: " to get a topic classification of the sentence;
  • "Classifica Genere: " to get a gender classification of the sentence;

The dataset used for the task is: TAG-IT.

The model is a fine tuned version of IT5-base of Sarti and Nissim.

Downloads last month
15
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support