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

tokenizer = AutoTokenizer.from_pretrained("PaulAdversarial/PAN_twitter_hate_speech_2021_ES_MT5")
model = AutoModelForMultimodalLM.from_pretrained("PaulAdversarial/PAN_twitter_hate_speech_2021_ES_MT5")
Quick Links

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

##An MT5ForConditionalGeneration trained on 3 tasks from PAN Profiling Hate Speech Spreaders on Twitter dataset (ES):

  • topic attribution - topics were assigned with BertTopic library using embeddings from Hate-speech-CNERG/dehatebert-mono-spanish bert model (train and test sets from the PAN task)

  • hate speech identification (train set from the PAN task)

in order to generate tone of comment use prefix hater classification:

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