--- license: mit base_model: FacebookAI/xlm-roberta-base tags: - generated_from_trainer metrics: - accuracy - f1 - precision - recall model-index: - name: cyber_xlm_roberta results: [] --- # cyber_xlm_roberta This model is a fine-tuned version of [FacebookAI/xlm-roberta-base](https://huggingface.co/FacebookAI/xlm-roberta-base) on the None dataset. It achieves the following results on the evaluation set: - Loss: 0.4024 - Accuracy: 0.8174 - F1: 0.8059 - Precision: 0.7991 - Recall: 0.8231 ## 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: 2e-05 - train_batch_size: 64 - eval_batch_size: 64 - seed: 42 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - num_epochs: 4 - mixed_precision_training: Native AMP ### Training results | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall | |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:| | 0.4653 | 1.0 | 144 | 0.4155 | 0.7971 | 0.7869 | 0.7822 | 0.8095 | | 0.3575 | 2.0 | 288 | 0.3869 | 0.8206 | 0.8082 | 0.8012 | 0.8229 | | 0.3437 | 3.0 | 432 | 0.4215 | 0.8086 | 0.7998 | 0.7957 | 0.8256 | | 0.3129 | 4.0 | 576 | 0.4024 | 0.8174 | 0.8059 | 0.7991 | 0.8231 | ### Framework versions - Transformers 4.41.2 - Pytorch 2.3.0+cu121 - Datasets 2.19.2 - Tokenizers 0.19.1