longformer-fake-review-detector-combined
This model is a fine-tuned version of allenai/longformer-base-4096 on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.5666
- Accuracy: 0.8858
- F1: 0.8934
- Precision: 0.9933
- Recall: 0.8117
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: 8
- eval_batch_size: 16
- seed: 42
- gradient_accumulation_steps: 8
- total_train_batch_size: 64
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 4
Training results
Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
---|---|---|---|---|---|---|---|
No log | 1.0 | 116 | 0.2442 | 0.9095 | 0.9184 | 0.9803 | 0.8638 |
No log | 2.0 | 232 | 0.2785 | 0.9041 | 0.9119 | 0.9946 | 0.8419 |
No log | 3.0 | 348 | 0.4057 | 0.9154 | 0.9232 | 0.9926 | 0.8629 |
No log | 4.0 | 464 | 0.5666 | 0.8858 | 0.8934 | 0.9933 | 0.8117 |
Framework versions
- Transformers 4.39.3
- Pytorch 2.1.2
- Datasets 2.18.0
- Tokenizers 0.15.2
- Downloads last month
- 28