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

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

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

Check out the documentation for more information.

##A T5ForConditionalGeneration trained on 3 tasks from PAN Profiling Hate Speech Spreaders on Twitter dataset (EN):

  • author attribution (train and test sets from the PAN task)
  • topic attribution - topics were assigned with BertTopic library using embeddings from cardiffnlp/bertweet-base-hate Roberta 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
5
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support