Bloch Alexandre
commited on
Commit
•
326c354
1
Parent(s):
f418cf7
Upload initial du modèle
Browse files- added_tokens.json +3 -0
- config.json +28 -0
- model.safetensors +3 -0
- optimizer.pt +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- sentencepiece.bpe.model +3 -0
- special_tokens_map.json +20 -0
- tokenizer.json +0 -0
- tokenizer_config.json +84 -0
- trainer_state.json +174 -0
- training_args.bin +3 -0
added_tokens.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<unk>NOTUSED": 32005
|
3 |
+
}
|
config.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "camembert-base",
|
3 |
+
"architectures": [
|
4 |
+
"CamembertForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 5,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 6,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 768,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 3072,
|
15 |
+
"layer_norm_eps": 1e-05,
|
16 |
+
"max_position_embeddings": 514,
|
17 |
+
"model_type": "camembert",
|
18 |
+
"num_attention_heads": 12,
|
19 |
+
"num_hidden_layers": 12,
|
20 |
+
"output_past": true,
|
21 |
+
"pad_token_id": 1,
|
22 |
+
"position_embedding_type": "absolute",
|
23 |
+
"torch_dtype": "float32",
|
24 |
+
"transformers_version": "4.46.2",
|
25 |
+
"type_vocab_size": 1,
|
26 |
+
"use_cache": true,
|
27 |
+
"vocab_size": 32005
|
28 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e6cd4c42f371c918349717ab13d959309e40f743154e409f17bd89a1b48acf5e
|
3 |
+
size 440155504
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d800cbf7b6342f828d4a239b38269e095d473acb4533fe3f5fa3dc9838bb948a
|
3 |
+
size 15132
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:367a25943f8d35178542bb39f72f92fdca7f741c4a88543149e08fbc5383a035
|
3 |
+
size 14244
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:81f7f6ef3079fd4929d3faa8c5baf85bff068d207dd56fc1d46d9961b1ef9246
|
3 |
+
size 1064
|
sentencepiece.bpe.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:988bc5a00281c6d210a5d34bd143d0363741a432fefe741bf71e61b1869d4314
|
3 |
+
size 810912
|
special_tokens_map.json
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<s>NOTUSED",
|
4 |
+
"</s>NOTUSED",
|
5 |
+
"<unk>NOTUSED"
|
6 |
+
],
|
7 |
+
"bos_token": "<s>",
|
8 |
+
"cls_token": "<s>",
|
9 |
+
"eos_token": "</s>",
|
10 |
+
"mask_token": {
|
11 |
+
"content": "<mask>",
|
12 |
+
"lstrip": true,
|
13 |
+
"normalized": false,
|
14 |
+
"rstrip": false,
|
15 |
+
"single_word": false
|
16 |
+
},
|
17 |
+
"pad_token": "<pad>",
|
18 |
+
"sep_token": "</s>",
|
19 |
+
"unk_token": "<unk>"
|
20 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": true,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"0": {
|
5 |
+
"content": "<s>NOTUSED",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": false,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
},
|
12 |
+
"1": {
|
13 |
+
"content": "<pad>",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": false,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false,
|
18 |
+
"special": true
|
19 |
+
},
|
20 |
+
"2": {
|
21 |
+
"content": "</s>NOTUSED",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": false,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false,
|
26 |
+
"special": true
|
27 |
+
},
|
28 |
+
"4": {
|
29 |
+
"content": "<unk>",
|
30 |
+
"lstrip": false,
|
31 |
+
"normalized": false,
|
32 |
+
"rstrip": false,
|
33 |
+
"single_word": false,
|
34 |
+
"special": true
|
35 |
+
},
|
36 |
+
"5": {
|
37 |
+
"content": "<s>",
|
38 |
+
"lstrip": false,
|
39 |
+
"normalized": false,
|
40 |
+
"rstrip": false,
|
41 |
+
"single_word": false,
|
42 |
+
"special": true
|
43 |
+
},
|
44 |
+
"6": {
|
45 |
+
"content": "</s>",
|
46 |
+
"lstrip": false,
|
47 |
+
"normalized": false,
|
48 |
+
"rstrip": false,
|
49 |
+
"single_word": false,
|
50 |
+
"special": true
|
51 |
+
},
|
52 |
+
"32004": {
|
53 |
+
"content": "<mask>",
|
54 |
+
"lstrip": true,
|
55 |
+
"normalized": false,
|
56 |
+
"rstrip": false,
|
57 |
+
"single_word": false,
|
58 |
+
"special": true
|
59 |
+
},
|
60 |
+
"32005": {
|
61 |
+
"content": "<unk>NOTUSED",
|
62 |
+
"lstrip": false,
|
63 |
+
"normalized": false,
|
64 |
+
"rstrip": false,
|
65 |
+
"single_word": false,
|
66 |
+
"special": true
|
67 |
+
}
|
68 |
+
},
|
69 |
+
"additional_special_tokens": [
|
70 |
+
"<s>NOTUSED",
|
71 |
+
"</s>NOTUSED",
|
72 |
+
"<unk>NOTUSED"
|
73 |
+
],
|
74 |
+
"bos_token": "<s>",
|
75 |
+
"clean_up_tokenization_spaces": false,
|
76 |
+
"cls_token": "<s>",
|
77 |
+
"eos_token": "</s>",
|
78 |
+
"mask_token": "<mask>",
|
79 |
+
"model_max_length": 512,
|
80 |
+
"pad_token": "<pad>",
|
81 |
+
"sep_token": "</s>",
|
82 |
+
"tokenizer_class": "CamembertTokenizer",
|
83 |
+
"unk_token": "<unk>"
|
84 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,174 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.34165722131729126,
|
3 |
+
"best_model_checkpoint": "camembert-model/checkpoint-1600",
|
4 |
+
"epoch": 10.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 1600,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 1.0,
|
13 |
+
"eval_accuracy": 0.880101905419033,
|
14 |
+
"eval_f1": 0.0,
|
15 |
+
"eval_loss": 0.6244299411773682,
|
16 |
+
"eval_precision": 0.0,
|
17 |
+
"eval_recall": 0.0,
|
18 |
+
"eval_runtime": 1.7459,
|
19 |
+
"eval_samples_per_second": 456.492,
|
20 |
+
"eval_steps_per_second": 28.638,
|
21 |
+
"step": 160
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"epoch": 2.0,
|
25 |
+
"eval_accuracy": 0.949524972135237,
|
26 |
+
"eval_f1": 0.0,
|
27 |
+
"eval_loss": 0.5487059354782104,
|
28 |
+
"eval_precision": 0.0,
|
29 |
+
"eval_recall": 0.0,
|
30 |
+
"eval_runtime": 1.7233,
|
31 |
+
"eval_samples_per_second": 462.498,
|
32 |
+
"eval_steps_per_second": 29.015,
|
33 |
+
"step": 320
|
34 |
+
},
|
35 |
+
{
|
36 |
+
"epoch": 3.0,
|
37 |
+
"eval_accuracy": 0.9524972135236983,
|
38 |
+
"eval_f1": 0.0,
|
39 |
+
"eval_loss": 0.4897811710834503,
|
40 |
+
"eval_precision": 0.0,
|
41 |
+
"eval_recall": 0.0,
|
42 |
+
"eval_runtime": 1.7082,
|
43 |
+
"eval_samples_per_second": 466.564,
|
44 |
+
"eval_steps_per_second": 29.27,
|
45 |
+
"step": 480
|
46 |
+
},
|
47 |
+
{
|
48 |
+
"epoch": 3.125,
|
49 |
+
"grad_norm": 1.9320571422576904,
|
50 |
+
"learning_rate": 1.375e-05,
|
51 |
+
"loss": 0.5894,
|
52 |
+
"step": 500
|
53 |
+
},
|
54 |
+
{
|
55 |
+
"epoch": 4.0,
|
56 |
+
"eval_accuracy": 0.9527625922190966,
|
57 |
+
"eval_f1": 0.0,
|
58 |
+
"eval_loss": 0.44394731521606445,
|
59 |
+
"eval_precision": 0.0,
|
60 |
+
"eval_recall": 0.0,
|
61 |
+
"eval_runtime": 1.7198,
|
62 |
+
"eval_samples_per_second": 463.435,
|
63 |
+
"eval_steps_per_second": 29.074,
|
64 |
+
"step": 640
|
65 |
+
},
|
66 |
+
{
|
67 |
+
"epoch": 5.0,
|
68 |
+
"eval_accuracy": 0.9527625922190966,
|
69 |
+
"eval_f1": 0.0,
|
70 |
+
"eval_loss": 0.40905287861824036,
|
71 |
+
"eval_precision": 0.0,
|
72 |
+
"eval_recall": 0.0,
|
73 |
+
"eval_runtime": 1.7243,
|
74 |
+
"eval_samples_per_second": 462.226,
|
75 |
+
"eval_steps_per_second": 28.998,
|
76 |
+
"step": 800
|
77 |
+
},
|
78 |
+
{
|
79 |
+
"epoch": 6.0,
|
80 |
+
"eval_accuracy": 0.9527625922190966,
|
81 |
+
"eval_f1": 0.0,
|
82 |
+
"eval_loss": 0.38293978571891785,
|
83 |
+
"eval_precision": 0.0,
|
84 |
+
"eval_recall": 0.0,
|
85 |
+
"eval_runtime": 4.7777,
|
86 |
+
"eval_samples_per_second": 166.818,
|
87 |
+
"eval_steps_per_second": 10.465,
|
88 |
+
"step": 960
|
89 |
+
},
|
90 |
+
{
|
91 |
+
"epoch": 6.25,
|
92 |
+
"grad_norm": 1.3343875408172607,
|
93 |
+
"learning_rate": 7.500000000000001e-06,
|
94 |
+
"loss": 0.4292,
|
95 |
+
"step": 1000
|
96 |
+
},
|
97 |
+
{
|
98 |
+
"epoch": 7.0,
|
99 |
+
"eval_accuracy": 0.9527625922190966,
|
100 |
+
"eval_f1": 0.0,
|
101 |
+
"eval_loss": 0.36409473419189453,
|
102 |
+
"eval_precision": 0.0,
|
103 |
+
"eval_recall": 0.0,
|
104 |
+
"eval_runtime": 1.7395,
|
105 |
+
"eval_samples_per_second": 458.191,
|
106 |
+
"eval_steps_per_second": 28.745,
|
107 |
+
"step": 1120
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 8.0,
|
111 |
+
"eval_accuracy": 0.9527625922190966,
|
112 |
+
"eval_f1": 0.0,
|
113 |
+
"eval_loss": 0.35134562849998474,
|
114 |
+
"eval_precision": 0.0,
|
115 |
+
"eval_recall": 0.0,
|
116 |
+
"eval_runtime": 1.7277,
|
117 |
+
"eval_samples_per_second": 461.316,
|
118 |
+
"eval_steps_per_second": 28.941,
|
119 |
+
"step": 1280
|
120 |
+
},
|
121 |
+
{
|
122 |
+
"epoch": 9.0,
|
123 |
+
"eval_accuracy": 0.9527625922190966,
|
124 |
+
"eval_f1": 0.0,
|
125 |
+
"eval_loss": 0.34404492378234863,
|
126 |
+
"eval_precision": 0.0,
|
127 |
+
"eval_recall": 0.0,
|
128 |
+
"eval_runtime": 1.696,
|
129 |
+
"eval_samples_per_second": 469.941,
|
130 |
+
"eval_steps_per_second": 29.482,
|
131 |
+
"step": 1440
|
132 |
+
},
|
133 |
+
{
|
134 |
+
"epoch": 9.375,
|
135 |
+
"grad_norm": 1.457685112953186,
|
136 |
+
"learning_rate": 1.25e-06,
|
137 |
+
"loss": 0.3631,
|
138 |
+
"step": 1500
|
139 |
+
},
|
140 |
+
{
|
141 |
+
"epoch": 10.0,
|
142 |
+
"eval_accuracy": 0.9527625922190966,
|
143 |
+
"eval_f1": 0.0,
|
144 |
+
"eval_loss": 0.34165722131729126,
|
145 |
+
"eval_precision": 0.0,
|
146 |
+
"eval_recall": 0.0,
|
147 |
+
"eval_runtime": 1.8323,
|
148 |
+
"eval_samples_per_second": 434.963,
|
149 |
+
"eval_steps_per_second": 27.288,
|
150 |
+
"step": 1600
|
151 |
+
}
|
152 |
+
],
|
153 |
+
"logging_steps": 500,
|
154 |
+
"max_steps": 1600,
|
155 |
+
"num_input_tokens_seen": 0,
|
156 |
+
"num_train_epochs": 10,
|
157 |
+
"save_steps": 500,
|
158 |
+
"stateful_callbacks": {
|
159 |
+
"TrainerControl": {
|
160 |
+
"args": {
|
161 |
+
"should_epoch_stop": false,
|
162 |
+
"should_evaluate": false,
|
163 |
+
"should_log": false,
|
164 |
+
"should_save": true,
|
165 |
+
"should_training_stop": true
|
166 |
+
},
|
167 |
+
"attributes": {}
|
168 |
+
}
|
169 |
+
},
|
170 |
+
"total_flos": 884828390782752.0,
|
171 |
+
"train_batch_size": 16,
|
172 |
+
"trial_name": null,
|
173 |
+
"trial_params": null
|
174 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c7ecb64fb9dc036ce5c0d01db97231428c6dec767358e4a5be44930210cabc9f
|
3 |
+
size 5304
|