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