Text Classification
Transformers
PyTorch
Safetensors
Portuguese
bert
toxicity
portuguese
hate speech
offensive language
Generated from Trainer
text-embeddings-inference
Instructions to use dougtrajano/toxic-comment-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dougtrajano/toxic-comment-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="dougtrajano/toxic-comment-classification")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("dougtrajano/toxic-comment-classification") model = AutoModelForSequenceClassification.from_pretrained("dougtrajano/toxic-comment-classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
6100d84
1
Parent(s): 30079e1
update model card README.md
Browse files1234561 unmodified line891011121314151617181920212223---license: mittags:- generated_from_trainermetrics:- accuracy1 unmodified line- precision- recallmodel-index:- name: toxic-comment-classificationresults: []---<!-- This model card has been generated automatically according to the information the Trainer had access to. Youshould probably proofread and complete it, then remove this comment. --># toxic-comment-classificationThis model is a fine-tuned version of [neuralmind/bert-large-portuguese-cased](https://huggingface.co/neuralmind/bert-large-portuguese-cased) on the None dataset.It achieves the following results on the evaluation set:- Loss: 0.4102- Accuracy: 0.85471234567891011121 unmodified line14151617181920212223242526272829---language:- ptlicense: apache-2.0tags:- toxicity- portuguese- hate speech- offensive language- generated_from_trainermetrics:- accuracy1 unmodified line- precision- recallmodel-index:- name: dougtrajano/toxic-comment-classificationresults: []---<!-- This model card has been generated automatically according to the information the Trainer had access to. Youshould probably proofread and complete it, then remove this comment. --># dougtrajano/toxic-comment-classificationThis model is a fine-tuned version of [neuralmind/bert-large-portuguese-cased](https://huggingface.co/neuralmind/bert-large-portuguese-cased) on the OLID-BR dataset.It achieves the following results on the evaluation set:- Loss: 0.4102- Accuracy: 0.8547
README.md+10-4