minh21/XLNet-Reddit-Toxic-Comment-Classification
120
1---2license: mit3base_model: xlnet-base-cased4tags:5- generated_from_trainer6metrics:7- accuracy8- precision9- recall10- f111model-index:12- name: XLNet-Reddit-Toxic-Comment-Classification13 results: []14---15 16<!-- This model card has been generated automatically according to the information the Trainer had access to. You17should probably proofread and complete it, then remove this comment. -->18 19# XLNet-Reddit-Toxic-Comment-Classification20 21This model is a fine-tuned version of [xlnet-base-cased](https://huggingface.co/xlnet-base-cased) on the None dataset.22It achieves the following results on the evaluation set:23- Loss: 0.296424- Rmse: 0.282825- Accuracy: 0.9226- Precision: 0.923627- Recall: 0.932928- F1: 0.928229 30## Model description31 32More information needed33 34## Intended uses & limitations35 36More information needed37 38## Training and evaluation data39 40More information needed41 42## Training procedure43 44### Training hyperparameters45 46The following hyperparameters were used during training:47- learning_rate: 3e-0548- train_batch_size: 849- eval_batch_size: 850- seed: 4251- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-0852- lr_scheduler_type: linear53- num_epochs: 554 55### Training results56 57| Training Loss | Epoch | Step | Validation Loss | Rmse | Accuracy | Precision | Recall | F1 |58|:-------------:|:-----:|:----:|:---------------:|:------:|:--------:|:---------:|:------:|:------:|59| 0.3798 | 1.0 | 1075 | 0.2964 | 0.2828 | 0.92 | 0.9236 | 0.9329 | 0.9282 |60| 0.2507 | 2.0 | 2150 | 0.3791 | 0.2973 | 0.9116 | 0.8824 | 0.9698 | 0.9241 |61| 0.1734 | 3.0 | 3225 | 0.3779 | 0.3080 | 0.9051 | 0.8847 | 0.9530 | 0.9176 |62| 0.1157 | 4.0 | 4300 | 0.4796 | 0.2861 | 0.9181 | 0.9456 | 0.9044 | 0.9245 |63| 0.0762 | 5.0 | 5375 | 0.4729 | 0.2762 | 0.9237 | 0.9341 | 0.9279 | 0.9310 |64 65 66### Framework versions67 68- Transformers 4.35.0.dev069- Pytorch 2.0.070- Datasets 2.1.071- Tokenizers 0.14.172 