metadata
library_name: transformers
license: apache-2.0
base_model: allenai/longformer-base-4096
tags:
- generated_from_trainer
metrics:
- accuracy
- f1
model-index:
- name: out_base_C
results: []
out_base_C
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.9658
- Accuracy: 0.6246
- F1: 0.6311
- Cohen Kappa: 0.3696
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: 1
- eval_batch_size: 1
- seed: 42
- gradient_accumulation_steps: 8
- total_train_batch_size: 8
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 5
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Cohen Kappa |
|---|---|---|---|---|---|---|
| 0.8223 | 1.0 | 134 | 0.7854 | 0.5910 | 0.5852 | 0.3170 |
| 0.7591 | 2.0 | 268 | 0.7866 | 0.6134 | 0.6161 | 0.3327 |
| 0.5501 | 3.0 | 402 | 0.7871 | 0.6443 | 0.6483 | 0.4155 |
| 0.4677 | 4.0 | 536 | 0.8966 | 0.6471 | 0.6458 | 0.4464 |
| 0.422 | 5.0 | 670 | 0.9658 | 0.6246 | 0.6311 | 0.3696 |
Framework versions
- Transformers 4.57.3
- Pytorch 2.9.0+cu126
- Datasets 4.0.0
- Tokenizers 0.22.2