longformer-finetuned-charity-ner-v1.2-ideal-dataset
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.0267
- Precision: 0.7182
- Recall: 0.7182
- F1: 0.7182
- Accuracy: 0.9935
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: 8
- seed: 42
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 3
Training results
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|---|---|---|---|---|---|---|---|
| 0.0347 | 1.0 | 897 | 0.0216 | 0.5872 | 0.7072 | 0.6416 | 0.9927 |
| 0.0091 | 2.0 | 1794 | 0.0233 | 0.7446 | 0.7569 | 0.7507 | 0.9935 |
| 0.0058 | 3.0 | 2691 | 0.0267 | 0.7182 | 0.7182 | 0.7182 | 0.9935 |
Framework versions
- Transformers 4.52.4
- Pytorch 2.6.0+cu124
- Datasets 2.14.4
- Tokenizers 0.21.1