Commit
·
421c96b
1
Parent(s):
d5f8bd9
Initial version
Browse files
README.md
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
base_model: papluca/xlm-roberta-base-language-detection
|
| 4 |
+
tags:
|
| 5 |
+
- Italian
|
| 6 |
+
- legal ruling
|
| 7 |
+
- generated_from_trainer
|
| 8 |
+
metrics:
|
| 9 |
+
- f1
|
| 10 |
+
- accuracy
|
| 11 |
+
model-index:
|
| 12 |
+
- name: ribesstefano/RuleBert-v0.5-k3
|
| 13 |
+
results: []
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 17 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 18 |
+
|
| 19 |
+
# ribesstefano/RuleBert-v0.5-k3
|
| 20 |
+
|
| 21 |
+
This model is a fine-tuned version of [papluca/xlm-roberta-base-language-detection](https://huggingface.co/papluca/xlm-roberta-base-language-detection) on the None dataset.
|
| 22 |
+
It achieves the following results on the evaluation set:
|
| 23 |
+
- Loss: 0.3277
|
| 24 |
+
- F1: 0.4513
|
| 25 |
+
- Roc Auc: 0.6511
|
| 26 |
+
- Accuracy: 0.0571
|
| 27 |
+
|
| 28 |
+
## Model description
|
| 29 |
+
|
| 30 |
+
More information needed
|
| 31 |
+
|
| 32 |
+
## Intended uses & limitations
|
| 33 |
+
|
| 34 |
+
More information needed
|
| 35 |
+
|
| 36 |
+
## Training and evaluation data
|
| 37 |
+
|
| 38 |
+
More information needed
|
| 39 |
+
|
| 40 |
+
## Training procedure
|
| 41 |
+
|
| 42 |
+
### Training hyperparameters
|
| 43 |
+
|
| 44 |
+
The following hyperparameters were used during training:
|
| 45 |
+
- learning_rate: 5e-06
|
| 46 |
+
- train_batch_size: 2
|
| 47 |
+
- eval_batch_size: 64
|
| 48 |
+
- seed: 42
|
| 49 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 50 |
+
- lr_scheduler_type: linear
|
| 51 |
+
- training_steps: 8000
|
| 52 |
+
- mixed_precision_training: Native AMP
|
| 53 |
+
|
| 54 |
+
### Training results
|
| 55 |
+
|
| 56 |
+
| Training Loss | Epoch | Step | Validation Loss | F1 | Roc Auc | Accuracy |
|
| 57 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:-------:|:--------:|
|
| 58 |
+
| 0.4223 | 0.06 | 250 | 0.3813 | 0.4517 | 0.6511 | 0.0571 |
|
| 59 |
+
| 0.3584 | 0.12 | 500 | 0.3377 | 0.4512 | 0.6506 | 0.0714 |
|
| 60 |
+
| 0.3591 | 0.18 | 750 | 0.3307 | 0.4507 | 0.6503 | 0.0714 |
|
| 61 |
+
| 0.3441 | 0.24 | 1000 | 0.3273 | 0.4515 | 0.6507 | 0.0714 |
|
| 62 |
+
| 0.3175 | 0.3 | 1250 | 0.3271 | 0.4507 | 0.6503 | 0.0714 |
|
| 63 |
+
| 0.3366 | 0.36 | 1500 | 0.3277 | 0.4513 | 0.6511 | 0.0571 |
|
| 64 |
+
|
| 65 |
+
|
| 66 |
+
### Framework versions
|
| 67 |
+
|
| 68 |
+
- Transformers 4.36.2
|
| 69 |
+
- Pytorch 2.1.0+cu121
|
| 70 |
+
- Datasets 2.16.1
|
| 71 |
+
- Tokenizers 0.15.0
|
runs/Jan07_23-40-41_68142e52d7cf/events.out.tfevents.1704670843.68142e52d7cf.255.17
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ffd465e034a0f4c45a5a6e05079605cc8ae498ae339b9381f9ad35b51d479326
|
| 3 |
+
size 16024
|