longformer-finetuned-charity-ner-v1.1-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.0310
- Precision: 0.7299
- Recall: 0.7651
- F1: 0.7471
- Accuracy: 0.9933
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.0327 | 1.0 | 897 | 0.0248 | 0.4598 | 0.6205 | 0.5282 | 0.9908 |
| 0.009 | 2.0 | 1794 | 0.0314 | 0.6742 | 0.7229 | 0.6977 | 0.9930 |
| 0.0052 | 3.0 | 2691 | 0.0310 | 0.7299 | 0.7651 | 0.7471 | 0.9933 |
Framework versions
- Transformers 4.52.4
- Pytorch 2.6.0+cu124
- Datasets 2.14.4
- Tokenizers 0.21.1