Commit ·
edb8378
1
Parent(s): fb391db
Initial version
Browse files
README.md
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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.4-k1
|
| 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.4-k1
|
| 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.3335
|
| 24 |
+
- F1: 0.5287
|
| 25 |
+
- Roc Auc: 0.7065
|
| 26 |
+
- Accuracy: 0.0
|
| 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: 0.0005
|
| 46 |
+
- train_batch_size: 4
|
| 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: 4000
|
| 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.3599 | 0.13 | 250 | 0.3361 | 0.5157 | 0.6901 | 0.0 |
|
| 59 |
+
| 0.3426 | 0.25 | 500 | 0.3436 | 0.5031 | 0.6842 | 0.0667 |
|
| 60 |
+
| 0.3621 | 0.38 | 750 | 0.3340 | 0.4861 | 0.6679 | 0.0 |
|
| 61 |
+
| 0.3692 | 0.5 | 1000 | 0.3397 | 0.5409 | 0.7020 | 0.0 |
|
| 62 |
+
| 0.3485 | 0.63 | 1250 | 0.3318 | 0.4861 | 0.6679 | 0.0 |
|
| 63 |
+
| 0.3494 | 0.75 | 1500 | 0.3306 | 0.4861 | 0.6679 | 0.0 |
|
| 64 |
+
| 0.3464 | 0.88 | 1750 | 0.3353 | 0.4861 | 0.6679 | 0.0 |
|
| 65 |
+
| 0.3554 | 1.0 | 2000 | 0.3395 | 0.5632 | 0.7243 | 0.0 |
|
| 66 |
+
| 0.3509 | 1.13 | 2250 | 0.3303 | 0.4861 | 0.6679 | 0.0 |
|
| 67 |
+
| 0.3331 | 1.26 | 2500 | 0.3359 | 0.5302 | 0.6945 | 0.0 |
|
| 68 |
+
| 0.3373 | 1.38 | 2750 | 0.3334 | 0.4861 | 0.6679 | 0.0 |
|
| 69 |
+
| 0.3416 | 1.51 | 3000 | 0.3355 | 0.4861 | 0.6679 | 0.0 |
|
| 70 |
+
| 0.3492 | 1.63 | 3250 | 0.3335 | 0.5287 | 0.7065 | 0.0 |
|
| 71 |
+
|
| 72 |
+
|
| 73 |
+
### Framework versions
|
| 74 |
+
|
| 75 |
+
- Transformers 4.36.2
|
| 76 |
+
- Pytorch 2.1.0+cu121
|
| 77 |
+
- Datasets 2.16.1
|
| 78 |
+
- Tokenizers 0.15.0
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1112334200
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f8c2cbf578a84b1c14fa50d6e9afff4ca3a4c7c5ae5ff0bef53df727e587a038
|
| 3 |
size 1112334200
|
runs/Jan07_22-37-00_68142e52d7cf/events.out.tfevents.1704667021.68142e52d7cf.255.10
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:ef13a0c88bac46665fa42c4ea8b092e6d203fb8b3b90b8013c7b2a4ac1e028e8
|
| 3 |
+
size 24461
|