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 History
-
Adding `safetensors` variant of this model
This is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.d6c89e8
-
update model card README.md
6100d84 -
update model card README.md
30079e1 -
Model save
191b08d -
Training in progress, epoch 6
32620e1 -
Training in progress, epoch 5
7383868 -
Training in progress, epoch 4
ffb90ee -
Training in progress, epoch 3
0f31868 -
Training in progress, epoch 2
cf0d4f2 -
Training in progress, epoch 1
47f9fdc
-
Update README.md
46814f8 -
Update README.md
f65aa57
-
Update .gitignore
c0198b8 -
update model card README.md
36a682f -
update model card README.md
d54e7fc -
Model save
d9ead24 -
Training in progress, epoch 9
ae9bfbf -
Training in progress, epoch 8
8d80c8d -
Training in progress, epoch 7
7b9b435 -
Training in progress, epoch 6
687a8d9 -
Training in progress, epoch 5
48d2148 -
Training in progress, epoch 4
0838a54 -
Training in progress, epoch 3
d0d05ee -
Training in progress, epoch 2
f144eca -
Training in progress, epoch 1
ebd3b4b -
Add *.sagemaker patterns to .gitignore.
8d90e59 -
Update .gitignore
870ee2c -
update model card README.md
26384ab -
update model card README.md
3f6d0f8 -
Model save
f3a8e1e -
Training in progress, epoch 9
024565b -
Training in progress, epoch 8
54b6b70 -
Training in progress, epoch 7
0b0f2ab -
Training in progress, epoch 6
0867ee8 -
Training in progress, epoch 5
77c471e -
Training in progress, epoch 4
00366e6 -
Training in progress, epoch 3
a181687 -
Training in progress, epoch 2
1514709 -
Training in progress, epoch 1
a49a044
-
initial commit
2b6befc