metadata
license: apache-2.0
base_model: allenai/longformer-base-4096
tags:
- generated_from_trainer
metrics:
- accuracy
model-index:
- name: classification_test_14Dec
results: []
classification_test_14Dec
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.2892
- Accuracy: 0.9508
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: 2
- eval_batch_size: 2
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 5
Training results
Training Loss | Epoch | Step | Validation Loss | Accuracy |
---|---|---|---|---|
0.5775 | 1.0 | 3750 | 0.6166 | 0.902 |
0.3579 | 2.0 | 7500 | 0.4535 | 0.9228 |
0.2818 | 3.0 | 11250 | 0.4030 | 0.9336 |
0.1849 | 4.0 | 15000 | 0.3642 | 0.9408 |
0.0957 | 5.0 | 18750 | 0.2892 | 0.9508 |
Framework versions
- Transformers 4.35.2
- Pytorch 2.1.1+cu118
- Datasets 2.15.0
- Tokenizers 0.15.0