from pysentimiento import create_analyzer
analyzer = create_analyzer(task="hate_speech", lang="pt")
analyzer.predict("você tem que matar todos os malditos negros")
# Returns AnalyzerOutput(output=['Racism'], probas={Sexism: 0.027, Body: 0.016, Racism: 0.698, Ideology: 0.025, Homophobia: 0.017})
Citation
If you use this model in your research, please cite pysentimiento and RoBERTuito papers:
@misc{perez2021pysentimiento,
title={pysentimiento: A Python Toolkit for Sentiment Analysis and SocialNLP tasks},
author={Juan Manuel Pérez and Juan Carlos Giudici and Franco Luque},
year={2021},
eprint={2106.09462},
archivePrefix={arXiv},
primaryClass={cs.CL}
}
@misc {pablo_botton_da_costa_2022,
author = { {pablo botton da costa} },
title = { bertabaporu-base-uncased (Revision 1982d0f) },
year = 2022,
url = { https://huggingface.co/pablocosta/bertabaporu-base-uncased },
doi = { 10.57967/hf/0019 },
publisher = { Hugging Face }
}
@inproceedings{fortuna-etal-2019-hierarchically,
title = "A Hierarchically-Labeled {P}ortuguese Hate Speech Dataset",
author = "Fortuna, Paula and
Rocha da Silva, Jo{\~a}o and
Soler-Company, Juan and
Wanner, Leo and
Nunes, S{\'e}rgio",
booktitle = "Proceedings of the Third Workshop on Abusive Language Online",
month = aug,
year = "2019",
address = "Florence, Italy",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/W19-3510",
doi = "10.18653/v1/W19-3510",
pages = "94--104",
abstract = "Over the past years, the amount of online offensive speech has been growing steadily. To successfully cope with it, machine learning are applied. However, ML-based techniques require sufficiently large annotated datasets. In the last years, different datasets were published, mainly for English. In this paper, we present a new dataset for Portuguese, which has not been in focus so far. The dataset is composed of 5,668 tweets. For its annotation, we defined two different schemes used by annotators with different levels of expertise. Firstly, non-experts annotated the tweets with binary labels ({`}hate{'} vs. {`}no-hate{'}). Secondly, expert annotators classified the tweets following a fine-grained hierarchical multiple label scheme with 81 hate speech categories in total. The inter-annotator agreement varied from category to category, which reflects the insight that some types of hate speech are more subtle than others and that their detection depends on personal perception. This hierarchical annotation scheme is the main contribution of the presented work, as it facilitates the identification of different types of hate speech and their intersections. To demonstrate the usefulness of our dataset, we carried a baseline classification experiment with pre-trained word embeddings and LSTM on the binary classified data, with a state-of-the-art outcome.",
}
Runs of pysentimiento bertabaporu-pt-hate-speech on huggingface.co
527
Total runs
0
24-hour runs
0
3-day runs
-2
7-day runs
240
30-day runs
More Information About bertabaporu-pt-hate-speech huggingface.co Model
bertabaporu-pt-hate-speech huggingface.co
bertabaporu-pt-hate-speech huggingface.co is an AI model on huggingface.co that provides bertabaporu-pt-hate-speech's model effect (), which can be used instantly with this pysentimiento bertabaporu-pt-hate-speech model. huggingface.co supports a free trial of the bertabaporu-pt-hate-speech model, and also provides paid use of the bertabaporu-pt-hate-speech. Support call bertabaporu-pt-hate-speech model through api, including Node.js, Python, http.
bertabaporu-pt-hate-speech huggingface.co is an online trial and call api platform, which integrates bertabaporu-pt-hate-speech's modeling effects, including api services, and provides a free online trial of bertabaporu-pt-hate-speech, you can try bertabaporu-pt-hate-speech online for free by clicking the link below.
pysentimiento bertabaporu-pt-hate-speech online free url in huggingface.co:
bertabaporu-pt-hate-speech is an open source model from GitHub that offers a free installation service, and any user can find bertabaporu-pt-hate-speech on GitHub to install. At the same time, huggingface.co provides the effect of bertabaporu-pt-hate-speech install, users can directly use bertabaporu-pt-hate-speech installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
bertabaporu-pt-hate-speech install url in huggingface.co: