How to use mpapucci/it5-topic-classification-tag-it with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("mpapucci/it5-topic-classification-tag-it") model = AutoModelForSeq2SeqLM.from_pretrained("mpapucci/it5-topic-classification-tag-it")
Write an italian sentence with the prefix "Classifica Argomento: " to get a topic 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.