--- language: - pt license: apache-2.0 tags: - toxicity - portuguese - hate speech - offensive language - generated_from_trainer metrics: - accuracy - f1 - precision - recall model-index: - name: dougtrajano/toxicity-target-classification results: [] --- # dougtrajano/toxicity-target-classification This model is a fine-tuned version of [neuralmind/bert-base-portuguese-cased](https://huggingface.co/neuralmind/bert-base-portuguese-cased) on the OLID-BR dataset. It achieves the following results on the evaluation set: - Loss: 0.6110 - Accuracy: 0.6864 - F1: 0.6872 - Precision: 0.6882 - Recall: 0.6864 ## Model description More information needed ## Intended uses & limitations More information needed ## Training and evaluation data More information needed ## Training procedure ### Training hyperparameters The following hyperparameters were used during training: - learning_rate: 4.174021560583183e-05 - train_batch_size: 8 - eval_batch_size: 8 - seed: 1993 - optimizer: Adam with betas=(0.9360294728287728,0.9974781444436187) and epsilon=8.016624612627008e-07 - lr_scheduler_type: linear - num_epochs: 30 - label_smoothing_factor: 0.09936835309930625 ### Training results | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall | |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:| | 0.633 | 1.0 | 537 | 0.6040 | 0.6919 | 0.5805 | 0.6351 | 0.6919 | | 0.5915 | 2.0 | 1074 | 0.6110 | 0.6864 | 0.6872 | 0.6882 | 0.6864 | | 0.4584 | 3.0 | 1611 | 0.7104 | 0.6933 | 0.6606 | 0.6605 | 0.6933 | | 0.3564 | 4.0 | 2148 | 0.9816 | 0.6168 | 0.6307 | 0.6671 | 0.6168 | ### Framework versions - Transformers 4.26.0 - Pytorch 1.10.2+cu113 - Datasets 2.9.0 - Tokenizers 0.13.2