lamia24 commited on
Commit
e111b44
·
verified ·
1 Parent(s): d61023c

Upload folder using huggingface_hub

Browse files
checkpoint-1320/config.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "T5ForConditionalGeneration"
4
+ ],
5
+ "bos_token_id": 1,
6
+ "classifier_dropout": 0.0,
7
+ "d_ff": 4096,
8
+ "d_kv": 64,
9
+ "d_model": 1024,
10
+ "decoder_start_token_id": 0,
11
+ "dense_act_fn": "relu",
12
+ "dropout_rate": 0.1,
13
+ "dtype": "float32",
14
+ "eos_token_id": 2,
15
+ "feed_forward_proj": "relu",
16
+ "initializer_factor": 1.0,
17
+ "is_decoder": false,
18
+ "is_encoder_decoder": true,
19
+ "is_gated_act": false,
20
+ "layer_norm_epsilon": 1e-06,
21
+ "model_type": "t5",
22
+ "n_positions": 512,
23
+ "num_decoder_layers": 24,
24
+ "num_heads": 16,
25
+ "num_layers": 24,
26
+ "output_past": true,
27
+ "pad_token_id": 0,
28
+ "relative_attention_max_distance": 128,
29
+ "relative_attention_num_buckets": 32,
30
+ "scale_decoder_outputs": true,
31
+ "tie_word_embeddings": true,
32
+ "transformers_version": "5.0.0",
33
+ "use_cache": false,
34
+ "vocab_size": 32100
35
+ }
checkpoint-1320/generation_config.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "decoder_start_token_id": 0,
5
+ "eos_token_id": [
6
+ 2
7
+ ],
8
+ "pad_token_id": 0,
9
+ "transformers_version": "5.0.0",
10
+ "use_cache": true
11
+ }
checkpoint-1320/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:990f0a106c31b3fff00a1203b99609af59a669850754bd9de740efcae0b0dbea
3
+ size 3345064960
checkpoint-1320/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:955f9e08cc7ba96b89ae2b7107a17b932475a067329b0350adf9dea25d9ae604
3
+ size 5623974
checkpoint-1320/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:de065963e4dd7748b79d2b7b83708c1a3e7ed9cf39529a90a3b974b49849baec
3
+ size 14645
checkpoint-1320/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:afa4e1f8e4bd04cc52e2ad6c0f0814fb0194865c617c8d60be208deb5c303472
3
+ size 1465
checkpoint-1320/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-1320/tokenizer_config.json ADDED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": "<s>",
5
+ "cls_token": "<s>",
6
+ "eos_token": "</s>",
7
+ "errors": "replace",
8
+ "extra_special_tokens": [
9
+ "<extra_id_99>",
10
+ "<extra_id_98>",
11
+ "<extra_id_97>",
12
+ "<extra_id_96>",
13
+ "<extra_id_95>",
14
+ "<extra_id_94>",
15
+ "<extra_id_93>",
16
+ "<extra_id_92>",
17
+ "<extra_id_91>",
18
+ "<extra_id_90>",
19
+ "<extra_id_89>",
20
+ "<extra_id_88>",
21
+ "<extra_id_87>",
22
+ "<extra_id_86>",
23
+ "<extra_id_85>",
24
+ "<extra_id_84>",
25
+ "<extra_id_83>",
26
+ "<extra_id_82>",
27
+ "<extra_id_81>",
28
+ "<extra_id_80>",
29
+ "<extra_id_79>",
30
+ "<extra_id_78>",
31
+ "<extra_id_77>",
32
+ "<extra_id_76>",
33
+ "<extra_id_75>",
34
+ "<extra_id_74>",
35
+ "<extra_id_73>",
36
+ "<extra_id_72>",
37
+ "<extra_id_71>",
38
+ "<extra_id_70>",
39
+ "<extra_id_69>",
40
+ "<extra_id_68>",
41
+ "<extra_id_67>",
42
+ "<extra_id_66>",
43
+ "<extra_id_65>",
44
+ "<extra_id_64>",
45
+ "<extra_id_63>",
46
+ "<extra_id_62>",
47
+ "<extra_id_61>",
48
+ "<extra_id_60>",
49
+ "<extra_id_59>",
50
+ "<extra_id_58>",
51
+ "<extra_id_57>",
52
+ "<extra_id_56>",
53
+ "<extra_id_55>",
54
+ "<extra_id_54>",
55
+ "<extra_id_53>",
56
+ "<extra_id_52>",
57
+ "<extra_id_51>",
58
+ "<extra_id_50>",
59
+ "<extra_id_49>",
60
+ "<extra_id_48>",
61
+ "<extra_id_47>",
62
+ "<extra_id_46>",
63
+ "<extra_id_45>",
64
+ "<extra_id_44>",
65
+ "<extra_id_43>",
66
+ "<extra_id_42>",
67
+ "<extra_id_41>",
68
+ "<extra_id_40>",
69
+ "<extra_id_39>",
70
+ "<extra_id_38>",
71
+ "<extra_id_37>",
72
+ "<extra_id_36>",
73
+ "<extra_id_35>",
74
+ "<extra_id_34>",
75
+ "<extra_id_33>",
76
+ "<extra_id_32>",
77
+ "<extra_id_31>",
78
+ "<extra_id_30>",
79
+ "<extra_id_29>",
80
+ "<extra_id_28>",
81
+ "<extra_id_27>",
82
+ "<extra_id_26>",
83
+ "<extra_id_25>",
84
+ "<extra_id_24>",
85
+ "<extra_id_23>",
86
+ "<extra_id_22>",
87
+ "<extra_id_21>",
88
+ "<extra_id_20>",
89
+ "<extra_id_19>",
90
+ "<extra_id_18>",
91
+ "<extra_id_17>",
92
+ "<extra_id_16>",
93
+ "<extra_id_15>",
94
+ "<extra_id_14>",
95
+ "<extra_id_13>",
96
+ "<extra_id_12>",
97
+ "<extra_id_11>",
98
+ "<extra_id_10>",
99
+ "<extra_id_9>",
100
+ "<extra_id_8>",
101
+ "<extra_id_7>",
102
+ "<extra_id_6>",
103
+ "<extra_id_5>",
104
+ "<extra_id_4>",
105
+ "<extra_id_3>",
106
+ "<extra_id_2>",
107
+ "<extra_id_1>",
108
+ "<extra_id_0>"
109
+ ],
110
+ "is_local": true,
111
+ "mask_token": "<mask>",
112
+ "max_length": 64,
113
+ "model_max_length": 512,
114
+ "pad_token": "<pad>",
115
+ "sep_token": "</s>",
116
+ "stride": 0,
117
+ "tokenizer_class": "TokenizersBackend",
118
+ "trim_offsets": true,
119
+ "truncation_side": "right",
120
+ "truncation_strategy": "longest_first",
121
+ "unk_token": "<unk>"
122
+ }
checkpoint-1320/trainer_state.json ADDED
@@ -0,0 +1,133 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 880,
3
+ "best_metric": 0.004267565440386534,
4
+ "best_model_checkpoint": "/content/drive/MyDrive/evo_CodeT5plus_fullFT/checkpoint-880",
5
+ "epoch": 6.0,
6
+ "eval_steps": 500,
7
+ "global_step": 1320,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 1.0,
14
+ "grad_norm": 0.3628389537334442,
15
+ "learning_rate": 3e-05,
16
+ "loss": 0.4384054010564631,
17
+ "step": 220
18
+ },
19
+ {
20
+ "epoch": 1.0,
21
+ "eval_loss": 0.020545126870274544,
22
+ "eval_runtime": 15.8299,
23
+ "eval_samples_per_second": 13.898,
24
+ "eval_steps_per_second": 6.949,
25
+ "step": 220
26
+ },
27
+ {
28
+ "epoch": 2.0,
29
+ "grad_norm": 0.011017576791346073,
30
+ "learning_rate": 3e-05,
31
+ "loss": 0.05806919444691051,
32
+ "step": 440
33
+ },
34
+ {
35
+ "epoch": 2.0,
36
+ "eval_loss": 0.011296279728412628,
37
+ "eval_runtime": 15.6712,
38
+ "eval_samples_per_second": 14.038,
39
+ "eval_steps_per_second": 7.019,
40
+ "step": 440
41
+ },
42
+ {
43
+ "epoch": 3.0,
44
+ "grad_norm": 0.7181199789047241,
45
+ "learning_rate": 3e-05,
46
+ "loss": 0.034655919941988855,
47
+ "step": 660
48
+ },
49
+ {
50
+ "epoch": 3.0,
51
+ "eval_loss": 0.004910873249173164,
52
+ "eval_runtime": 15.6022,
53
+ "eval_samples_per_second": 14.101,
54
+ "eval_steps_per_second": 7.05,
55
+ "step": 660
56
+ },
57
+ {
58
+ "epoch": 4.0,
59
+ "grad_norm": 0.009874860756099224,
60
+ "learning_rate": 3e-05,
61
+ "loss": 0.01791459538719871,
62
+ "step": 880
63
+ },
64
+ {
65
+ "epoch": 4.0,
66
+ "eval_loss": 0.004267565440386534,
67
+ "eval_runtime": 15.9107,
68
+ "eval_samples_per_second": 13.827,
69
+ "eval_steps_per_second": 6.914,
70
+ "step": 880
71
+ },
72
+ {
73
+ "epoch": 5.0,
74
+ "grad_norm": 0.03301338851451874,
75
+ "learning_rate": 3e-05,
76
+ "loss": 0.016247032989155162,
77
+ "step": 1100
78
+ },
79
+ {
80
+ "epoch": 5.0,
81
+ "eval_loss": 0.007896807044744492,
82
+ "eval_runtime": 15.7075,
83
+ "eval_samples_per_second": 14.006,
84
+ "eval_steps_per_second": 7.003,
85
+ "step": 1100
86
+ },
87
+ {
88
+ "epoch": 6.0,
89
+ "grad_norm": 5.63120174407959,
90
+ "learning_rate": 3e-05,
91
+ "loss": 0.01246725862676447,
92
+ "step": 1320
93
+ },
94
+ {
95
+ "epoch": 6.0,
96
+ "eval_loss": 0.004386806860566139,
97
+ "eval_runtime": 15.5503,
98
+ "eval_samples_per_second": 14.148,
99
+ "eval_steps_per_second": 7.074,
100
+ "step": 1320
101
+ }
102
+ ],
103
+ "logging_steps": 500,
104
+ "max_steps": 4400,
105
+ "num_input_tokens_seen": 0,
106
+ "num_train_epochs": 20,
107
+ "save_steps": 500,
108
+ "stateful_callbacks": {
109
+ "EarlyStoppingCallback": {
110
+ "args": {
111
+ "early_stopping_patience": 3,
112
+ "early_stopping_threshold": 0.001
113
+ },
114
+ "attributes": {
115
+ "early_stopping_patience_counter": 3
116
+ }
117
+ },
118
+ "TrainerControl": {
119
+ "args": {
120
+ "should_epoch_stop": false,
121
+ "should_evaluate": false,
122
+ "should_log": false,
123
+ "should_save": true,
124
+ "should_training_stop": true
125
+ },
126
+ "attributes": {}
127
+ }
128
+ },
129
+ "total_flos": 6063405351321600.0,
130
+ "train_batch_size": 2,
131
+ "trial_name": null,
132
+ "trial_params": null
133
+ }
checkpoint-1320/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6bf679aaec217fb4d9e919dfec72ee226f1bd969d1bea59569e2c98f7dd71e56
3
+ size 5329
config.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "T5ForConditionalGeneration"
4
+ ],
5
+ "bos_token_id": 1,
6
+ "classifier_dropout": 0.0,
7
+ "d_ff": 4096,
8
+ "d_kv": 64,
9
+ "d_model": 1024,
10
+ "decoder_start_token_id": 0,
11
+ "dense_act_fn": "relu",
12
+ "dropout_rate": 0.1,
13
+ "dtype": "float32",
14
+ "eos_token_id": 2,
15
+ "feed_forward_proj": "relu",
16
+ "initializer_factor": 1.0,
17
+ "is_decoder": false,
18
+ "is_encoder_decoder": true,
19
+ "is_gated_act": false,
20
+ "layer_norm_epsilon": 1e-06,
21
+ "model_type": "t5",
22
+ "n_positions": 512,
23
+ "num_decoder_layers": 24,
24
+ "num_heads": 16,
25
+ "num_layers": 24,
26
+ "output_past": true,
27
+ "pad_token_id": 0,
28
+ "relative_attention_max_distance": 128,
29
+ "relative_attention_num_buckets": 32,
30
+ "scale_decoder_outputs": true,
31
+ "tie_word_embeddings": true,
32
+ "transformers_version": "5.0.0",
33
+ "use_cache": true,
34
+ "vocab_size": 32100
35
+ }
generation_config.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "decoder_start_token_id": 0,
5
+ "eos_token_id": [
6
+ 2
7
+ ],
8
+ "pad_token_id": 0,
9
+ "transformers_version": "5.0.0",
10
+ "use_cache": true
11
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e827d671193a0404f1eaea5d873b63a04b0b8b61038490f9d2b92a4784dc9469
3
+ size 3345064960
resultats_CodeT5plus_StratA_FullFT.json ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "modele": "CodeT5plus_StratA_FullFT",
3
+ "nb_test": 120,
4
+ "EM": 0.3,
5
+ "BLEU": 0.5654239741370551,
6
+ "Smooth_BLEU": 0.5654239741370551,
7
+ "ROUGE-1": 0.9163779668542706,
8
+ "ROUGE-2": 0.8902095638862539,
9
+ "ROUGE-L": 0.9125599386781188,
10
+ "METEOR": 0.8646130581094348,
11
+ "BERT-P": 0.9993308782577515,
12
+ "BERT-R": 0.9993308782577515,
13
+ "BERT-F1": 0.9993308782577515,
14
+ "validite_syntaxique": {
15
+ "validite_globale": 0.9416666666666667,
16
+ "validite_ACME": 0.9705882352941176,
17
+ "validite_AADL": 0.9038461538461539,
18
+ "nb_valides": 113,
19
+ "nb_total": 120
20
+ },
21
+ "precision_operationnelle": {
22
+ "ADD_CONNECTOR": {
23
+ "correct": 20,
24
+ "total": 20,
25
+ "precision": 1.0
26
+ },
27
+ "DELETE_CONNECTOR": {
28
+ "correct": 20,
29
+ "total": 20,
30
+ "precision": 1.0
31
+ },
32
+ "MODIFY_PROPERTY": {
33
+ "correct": 19,
34
+ "total": 20,
35
+ "precision": 0.95
36
+ },
37
+ "ADD_COMPONENT": {
38
+ "correct": 8,
39
+ "total": 20,
40
+ "precision": 0.4
41
+ },
42
+ "ADD_PORT": {
43
+ "correct": 20,
44
+ "total": 20,
45
+ "precision": 1.0
46
+ },
47
+ "DELETE_COMPONENT": {
48
+ "correct": 20,
49
+ "total": 20,
50
+ "precision": 1.0
51
+ },
52
+ "GLOBAL": {
53
+ "correct": 107,
54
+ "total": 120,
55
+ "precision": 0.8917
56
+ }
57
+ },
58
+ "score_composite": 0.9289
59
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": "<s>",
5
+ "cls_token": "<s>",
6
+ "eos_token": "</s>",
7
+ "errors": "replace",
8
+ "extra_special_tokens": [
9
+ "<extra_id_99>",
10
+ "<extra_id_98>",
11
+ "<extra_id_97>",
12
+ "<extra_id_96>",
13
+ "<extra_id_95>",
14
+ "<extra_id_94>",
15
+ "<extra_id_93>",
16
+ "<extra_id_92>",
17
+ "<extra_id_91>",
18
+ "<extra_id_90>",
19
+ "<extra_id_89>",
20
+ "<extra_id_88>",
21
+ "<extra_id_87>",
22
+ "<extra_id_86>",
23
+ "<extra_id_85>",
24
+ "<extra_id_84>",
25
+ "<extra_id_83>",
26
+ "<extra_id_82>",
27
+ "<extra_id_81>",
28
+ "<extra_id_80>",
29
+ "<extra_id_79>",
30
+ "<extra_id_78>",
31
+ "<extra_id_77>",
32
+ "<extra_id_76>",
33
+ "<extra_id_75>",
34
+ "<extra_id_74>",
35
+ "<extra_id_73>",
36
+ "<extra_id_72>",
37
+ "<extra_id_71>",
38
+ "<extra_id_70>",
39
+ "<extra_id_69>",
40
+ "<extra_id_68>",
41
+ "<extra_id_67>",
42
+ "<extra_id_66>",
43
+ "<extra_id_65>",
44
+ "<extra_id_64>",
45
+ "<extra_id_63>",
46
+ "<extra_id_62>",
47
+ "<extra_id_61>",
48
+ "<extra_id_60>",
49
+ "<extra_id_59>",
50
+ "<extra_id_58>",
51
+ "<extra_id_57>",
52
+ "<extra_id_56>",
53
+ "<extra_id_55>",
54
+ "<extra_id_54>",
55
+ "<extra_id_53>",
56
+ "<extra_id_52>",
57
+ "<extra_id_51>",
58
+ "<extra_id_50>",
59
+ "<extra_id_49>",
60
+ "<extra_id_48>",
61
+ "<extra_id_47>",
62
+ "<extra_id_46>",
63
+ "<extra_id_45>",
64
+ "<extra_id_44>",
65
+ "<extra_id_43>",
66
+ "<extra_id_42>",
67
+ "<extra_id_41>",
68
+ "<extra_id_40>",
69
+ "<extra_id_39>",
70
+ "<extra_id_38>",
71
+ "<extra_id_37>",
72
+ "<extra_id_36>",
73
+ "<extra_id_35>",
74
+ "<extra_id_34>",
75
+ "<extra_id_33>",
76
+ "<extra_id_32>",
77
+ "<extra_id_31>",
78
+ "<extra_id_30>",
79
+ "<extra_id_29>",
80
+ "<extra_id_28>",
81
+ "<extra_id_27>",
82
+ "<extra_id_26>",
83
+ "<extra_id_25>",
84
+ "<extra_id_24>",
85
+ "<extra_id_23>",
86
+ "<extra_id_22>",
87
+ "<extra_id_21>",
88
+ "<extra_id_20>",
89
+ "<extra_id_19>",
90
+ "<extra_id_18>",
91
+ "<extra_id_17>",
92
+ "<extra_id_16>",
93
+ "<extra_id_15>",
94
+ "<extra_id_14>",
95
+ "<extra_id_13>",
96
+ "<extra_id_12>",
97
+ "<extra_id_11>",
98
+ "<extra_id_10>",
99
+ "<extra_id_9>",
100
+ "<extra_id_8>",
101
+ "<extra_id_7>",
102
+ "<extra_id_6>",
103
+ "<extra_id_5>",
104
+ "<extra_id_4>",
105
+ "<extra_id_3>",
106
+ "<extra_id_2>",
107
+ "<extra_id_1>",
108
+ "<extra_id_0>"
109
+ ],
110
+ "is_local": true,
111
+ "mask_token": "<mask>",
112
+ "max_length": 64,
113
+ "model_max_length": 512,
114
+ "pad_token": "<pad>",
115
+ "sep_token": "</s>",
116
+ "stride": 0,
117
+ "tokenizer_class": "TokenizersBackend",
118
+ "trim_offsets": true,
119
+ "truncation_side": "right",
120
+ "truncation_strategy": "longest_first",
121
+ "unk_token": "<unk>"
122
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6bf679aaec217fb4d9e919dfec72ee226f1bd969d1bea59569e2c98f7dd71e56
3
+ size 5329