--- license: apache-2.0 base_model: allenai/longformer-base-4096 tags: - generated_from_trainer metrics: - accuracy - precision - recall - f1 model-index: - name: longformer-harmful-ro results: [] --- # longformer-harmful-ro This model is a fine-tuned version of [allenai/longformer-base-4096](https://huggingface.co/allenai/longformer-base-4096) on the None dataset. It achieves the following results on the evaluation set: - Loss: 0.0102 - Accuracy: 0.996 - Precision: 0.998 - Recall: 0.955 - F1: 0.975 ## 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: 5e-05 - train_batch_size: 64 - eval_batch_size: 128 - seed: 42 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - num_epochs: 3.0 ### Training results | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 | |:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:-----:| | No log | 1.0 | 89 | 0.0972 | 0.978 | 0.989 | 0.75 | 0.828 | | No log | 2.0 | 178 | 0.0337 | 0.986 | 0.993 | 0.841 | 0.902 | | No log | 3.0 | 267 | 0.0102 | 0.996 | 0.998 | 0.955 | 0.975 | ### Framework versions - Transformers 4.31.0 - Pytorch 2.0.1+cu118 - Datasets 2.14.0 - Tokenizers 0.13.3