ribesstefano
commited on
Commit
·
5f64a67
1
Parent(s):
4f1fba3
Initial version
Browse files
README.md
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: classla/xlm-roberta-base-multilingual-text-genre-classifier
|
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.1-k4
|
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.1-k4
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [classla/xlm-roberta-base-multilingual-text-genre-classifier](https://huggingface.co/classla/xlm-roberta-base-multilingual-text-genre-classifier) on the None dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.3547
|
24 |
+
- F1: 0.4940
|
25 |
+
- Roc Auc: 0.6712
|
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: 2e-05
|
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.3524 | 0.14 | 250 | 0.3526 | 0.4888 | 0.6731 | 0.0 |
|
59 |
+
| 0.3318 | 0.27 | 500 | 0.3489 | 0.4885 | 0.6698 | 0.0 |
|
60 |
+
| 0.3278 | 0.41 | 750 | 0.3517 | 0.4870 | 0.6709 | 0.0 |
|
61 |
+
| 0.3165 | 0.54 | 1000 | 0.3506 | 0.4953 | 0.6726 | 0.0 |
|
62 |
+
| 0.3243 | 0.68 | 1250 | 0.3501 | 0.4904 | 0.6693 | 0.0 |
|
63 |
+
| 0.3072 | 0.82 | 1500 | 0.3529 | 0.4979 | 0.6715 | 0.0 |
|
64 |
+
| 0.311 | 0.95 | 1750 | 0.3527 | 0.4855 | 0.6664 | 0.0 |
|
65 |
+
| 0.3277 | 1.09 | 2000 | 0.3542 | 0.4900 | 0.6693 | 0.0 |
|
66 |
+
| 0.3102 | 1.22 | 2250 | 0.3535 | 0.4881 | 0.6679 | 0.0 |
|
67 |
+
| 0.3159 | 1.36 | 2500 | 0.3533 | 0.4839 | 0.6663 | 0.0 |
|
68 |
+
| 0.3073 | 1.49 | 2750 | 0.3531 | 0.4994 | 0.6726 | 0.0 |
|
69 |
+
| 0.3108 | 1.63 | 3000 | 0.3542 | 0.4929 | 0.6701 | 0.0 |
|
70 |
+
| 0.3093 | 1.77 | 3250 | 0.3546 | 0.4925 | 0.6702 | 0.0 |
|
71 |
+
| 0.2981 | 1.9 | 3500 | 0.3547 | 0.4933 | 0.6703 | 0.0 |
|
72 |
+
| 0.3046 | 2.04 | 3750 | 0.3547 | 0.4929 | 0.6707 | 0.0 |
|
73 |
+
| 0.3085 | 2.17 | 4000 | 0.3547 | 0.4940 | 0.6712 | 0.0 |
|
74 |
+
|
75 |
+
|
76 |
+
### Framework versions
|
77 |
+
|
78 |
+
- Transformers 4.36.2
|
79 |
+
- Pytorch 2.1.0+cu121
|
80 |
+
- Datasets 2.16.1
|
81 |
+
- 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:0bc16e5319548de59f92b1d546141180d6605e0789f8dd99c3610c5ba12fe31e
|
3 |
size 1112334200
|
runs/Jan07_16-57-20_1f54fefc10ec/events.out.tfevents.1704646642.1f54fefc10ec.1503.7
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:d2b7c7751c84d9e36153a5811faecb76220c3c471087fd6202d50d866c859ccd
|
3 |
+
size 28094
|