|
|
--- |
|
|
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_O |
|
|
results: [] |
|
|
--- |
|
|
|
|
|
<!-- This model card has been generated automatically according to the information the Trainer had access to. You |
|
|
should probably proofread and complete it, then remove this comment. --> |
|
|
|
|
|
# out_base_O |
|
|
|
|
|
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.9325 |
|
|
- Accuracy: 0.6359 |
|
|
- F1: 0.6223 |
|
|
- Cohen Kappa: 0.4357 |
|
|
|
|
|
## 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.8546 | 1.0 | 134 | 0.8298 | 0.6022 | 0.5791 | 0.3756 | |
|
|
| 0.866 | 2.0 | 268 | 0.7823 | 0.6387 | 0.5850 | 0.4836 | |
|
|
| 0.6035 | 3.0 | 402 | 0.8310 | 0.6499 | 0.6234 | 0.4882 | |
|
|
| 0.5801 | 4.0 | 536 | 0.8960 | 0.6555 | 0.6311 | 0.4779 | |
|
|
| 0.345 | 5.0 | 670 | 0.9325 | 0.6359 | 0.6223 | 0.4357 | |
|
|
|
|
|
|
|
|
### Framework versions |
|
|
|
|
|
- Transformers 4.57.3 |
|
|
- Pytorch 2.9.0+cu126 |
|
|
- Datasets 4.0.0 |
|
|
- Tokenizers 0.22.2 |
|
|
|