ribesstefano commited on
Commit
fd5593b
1 Parent(s): ad7eddf

Training in progress, step 250, checkpoint

Browse files
last-checkpoint/README.md ADDED
@@ -0,0 +1,204 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: RuleBert-v0.3-k0
4
+ ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ <!-- Provide a quick summary of what the model is/does. -->
9
+
10
+
11
+
12
+ ## Model Details
13
+
14
+ ### Model Description
15
+
16
+ <!-- Provide a longer summary of what this model is. -->
17
+
18
+
19
+
20
+ - **Developed by:** [More Information Needed]
21
+ - **Funded by [optional]:** [More Information Needed]
22
+ - **Shared by [optional]:** [More Information Needed]
23
+ - **Model type:** [More Information Needed]
24
+ - **Language(s) (NLP):** [More Information Needed]
25
+ - **License:** [More Information Needed]
26
+ - **Finetuned from model [optional]:** [More Information Needed]
27
+
28
+ ### Model Sources [optional]
29
+
30
+ <!-- Provide the basic links for the model. -->
31
+
32
+ - **Repository:** [More Information Needed]
33
+ - **Paper [optional]:** [More Information Needed]
34
+ - **Demo [optional]:** [More Information Needed]
35
+
36
+ ## Uses
37
+
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
+ ### Direct Use
41
+
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
+
44
+ [More Information Needed]
45
+
46
+ ### Downstream Use [optional]
47
+
48
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Out-of-Scope Use
53
+
54
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
+
56
+ [More Information Needed]
57
+
58
+ ## Bias, Risks, and Limitations
59
+
60
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ### Recommendations
65
+
66
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
+
68
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
+
70
+ ## How to Get Started with the Model
71
+
72
+ Use the code below to get started with the model.
73
+
74
+ [More Information Needed]
75
+
76
+ ## Training Details
77
+
78
+ ### Training Data
79
+
80
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
+
82
+ [More Information Needed]
83
+
84
+ ### Training Procedure
85
+
86
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
+
88
+ #### Preprocessing [optional]
89
+
90
+ [More Information Needed]
91
+
92
+
93
+ #### Training Hyperparameters
94
+
95
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
+
97
+ #### Speeds, Sizes, Times [optional]
98
+
99
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
+
101
+ [More Information Needed]
102
+
103
+ ## Evaluation
104
+
105
+ <!-- This section describes the evaluation protocols and provides the results. -->
106
+
107
+ ### Testing Data, Factors & Metrics
108
+
109
+ #### Testing Data
110
+
111
+ <!-- This should link to a Dataset Card if possible. -->
112
+
113
+ [More Information Needed]
114
+
115
+ #### Factors
116
+
117
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Metrics
122
+
123
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
+
125
+ [More Information Needed]
126
+
127
+ ### Results
128
+
129
+ [More Information Needed]
130
+
131
+ #### Summary
132
+
133
+
134
+
135
+ ## Model Examination [optional]
136
+
137
+ <!-- Relevant interpretability work for the model goes here -->
138
+
139
+ [More Information Needed]
140
+
141
+ ## Environmental Impact
142
+
143
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
+
145
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
146
+
147
+ - **Hardware Type:** [More Information Needed]
148
+ - **Hours used:** [More Information Needed]
149
+ - **Cloud Provider:** [More Information Needed]
150
+ - **Compute Region:** [More Information Needed]
151
+ - **Carbon Emitted:** [More Information Needed]
152
+
153
+ ## Technical Specifications [optional]
154
+
155
+ ### Model Architecture and Objective
156
+
157
+ [More Information Needed]
158
+
159
+ ### Compute Infrastructure
160
+
161
+ [More Information Needed]
162
+
163
+ #### Hardware
164
+
165
+ [More Information Needed]
166
+
167
+ #### Software
168
+
169
+ [More Information Needed]
170
+
171
+ ## Citation [optional]
172
+
173
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
+
175
+ **BibTeX:**
176
+
177
+ [More Information Needed]
178
+
179
+ **APA:**
180
+
181
+ [More Information Needed]
182
+
183
+ ## Glossary [optional]
184
+
185
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
+
187
+ [More Information Needed]
188
+
189
+ ## More Information [optional]
190
+
191
+ [More Information Needed]
192
+
193
+ ## Model Card Authors [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Contact
198
+
199
+ [More Information Needed]
200
+
201
+
202
+ ### Framework versions
203
+
204
+ - PEFT 0.7.1
last-checkpoint/adapter_config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "RuleBert-v0.3-k0",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layers_pattern": null,
10
+ "layers_to_transform": null,
11
+ "loftq_config": {},
12
+ "lora_alpha": 64,
13
+ "lora_dropout": 0.1,
14
+ "megatron_config": null,
15
+ "megatron_core": "megatron.core",
16
+ "modules_to_save": null,
17
+ "peft_type": "LORA",
18
+ "r": 8,
19
+ "rank_pattern": {},
20
+ "revision": null,
21
+ "target_modules": [
22
+ "value",
23
+ "out_proj",
24
+ "query",
25
+ "key",
26
+ "dense"
27
+ ],
28
+ "task_type": "SEQ_CLS"
29
+ }
last-checkpoint/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb2de1282ad540583af59d00d4787df47418120b307493f70e9e01fafd145c48
3
+ size 8053968
last-checkpoint/config.json ADDED
@@ -0,0 +1,121 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "papluca/xlm-roberta-base-language-detection",
3
+ "architectures": [
4
+ "XLMRobertaForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "andamento retromarcia imputato",
15
+ "1": "attraversamento corretto della vittima",
16
+ "2": "attraversamento vittima con semaforo rosso",
17
+ "3": "attraversamento vittima senza strisce o sbucata improvvisamente",
18
+ "4": "centro abitato",
19
+ "5": "colpo di sonno",
20
+ "6": "eccesso verso imputato",
21
+ "7": "eccesso verso vittima",
22
+ "8": "fuga imputato",
23
+ "9": "giorno",
24
+ "10": "giovane eta imputato",
25
+ "11": "guida brusca o manovra brusca della vittima",
26
+ "12": "guida brusca o manovra brusca imputato",
27
+ "13": "guida senza patente valida imputato",
28
+ "14": "guida senza patente valida vittima",
29
+ "15": "imputato perde controllo",
30
+ "16": "imputato ubriaco o drogato",
31
+ "17": "invasione corsia opposta imputato",
32
+ "18": "lavori stradali di manutenzione",
33
+ "19": "localita commerciale o luogo di lavoro",
34
+ "20": "maltempo",
35
+ "21": "mancanza cintura di sicurezza o casco vittima",
36
+ "22": "neopat imputato",
37
+ "23": "notte",
38
+ "24": "ostacolo evitabile dall imputato",
39
+ "25": "ostacolo prevedibile dall imputato",
40
+ "26": "ostacolo prevedibile dalla vittima",
41
+ "27": "piu imputati",
42
+ "28": "poca illuminazione o scarsa visibilita",
43
+ "29": "presenza rimorchio imputato",
44
+ "30": "prossimita di un incrocio o curva",
45
+ "31": "segnaletica non visibile o assente",
46
+ "32": "strada a doppio senso di marcia",
47
+ "33": "strada rovinata o bagnata",
48
+ "34": "uso telefono alla guida",
49
+ "35": "veicoli non abilitato a circolare o senza assicurazione imputato",
50
+ "36": "veicoli non abilitato a circolare o senza assicurazione vittima",
51
+ "37": "violazione stop o semaforo o codice della strada da parte della vittima",
52
+ "38": "violazione stop o semaforo o codice della strada da parte imputato",
53
+ "39": "vittima eta avanzata",
54
+ "40": "vittima eta giovane",
55
+ "41": "vittima perde controllo",
56
+ "42": "vittima priva di giubbino e bretelle riflettenti",
57
+ "43": "vittima ubriaca o drogata"
58
+ },
59
+ "initializer_range": 0.02,
60
+ "intermediate_size": 3072,
61
+ "label2id": {
62
+ "andamento retromarcia imputato": 0,
63
+ "attraversamento corretto della vittima": 1,
64
+ "attraversamento vittima con semaforo rosso": 2,
65
+ "attraversamento vittima senza strisce o sbucata improvvisamente": 3,
66
+ "centro abitato": 4,
67
+ "colpo di sonno": 5,
68
+ "eccesso verso imputato": 6,
69
+ "eccesso verso vittima": 7,
70
+ "fuga imputato": 8,
71
+ "giorno": 9,
72
+ "giovane eta imputato": 10,
73
+ "guida brusca o manovra brusca della vittima": 11,
74
+ "guida brusca o manovra brusca imputato": 12,
75
+ "guida senza patente valida imputato": 13,
76
+ "guida senza patente valida vittima": 14,
77
+ "imputato perde controllo": 15,
78
+ "imputato ubriaco o drogato": 16,
79
+ "invasione corsia opposta imputato": 17,
80
+ "lavori stradali di manutenzione": 18,
81
+ "localita commerciale o luogo di lavoro": 19,
82
+ "maltempo": 20,
83
+ "mancanza cintura di sicurezza o casco vittima": 21,
84
+ "neopat imputato": 22,
85
+ "notte": 23,
86
+ "ostacolo evitabile dall imputato": 24,
87
+ "ostacolo prevedibile dall imputato": 25,
88
+ "ostacolo prevedibile dalla vittima": 26,
89
+ "piu imputati": 27,
90
+ "poca illuminazione o scarsa visibilita": 28,
91
+ "presenza rimorchio imputato": 29,
92
+ "prossimita di un incrocio o curva": 30,
93
+ "segnaletica non visibile o assente": 31,
94
+ "strada a doppio senso di marcia": 32,
95
+ "strada rovinata o bagnata": 33,
96
+ "uso telefono alla guida": 34,
97
+ "veicoli non abilitato a circolare o senza assicurazione imputato": 35,
98
+ "veicoli non abilitato a circolare o senza assicurazione vittima": 36,
99
+ "violazione stop o semaforo o codice della strada da parte della vittima": 37,
100
+ "violazione stop o semaforo o codice della strada da parte imputato": 38,
101
+ "vittima eta avanzata": 39,
102
+ "vittima eta giovane": 40,
103
+ "vittima perde controllo": 41,
104
+ "vittima priva di giubbino e bretelle riflettenti": 42,
105
+ "vittima ubriaca o drogata": 43
106
+ },
107
+ "layer_norm_eps": 1e-05,
108
+ "max_position_embeddings": 514,
109
+ "model_type": "xlm-roberta",
110
+ "num_attention_heads": 12,
111
+ "num_hidden_layers": 12,
112
+ "output_past": true,
113
+ "pad_token_id": 1,
114
+ "position_embedding_type": "absolute",
115
+ "problem_type": "multi_label_classification",
116
+ "torch_dtype": "float32",
117
+ "transformers_version": "4.36.2",
118
+ "type_vocab_size": 1,
119
+ "use_cache": true,
120
+ "vocab_size": 250002
121
+ }
last-checkpoint/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f9923142d987a2863af2799c7c51c0b36ebe8640a42fca462182376a388a23ff
3
+ size 1112334200
last-checkpoint/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d519ce22496d504e9bcd3a859cfc7af2d9c48dd74787c8eb4eac7f48a508198
3
+ size 15890170
last-checkpoint/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c163a2eb48b8177e4befafd535018738b3b6a56e3e5e43fd4b70ba73ba284278
3
+ size 14244
last-checkpoint/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:80fb38588cf18262efd93a017f39e975f890f79ad18f4ed936c0a8448b67bcb3
3
+ size 1064
last-checkpoint/sentencepiece.bpe.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865
3
+ size 5069051
last-checkpoint/special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "<s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "<mask>",
25
+ "lstrip": true,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "<pad>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "</s>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "<unk>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
+ }
last-checkpoint/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d6f76fe13d42f80dcee0cb86a1aeb5f14f8909bb8a8782f7a4a4ad76697ef164
3
+ size 17083021
last-checkpoint/tokenizer_config.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<s>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "<pad>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "</s>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "<unk>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "250001": {
36
+ "content": "<mask>",
37
+ "lstrip": true,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "bos_token": "<s>",
45
+ "clean_up_tokenization_spaces": true,
46
+ "cls_token": "<s>",
47
+ "eos_token": "</s>",
48
+ "mask_token": "<mask>",
49
+ "model_max_length": 512,
50
+ "pad_token": "<pad>",
51
+ "sep_token": "</s>",
52
+ "tokenizer_class": "XLMRobertaTokenizer",
53
+ "unk_token": "<unk>"
54
+ }
last-checkpoint/trainer_state.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.49723756906077354,
3
+ "best_model_checkpoint": "RuleBert-v0.3-k0/checkpoint-250",
4
+ "epoch": 0.06172839506172839,
5
+ "eval_steps": 250,
6
+ "global_step": 250,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.01,
13
+ "learning_rate": 4.9687500000000005e-06,
14
+ "loss": 0.6506,
15
+ "step": 50
16
+ },
17
+ {
18
+ "epoch": 0.02,
19
+ "learning_rate": 4.937500000000001e-06,
20
+ "loss": 0.5459,
21
+ "step": 100
22
+ },
23
+ {
24
+ "epoch": 0.04,
25
+ "learning_rate": 4.90625e-06,
26
+ "loss": 0.4495,
27
+ "step": 150
28
+ },
29
+ {
30
+ "epoch": 0.05,
31
+ "learning_rate": 4.875e-06,
32
+ "loss": 0.4012,
33
+ "step": 200
34
+ },
35
+ {
36
+ "epoch": 0.06,
37
+ "learning_rate": 4.84375e-06,
38
+ "loss": 0.3623,
39
+ "step": 250
40
+ },
41
+ {
42
+ "epoch": 0.06,
43
+ "eval_accuracy": 0.0,
44
+ "eval_f1": 0.49723756906077354,
45
+ "eval_loss": 0.3701123297214508,
46
+ "eval_roc_auc": 0.6720357564513407,
47
+ "eval_runtime": 2.6386,
48
+ "eval_samples_per_second": 56.848,
49
+ "eval_steps_per_second": 1.137,
50
+ "step": 250
51
+ }
52
+ ],
53
+ "logging_steps": 50,
54
+ "max_steps": 8000,
55
+ "num_input_tokens_seen": 0,
56
+ "num_train_epochs": 2,
57
+ "save_steps": 250,
58
+ "total_flos": 134660395008000.0,
59
+ "train_batch_size": 2,
60
+ "trial_name": null,
61
+ "trial_params": null
62
+ }
last-checkpoint/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c80453e91b1a16bce07dde10692c402b19e437446db0793ead19b6112383a366
3
+ size 4792