xmod-shared-roberta-base-legal-multi-downstream-ildc
This model is a fine-tuned version of MHGanainy/xmod-shared-roberta-base-legal-multi on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.5628
- Accuracy: 0.8209
- Precision: 0.7948
- Recall: 0.8652
- F1: 0.8285
- Best Threshold: 0.0775
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: 3e-05
- train_batch_size: 16
- eval_batch_size: 16
- seed: 1
- distributed_type: multi-GPU
- num_devices: 8
- total_train_batch_size: 128
- total_eval_batch_size: 128
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 20.0
- mixed_precision_training: Native AMP
Training results
Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 | Best Threshold |
---|---|---|---|---|---|---|---|---|
No log | 1.0 | 253 | 0.6711 | 0.5614 | 0.5356 | 0.9235 | 0.6780 | 0.4122 |
0.6322 | 2.0 | 506 | 0.4269 | 0.8109 | 0.7877 | 0.8511 | 0.8182 | 0.3113 |
0.6322 | 3.0 | 759 | 0.4206 | 0.8239 | 0.8157 | 0.8370 | 0.8262 | 0.3548 |
0.4589 | 4.0 | 1012 | 0.3841 | 0.8501 | 0.8246 | 0.8893 | 0.8558 | 0.2773 |
0.4589 | 5.0 | 1265 | 0.4162 | 0.8300 | 0.8374 | 0.8189 | 0.8281 | 0.4082 |
0.3581 | 6.0 | 1518 | 0.4739 | 0.8219 | 0.8089 | 0.8431 | 0.8256 | 0.2548 |
0.3581 | 7.0 | 1771 | 0.5628 | 0.8209 | 0.7948 | 0.8652 | 0.8285 | 0.0775 |
Framework versions
- Transformers 4.44.2
- Pytorch 2.4.0+cu121
- Datasets 2.21.0
- Tokenizers 0.19.1
- Downloads last month
- 93
Inference Providers
NEW
This model is not currently available via any of the supported Inference Providers.