Pclanglais commited on
Commit
bcd1ba6
1 Parent(s): 1b64e0c

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "[MASK]": 250101
3
+ }
config.json ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "deberta-large",
3
+ "architectures": [
4
+ "DebertaV2ForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "hidden_act": "gelu",
8
+ "hidden_dropout_prob": 0.1,
9
+ "hidden_size": 768,
10
+ "id2label": {
11
+ "0": "Fait divers",
12
+ "1": "\u00c9conomie",
13
+ "2": "Politique",
14
+ "3": "Soci\u00e9t\u00e9",
15
+ "4": "Relations internationales",
16
+ "5": "D\u00e9bat",
17
+ "6": "Inclassable",
18
+ "7": "Intervenant",
19
+ "8": "\u00c9ducation",
20
+ "9": "Sport",
21
+ "10": "Culture",
22
+ "11": "Citation",
23
+ "12": "M\u00e9ta",
24
+ "13": "Sant\u00e9",
25
+ "14": "Sondage",
26
+ "15": "Clip",
27
+ "16": "Attribution"
28
+ },
29
+ "initializer_range": 0.02,
30
+ "intermediate_size": 3072,
31
+ "label2id": {
32
+ "Attribution": 16,
33
+ "Citation": 11,
34
+ "Clip": 15,
35
+ "Culture": 10,
36
+ "D\u00e9bat": 5,
37
+ "Fait divers": 0,
38
+ "Inclassable": 6,
39
+ "Intervenant": 7,
40
+ "M\u00e9ta": 12,
41
+ "Politique": 2,
42
+ "Relations internationales": 4,
43
+ "Sant\u00e9": 13,
44
+ "Soci\u00e9t\u00e9": 3,
45
+ "Sondage": 14,
46
+ "Sport": 9,
47
+ "\u00c9conomie": 1,
48
+ "\u00c9ducation": 8
49
+ },
50
+ "layer_norm_eps": 1e-07,
51
+ "max_position_embeddings": 512,
52
+ "max_relative_positions": -1,
53
+ "model_type": "deberta-v2",
54
+ "norm_rel_ebd": "layer_norm",
55
+ "num_attention_heads": 12,
56
+ "num_hidden_layers": 12,
57
+ "pad_token_id": 0,
58
+ "pooler_dropout": 0,
59
+ "pooler_hidden_act": "gelu",
60
+ "pooler_hidden_size": 768,
61
+ "pos_att_type": [
62
+ "p2c",
63
+ "c2p"
64
+ ],
65
+ "position_biased_input": false,
66
+ "position_buckets": 256,
67
+ "problem_type": "multi_label_classification",
68
+ "relative_attention": true,
69
+ "share_att_key": true,
70
+ "torch_dtype": "float32",
71
+ "transformers_version": "4.41.2",
72
+ "type_vocab_size": 0,
73
+ "vocab_size": 251000
74
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c6ae01ec5ea9664e340bffa561d66209ab3d6dfcb3445dde83740b924b6b0098
3
+ size 1115314348
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb40f4d68239009dc360184c32e96c5c5fe40d46161fa2fe74b4d0e0808ae344
3
+ size 2230748282
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ddc66d47a306b3e53d889093b28ba9746e6e89eb7d0534c2f3eb25a8cc6ca954
3
+ size 14244
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:76bd2722733e6c0816ef855c559e7b44b866c02d7448be7b00f12a92b78e0f1d
3
+ size 1064
special_tokens_map.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "[CLS]",
3
+ "cls_token": "[CLS]",
4
+ "eos_token": "[SEP]",
5
+ "mask_token": "[MASK]",
6
+ "pad_token": "[PAD]",
7
+ "sep_token": "[SEP]",
8
+ "unk_token": {
9
+ "content": "[UNK]",
10
+ "lstrip": false,
11
+ "normalized": true,
12
+ "rstrip": false,
13
+ "single_word": false
14
+ }
15
+ }
spm.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:13c8d666d62a7bc4ac8f040aab68e942c861f93303156cc28f5c7e885d86d6e3
3
+ size 4305025
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7dbb7b63c76007984d0e58a90ee901ceb5b16c8e78252d36ddcde748b3474a1a
3
+ size 16331639
tokenizer_config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "[CLS]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "[SEP]",
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": true,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "250101": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "bos_token": "[CLS]",
45
+ "clean_up_tokenization_spaces": true,
46
+ "cls_token": "[CLS]",
47
+ "do_lower_case": false,
48
+ "eos_token": "[SEP]",
49
+ "mask_token": "[MASK]",
50
+ "model_max_length": 1000000000000000019884624838656,
51
+ "pad_token": "[PAD]",
52
+ "sep_token": "[SEP]",
53
+ "sp_model_kwargs": {},
54
+ "split_by_punct": false,
55
+ "tokenizer_class": "DebertaV2Tokenizer",
56
+ "unk_token": "[UNK]",
57
+ "vocab_type": "spm"
58
+ }
trainer_state.json ADDED
@@ -0,0 +1,167 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.686046511627907,
3
+ "best_model_checkpoint": "deberta-transcript-classification/checkpoint-8126",
4
+ "epoch": 2.0,
5
+ "eval_steps": 500,
6
+ "global_step": 8126,
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.12306177701206006,
13
+ "grad_norm": 2.0186474323272705,
14
+ "learning_rate": 1.9179588153252935e-05,
15
+ "loss": 0.2543,
16
+ "step": 500
17
+ },
18
+ {
19
+ "epoch": 0.24612355402412012,
20
+ "grad_norm": 2.220743417739868,
21
+ "learning_rate": 1.8359176306505868e-05,
22
+ "loss": 0.1969,
23
+ "step": 1000
24
+ },
25
+ {
26
+ "epoch": 0.3691853310361802,
27
+ "grad_norm": 2.504720449447632,
28
+ "learning_rate": 1.75387644597588e-05,
29
+ "loss": 0.1779,
30
+ "step": 1500
31
+ },
32
+ {
33
+ "epoch": 0.49224710804824023,
34
+ "grad_norm": 0.3125078082084656,
35
+ "learning_rate": 1.671835261301173e-05,
36
+ "loss": 0.1607,
37
+ "step": 2000
38
+ },
39
+ {
40
+ "epoch": 0.6153088850603002,
41
+ "grad_norm": 0.8753023147583008,
42
+ "learning_rate": 1.5897940766264664e-05,
43
+ "loss": 0.1519,
44
+ "step": 2500
45
+ },
46
+ {
47
+ "epoch": 0.7383706620723604,
48
+ "grad_norm": 1.9338386058807373,
49
+ "learning_rate": 1.50775289195176e-05,
50
+ "loss": 0.1481,
51
+ "step": 3000
52
+ },
53
+ {
54
+ "epoch": 0.8614324390844204,
55
+ "grad_norm": 4.1667304039001465,
56
+ "learning_rate": 1.4257117072770533e-05,
57
+ "loss": 0.1308,
58
+ "step": 3500
59
+ },
60
+ {
61
+ "epoch": 0.9844942160964805,
62
+ "grad_norm": 1.195173978805542,
63
+ "learning_rate": 1.3436705226023466e-05,
64
+ "loss": 0.141,
65
+ "step": 4000
66
+ },
67
+ {
68
+ "epoch": 1.0,
69
+ "eval_accuracy": 0.5977653631284916,
70
+ "eval_f1": 0.6445783132530121,
71
+ "eval_loss": 0.12648048996925354,
72
+ "eval_roc_auc": 0.7908519553072625,
73
+ "eval_runtime": 8.0537,
74
+ "eval_samples_per_second": 44.452,
75
+ "eval_steps_per_second": 44.452,
76
+ "step": 4063
77
+ },
78
+ {
79
+ "epoch": 1.1075559931085406,
80
+ "grad_norm": 5.743582248687744,
81
+ "learning_rate": 1.26162933792764e-05,
82
+ "loss": 0.1232,
83
+ "step": 4500
84
+ },
85
+ {
86
+ "epoch": 1.2306177701206005,
87
+ "grad_norm": 1.529942274093628,
88
+ "learning_rate": 1.1795881532529329e-05,
89
+ "loss": 0.111,
90
+ "step": 5000
91
+ },
92
+ {
93
+ "epoch": 1.3536795471326606,
94
+ "grad_norm": 0.2728979289531708,
95
+ "learning_rate": 1.0975469685782262e-05,
96
+ "loss": 0.1241,
97
+ "step": 5500
98
+ },
99
+ {
100
+ "epoch": 1.4767413241447207,
101
+ "grad_norm": 0.21842879056930542,
102
+ "learning_rate": 1.0155057839035196e-05,
103
+ "loss": 0.1185,
104
+ "step": 6000
105
+ },
106
+ {
107
+ "epoch": 1.5998031011567808,
108
+ "grad_norm": 0.08660631626844406,
109
+ "learning_rate": 9.334645992288129e-06,
110
+ "loss": 0.1276,
111
+ "step": 6500
112
+ },
113
+ {
114
+ "epoch": 1.7228648781688407,
115
+ "grad_norm": 0.07522659748792648,
116
+ "learning_rate": 8.514234145541062e-06,
117
+ "loss": 0.1116,
118
+ "step": 7000
119
+ },
120
+ {
121
+ "epoch": 1.8459266551809008,
122
+ "grad_norm": 0.2456115484237671,
123
+ "learning_rate": 7.693822298793995e-06,
124
+ "loss": 0.1065,
125
+ "step": 7500
126
+ },
127
+ {
128
+ "epoch": 1.968988432192961,
129
+ "grad_norm": 0.16100919246673584,
130
+ "learning_rate": 6.873410452046928e-06,
131
+ "loss": 0.1113,
132
+ "step": 8000
133
+ },
134
+ {
135
+ "epoch": 2.0,
136
+ "eval_accuracy": 0.6564245810055865,
137
+ "eval_f1": 0.686046511627907,
138
+ "eval_loss": 0.1288219690322876,
139
+ "eval_roc_auc": 0.8214036312849162,
140
+ "eval_runtime": 7.9308,
141
+ "eval_samples_per_second": 45.141,
142
+ "eval_steps_per_second": 45.141,
143
+ "step": 8126
144
+ }
145
+ ],
146
+ "logging_steps": 500,
147
+ "max_steps": 12189,
148
+ "num_input_tokens_seen": 0,
149
+ "num_train_epochs": 3,
150
+ "save_steps": 500,
151
+ "stateful_callbacks": {
152
+ "TrainerControl": {
153
+ "args": {
154
+ "should_epoch_stop": false,
155
+ "should_evaluate": false,
156
+ "should_log": false,
157
+ "should_save": true,
158
+ "should_training_stop": false
159
+ },
160
+ "attributes": {}
161
+ }
162
+ },
163
+ "total_flos": 2138366728169472.0,
164
+ "train_batch_size": 1,
165
+ "trial_name": null,
166
+ "trial_params": null
167
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4aa5310d6ba88a25eca47dd9fa56586e863fe941e9c9955f4867279a9f4989ee
3
+ size 5176