ribesstefano
commited on
Commit
•
e160645
1
Parent(s):
bc5ad51
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-k0
|
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-k0
|
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.3765
|
24 |
+
- F1: 0.5087
|
25 |
+
- Roc Auc: 0.6757
|
26 |
+
- Accuracy: 0.0333
|
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.3621 | 0.14 | 250 | 0.3791 | 0.4861 | 0.6678 | 0.0458 |
|
59 |
+
| 0.3199 | 0.28 | 500 | 0.3754 | 0.4969 | 0.6730 | 0.0375 |
|
60 |
+
| 0.3135 | 0.41 | 750 | 0.3785 | 0.4965 | 0.6715 | 0.0458 |
|
61 |
+
| 0.3176 | 0.55 | 1000 | 0.3755 | 0.4988 | 0.6725 | 0.0333 |
|
62 |
+
| 0.3056 | 0.69 | 1250 | 0.3734 | 0.5100 | 0.6756 | 0.0667 |
|
63 |
+
| 0.3016 | 0.83 | 1500 | 0.3749 | 0.5076 | 0.6755 | 0.0333 |
|
64 |
+
| 0.3044 | 0.97 | 1750 | 0.3763 | 0.5014 | 0.6738 | 0.0125 |
|
65 |
+
| 0.3009 | 1.11 | 2000 | 0.3781 | 0.5073 | 0.6751 | 0.0333 |
|
66 |
+
| 0.3044 | 1.24 | 2250 | 0.3782 | 0.5089 | 0.6755 | 0.0417 |
|
67 |
+
| 0.2979 | 1.38 | 2500 | 0.3770 | 0.5047 | 0.6745 | 0.0167 |
|
68 |
+
| 0.2977 | 1.52 | 2750 | 0.3772 | 0.5114 | 0.6764 | 0.0417 |
|
69 |
+
| 0.2998 | 1.66 | 3000 | 0.3747 | 0.5107 | 0.6762 | 0.0375 |
|
70 |
+
| 0.2916 | 1.8 | 3250 | 0.3741 | 0.5096 | 0.6758 | 0.0375 |
|
71 |
+
| 0.3107 | 1.94 | 3500 | 0.3757 | 0.5056 | 0.6748 | 0.0208 |
|
72 |
+
| 0.3023 | 2.07 | 3750 | 0.3767 | 0.5069 | 0.6752 | 0.025 |
|
73 |
+
| 0.3069 | 2.21 | 4000 | 0.3765 | 0.5087 | 0.6757 | 0.0333 |
|
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:e8317608ffbd8ad6d3023e2a03a3884371de7a3fe9c0568d7eb64254876f3a54
|
3 |
size 1112334200
|
runs/Jan07_16-20-11_1f54fefc10ec/events.out.tfevents.1704644412.1f54fefc10ec.1503.3
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:b563ccea4ff6bec90861347ccbfd64199fe7426d8bb58b37eed17d1e1f2ca14d
|
3 |
+
size 28094
|