ribesstefano commited on
Commit
5af1a40
·
1 Parent(s): 19fa253

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-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.1-k3
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.3285
24
+ - F1: 0.4638
25
+ - Roc Auc: 0.6576
26
+ - Accuracy: 0.0714
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.3423 | 0.13 | 250 | 0.3539 | 0.4497 | 0.6562 | 0.0670 |
59
+ | 0.3231 | 0.27 | 500 | 0.3425 | 0.4596 | 0.6594 | 0.0670 |
60
+ | 0.3248 | 0.4 | 750 | 0.3364 | 0.4495 | 0.6541 | 0.0714 |
61
+ | 0.3283 | 0.54 | 1000 | 0.3351 | 0.4529 | 0.6555 | 0.0714 |
62
+ | 0.3237 | 0.67 | 1250 | 0.3315 | 0.4600 | 0.6581 | 0.0625 |
63
+ | 0.325 | 0.81 | 1500 | 0.3313 | 0.4681 | 0.6624 | 0.0312 |
64
+ | 0.3316 | 0.94 | 1750 | 0.3290 | 0.4595 | 0.6564 | 0.0714 |
65
+ | 0.3239 | 1.08 | 2000 | 0.3310 | 0.4592 | 0.6572 | 0.0625 |
66
+ | 0.3085 | 1.21 | 2250 | 0.3280 | 0.4614 | 0.6567 | 0.0670 |
67
+ | 0.3161 | 1.35 | 2500 | 0.3303 | 0.4623 | 0.6574 | 0.0670 |
68
+ | 0.314 | 1.48 | 2750 | 0.3289 | 0.4613 | 0.6566 | 0.0714 |
69
+ | 0.3187 | 1.62 | 3000 | 0.3293 | 0.4594 | 0.6554 | 0.0714 |
70
+ | 0.3145 | 1.75 | 3250 | 0.3295 | 0.4629 | 0.6569 | 0.0714 |
71
+ | 0.3128 | 1.89 | 3500 | 0.3285 | 0.4629 | 0.6569 | 0.0714 |
72
+ | 0.3135 | 2.02 | 3750 | 0.3285 | 0.4615 | 0.6566 | 0.0714 |
73
+ | 0.3171 | 2.16 | 4000 | 0.3285 | 0.4638 | 0.6576 | 0.0714 |
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:a43f672c407ddebc0ac9982901f4a9e72451f50ded616efbd677a54b84152903
3
  size 1112334200
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b58ac511f5c508ea65217e37df730ea872f6aceb3d174e2cf45b9d25d440cad
3
  size 1112334200
runs/Jan07_16-47-40_1f54fefc10ec/events.out.tfevents.1704646061.1f54fefc10ec.1503.6 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3210ed0cddc829e8e3db97f31c01d34b256459aa289ec869a57f83bff0a42c2b
3
- size 25487
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f1b49e897d0e7a31190b05891776ed33fd0f321588a5554b617d07393724b41f
3
+ size 28094