Instructions to use PaulAdversarial/PAN_twitter_hate_speech_2021_ES_MT5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use PaulAdversarial/PAN_twitter_hate_speech_2021_ES_MT5 with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("PaulAdversarial/PAN_twitter_hate_speech_2021_ES_MT5") model = AutoModelForSeq2SeqLM.from_pretrained("PaulAdversarial/PAN_twitter_hate_speech_2021_ES_MT5") - Notebooks
- Google Colab
- Kaggle
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-spanishbert 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
- 9
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support