zahidazam714 commited on
Commit
c84d39f
·
verified ·
1 Parent(s): 1916a3b

khowar-ocr-v0.1 — 500 more steps completed successfully

Browse files
README.md CHANGED
@@ -41,7 +41,7 @@ The following hyperparameters were used during training:
41
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
42
  - lr_scheduler_type: cosine
43
  - lr_scheduler_warmup_ratio: 0.05
44
- - training_steps: 400
45
 
46
  ### Training results
47
 
 
41
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
42
  - lr_scheduler_type: cosine
43
  - lr_scheduler_warmup_ratio: 0.05
44
+ - training_steps: 500
45
 
46
  ### Training results
47
 
adapter_config.json CHANGED
@@ -4,7 +4,7 @@
4
  "base_model_class": "DeepseekOCR2ForCausalLM",
5
  "parent_library": "transformers_modules.deepseek_ocr2.modeling_deepseekocr2"
6
  },
7
- "base_model_name_or_path": "./deepseek_ocr2",
8
  "bias": "none",
9
  "eva_config": null,
10
  "exclude_modules": null,
 
4
  "base_model_class": "DeepseekOCR2ForCausalLM",
5
  "parent_library": "transformers_modules.deepseek_ocr2.modeling_deepseekocr2"
6
  },
7
+ "base_model_name_or_path": "deepseek-ai/DeepSeek-OCR-2",
8
  "bias": "none",
9
  "eva_config": null,
10
  "exclude_modules": null,
checkpoint-300/adapter_config.json CHANGED
@@ -4,7 +4,7 @@
4
  "base_model_class": "DeepseekOCR2ForCausalLM",
5
  "parent_library": "transformers_modules.deepseek_ocr2.modeling_deepseekocr2"
6
  },
7
- "base_model_name_or_path": "./deepseek_ocr2",
8
  "bias": "none",
9
  "eva_config": null,
10
  "exclude_modules": null,
@@ -26,12 +26,12 @@
26
  "rank_pattern": {},
27
  "revision": null,
28
  "target_modules": [
 
 
29
  "gate_proj",
 
30
  "o_proj",
31
  "down_proj",
32
- "k_proj",
33
- "q_proj",
34
- "up_proj",
35
  "v_proj"
36
  ],
37
  "task_type": null,
 
4
  "base_model_class": "DeepseekOCR2ForCausalLM",
5
  "parent_library": "transformers_modules.deepseek_ocr2.modeling_deepseekocr2"
6
  },
7
+ "base_model_name_or_path": "deepseek-ai/DeepSeek-OCR-2",
8
  "bias": "none",
9
  "eva_config": null,
10
  "exclude_modules": null,
 
26
  "rank_pattern": {},
27
  "revision": null,
28
  "target_modules": [
29
+ "q_proj",
30
+ "up_proj",
31
  "gate_proj",
32
+ "k_proj",
33
  "o_proj",
34
  "down_proj",
 
 
 
35
  "v_proj"
36
  ],
37
  "task_type": null,
checkpoint-300/adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:49225bdfece2f60873c978dfb88841a9fce3e166480222724e92ca74c6b6c3c2
3
  size 345908528
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f7dbf98848d2336caaba98632684b174e1287c382d40af80627d3df0dd5100b
3
  size 345908528
checkpoint-300/optimizer.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d0c6c10682cb1ba21dc38d3754d30a6fcc92775de5f8e40f4a77b912ecbed7aa
3
  size 623793650
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:49d75fe089936fef213894e79d51a30727a7dff9665780855164f437cb484d86
3
  size 623793650
checkpoint-300/scheduler.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:88a9347a4cd2db511fcf2930375e7b4afd3d67449bc1459eccfeb525cf4e47d8
3
  size 1064
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0911d0de7ae88322b7c447d0f2a66e51b5eedf71f2272bb5085f64755fd768ff
3
  size 1064
checkpoint-300/trainer_state.json CHANGED
@@ -10,217 +10,217 @@
10
  "log_history": [
11
  {
12
  "epoch": 0.005009078955607038,
13
- "grad_norm": 1.5533589124679565,
14
- "learning_rate": 5e-05,
15
- "loss": 0.95,
16
  "step": 10
17
  },
18
  {
19
  "epoch": 0.010018157911214076,
20
- "grad_norm": 1.021743893623352,
21
- "learning_rate": 0.0001,
22
- "loss": 0.9669,
23
  "step": 20
24
  },
25
  {
26
  "epoch": 0.015027236866821113,
27
- "grad_norm": 1.259873390197754,
28
- "learning_rate": 9.98292246503335e-05,
29
- "loss": 0.6369,
30
  "step": 30
31
  },
32
  {
33
  "epoch": 0.020036315822428152,
34
- "grad_norm": 1.4768264293670654,
35
- "learning_rate": 9.931806517013612e-05,
36
- "loss": 0.6555,
37
  "step": 40
38
  },
39
  {
40
  "epoch": 0.02504539477803519,
41
- "grad_norm": 1.2998743057250977,
42
- "learning_rate": 9.847001329696653e-05,
43
- "loss": 0.6878,
44
  "step": 50
45
  },
46
  {
47
  "epoch": 0.030054473733642225,
48
- "grad_norm": 1.6125634908676147,
49
- "learning_rate": 9.729086208503174e-05,
50
- "loss": 0.6729,
51
  "step": 60
52
  },
53
  {
54
  "epoch": 0.03506355268924927,
55
- "grad_norm": 1.060158133506775,
56
- "learning_rate": 9.578866633275288e-05,
57
- "loss": 0.6526,
58
  "step": 70
59
  },
60
  {
61
  "epoch": 0.040072631644856305,
62
- "grad_norm": 1.2780332565307617,
63
- "learning_rate": 9.397368756032445e-05,
64
- "loss": 0.6077,
65
  "step": 80
66
  },
67
  {
68
  "epoch": 0.04508171060046334,
69
- "grad_norm": 1.7625467777252197,
70
- "learning_rate": 9.185832391312644e-05,
71
- "loss": 0.6803,
72
  "step": 90
73
  },
74
  {
75
  "epoch": 0.05009078955607038,
76
- "grad_norm": 1.5264769792556763,
77
- "learning_rate": 8.945702546981969e-05,
78
- "loss": 0.7137,
79
  "step": 100
80
  },
81
  {
82
  "epoch": 0.05509986851167741,
83
- "grad_norm": 1.1182994842529297,
84
- "learning_rate": 8.678619553365659e-05,
85
- "loss": 0.4694,
86
  "step": 110
87
  },
88
  {
89
  "epoch": 0.06010894746728445,
90
- "grad_norm": 1.0322476625442505,
91
- "learning_rate": 8.386407858128706e-05,
92
- "loss": 0.6061,
93
  "step": 120
94
  },
95
  {
96
  "epoch": 0.0651180264228915,
97
- "grad_norm": 1.7920445203781128,
98
- "learning_rate": 8.07106356344834e-05,
99
- "loss": 0.5934,
100
  "step": 130
101
  },
102
  {
103
  "epoch": 0.07012710537849853,
104
- "grad_norm": 1.217824935913086,
105
- "learning_rate": 7.734740790612136e-05,
106
- "loss": 0.535,
107
  "step": 140
108
  },
109
  {
110
  "epoch": 0.07513618433410557,
111
- "grad_norm": 0.7182851433753967,
112
- "learning_rate": 7.379736965185368e-05,
113
- "loss": 0.4449,
114
  "step": 150
115
  },
116
  {
117
  "epoch": 0.08014526328971261,
118
- "grad_norm": 1.2497895956039429,
119
- "learning_rate": 7.008477123264848e-05,
120
- "loss": 0.6418,
121
  "step": 160
122
  },
123
  {
124
  "epoch": 0.08515434224531965,
125
- "grad_norm": 1.510805368423462,
126
- "learning_rate": 6.623497346023418e-05,
127
- "loss": 0.5713,
128
  "step": 170
129
  },
130
  {
131
  "epoch": 0.09016342120092669,
132
- "grad_norm": 1.4163625240325928,
133
- "learning_rate": 6.227427435703997e-05,
134
- "loss": 0.6913,
135
  "step": 180
136
  },
137
  {
138
  "epoch": 0.09517250015653372,
139
- "grad_norm": 1.3737024068832397,
140
- "learning_rate": 5.8229729514036705e-05,
141
- "loss": 0.6378,
142
  "step": 190
143
  },
144
  {
145
  "epoch": 0.10018157911214076,
146
- "grad_norm": 1.7208032608032227,
147
- "learning_rate": 5.4128967273616625e-05,
148
- "loss": 0.6681,
149
  "step": 200
150
  },
151
  {
152
  "epoch": 0.1051906580677478,
153
- "grad_norm": 0.9851288795471191,
154
- "learning_rate": 5e-05,
155
- "loss": 0.3379,
156
  "step": 210
157
  },
158
  {
159
  "epoch": 0.11019973702335482,
160
- "grad_norm": 1.9492233991622925,
161
- "learning_rate": 4.5871032726383386e-05,
162
- "loss": 0.837,
163
  "step": 220
164
  },
165
  {
166
  "epoch": 0.11520881597896186,
167
- "grad_norm": 1.1744173765182495,
168
- "learning_rate": 4.17702704859633e-05,
169
- "loss": 0.7048,
170
  "step": 230
171
  },
172
  {
173
  "epoch": 0.1202178949345689,
174
- "grad_norm": 1.6242769956588745,
175
- "learning_rate": 3.772572564296005e-05,
176
- "loss": 0.6228,
177
  "step": 240
178
  },
179
  {
180
  "epoch": 0.12522697389017595,
181
- "grad_norm": 1.6513652801513672,
182
- "learning_rate": 3.3765026539765834e-05,
183
- "loss": 0.7581,
184
  "step": 250
185
  },
186
  {
187
  "epoch": 0.130236052845783,
188
- "grad_norm": 2.13556170463562,
189
- "learning_rate": 2.991522876735154e-05,
190
- "loss": 0.85,
191
  "step": 260
192
  },
193
  {
194
  "epoch": 0.13524513180139003,
195
- "grad_norm": 1.3880395889282227,
196
- "learning_rate": 2.6202630348146324e-05,
197
- "loss": 0.8701,
198
  "step": 270
199
  },
200
  {
201
  "epoch": 0.14025421075699707,
202
- "grad_norm": 1.7061687707901,
203
- "learning_rate": 2.2652592093878666e-05,
204
- "loss": 0.822,
205
  "step": 280
206
  },
207
  {
208
  "epoch": 0.1452632897126041,
209
- "grad_norm": 1.5672444105148315,
210
- "learning_rate": 1.928936436551661e-05,
211
- "loss": 0.5852,
212
  "step": 290
213
  },
214
  {
215
  "epoch": 0.15027236866821114,
216
- "grad_norm": 1.853024959564209,
217
- "learning_rate": 1.6135921418712956e-05,
218
- "loss": 1.0337,
219
  "step": 300
220
  }
221
  ],
222
  "logging_steps": 10,
223
- "max_steps": 400,
224
  "num_input_tokens_seen": 0,
225
  "num_train_epochs": 1,
226
  "save_steps": 100,
 
10
  "log_history": [
11
  {
12
  "epoch": 0.005009078955607038,
13
+ "grad_norm": 2.341935634613037,
14
+ "learning_rate": 4e-05,
15
+ "loss": 0.713,
16
  "step": 10
17
  },
18
  {
19
  "epoch": 0.010018157911214076,
20
+ "grad_norm": 1.1017119884490967,
21
+ "learning_rate": 8e-05,
22
+ "loss": 0.6786,
23
  "step": 20
24
  },
25
  {
26
  "epoch": 0.015027236866821113,
27
+ "grad_norm": 1.0087612867355347,
28
+ "learning_rate": 9.997266286704631e-05,
29
+ "loss": 0.3887,
30
  "step": 30
31
  },
32
  {
33
  "epoch": 0.020036315822428152,
34
+ "grad_norm": 1.560015320777893,
35
+ "learning_rate": 9.975414512725057e-05,
36
+ "loss": 0.3912,
37
  "step": 40
38
  },
39
  {
40
  "epoch": 0.02504539477803519,
41
+ "grad_norm": 1.2603834867477417,
42
+ "learning_rate": 9.931806517013612e-05,
43
+ "loss": 0.4354,
44
  "step": 50
45
  },
46
  {
47
  "epoch": 0.030054473733642225,
48
+ "grad_norm": 1.7070958614349365,
49
+ "learning_rate": 9.86663298624003e-05,
50
+ "loss": 0.4049,
51
  "step": 60
52
  },
53
  {
54
  "epoch": 0.03506355268924927,
55
+ "grad_norm": 0.9318763017654419,
56
+ "learning_rate": 9.780178907671789e-05,
57
+ "loss": 0.4252,
58
  "step": 70
59
  },
60
  {
61
  "epoch": 0.040072631644856305,
62
+ "grad_norm": 1.4212697744369507,
63
+ "learning_rate": 9.672822322997305e-05,
64
+ "loss": 0.3939,
65
  "step": 80
66
  },
67
  {
68
  "epoch": 0.04508171060046334,
69
+ "grad_norm": 1.7951005697250366,
70
+ "learning_rate": 9.545032675245813e-05,
71
+ "loss": 0.4386,
72
  "step": 90
73
  },
74
  {
75
  "epoch": 0.05009078955607038,
76
+ "grad_norm": 1.7150332927703857,
77
+ "learning_rate": 9.397368756032445e-05,
78
+ "loss": 0.4666,
79
  "step": 100
80
  },
81
  {
82
  "epoch": 0.05509986851167741,
83
+ "grad_norm": 1.0535022020339966,
84
+ "learning_rate": 9.230476262104677e-05,
85
+ "loss": 0.2831,
86
  "step": 110
87
  },
88
  {
89
  "epoch": 0.06010894746728445,
90
+ "grad_norm": 0.8590908646583557,
91
+ "learning_rate": 9.045084971874738e-05,
92
+ "loss": 0.3978,
93
  "step": 120
94
  },
95
  {
96
  "epoch": 0.0651180264228915,
97
+ "grad_norm": 1.7438238859176636,
98
+ "learning_rate": 8.842005554284296e-05,
99
+ "loss": 0.3853,
100
  "step": 130
101
  },
102
  {
103
  "epoch": 0.07012710537849853,
104
+ "grad_norm": 1.194357991218567,
105
+ "learning_rate": 8.622126023955446e-05,
106
+ "loss": 0.3562,
107
  "step": 140
108
  },
109
  {
110
  "epoch": 0.07513618433410557,
111
+ "grad_norm": 0.38158440589904785,
112
+ "learning_rate": 8.386407858128706e-05,
113
+ "loss": 0.2916,
114
  "step": 150
115
  },
116
  {
117
  "epoch": 0.08014526328971261,
118
+ "grad_norm": 1.50730299949646,
119
+ "learning_rate": 8.135881792367686e-05,
120
+ "loss": 0.4716,
121
  "step": 160
122
  },
123
  {
124
  "epoch": 0.08515434224531965,
125
+ "grad_norm": 1.3868156671524048,
126
+ "learning_rate": 7.871643313414718e-05,
127
+ "loss": 0.4079,
128
  "step": 170
129
  },
130
  {
131
  "epoch": 0.09016342120092669,
132
+ "grad_norm": 1.6041864156723022,
133
+ "learning_rate": 7.594847868906076e-05,
134
+ "loss": 0.5112,
135
  "step": 180
136
  },
137
  {
138
  "epoch": 0.09517250015653372,
139
+ "grad_norm": 1.4465718269348145,
140
+ "learning_rate": 7.30670581489344e-05,
141
+ "loss": 0.441,
142
  "step": 190
143
  },
144
  {
145
  "epoch": 0.10018157911214076,
146
+ "grad_norm": 1.8322057723999023,
147
+ "learning_rate": 7.008477123264848e-05,
148
+ "loss": 0.5155,
149
  "step": 200
150
  },
151
  {
152
  "epoch": 0.1051906580677478,
153
+ "grad_norm": 0.9172443151473999,
154
+ "learning_rate": 6.701465872208216e-05,
155
+ "loss": 0.2214,
156
  "step": 210
157
  },
158
  {
159
  "epoch": 0.11019973702335482,
160
+ "grad_norm": 2.0696191787719727,
161
+ "learning_rate": 6.387014543809223e-05,
162
+ "loss": 0.6761,
163
  "step": 220
164
  },
165
  {
166
  "epoch": 0.11520881597896186,
167
+ "grad_norm": 1.1835525035858154,
168
+ "learning_rate": 6.066498153718735e-05,
169
+ "loss": 0.562,
170
  "step": 230
171
  },
172
  {
173
  "epoch": 0.1202178949345689,
174
+ "grad_norm": 1.725269079208374,
175
+ "learning_rate": 5.74131823855921e-05,
176
+ "loss": 0.4634,
177
  "step": 240
178
  },
179
  {
180
  "epoch": 0.12522697389017595,
181
+ "grad_norm": 1.6001545190811157,
182
+ "learning_rate": 5.4128967273616625e-05,
183
+ "loss": 0.5877,
184
  "step": 250
185
  },
186
  {
187
  "epoch": 0.130236052845783,
188
+ "grad_norm": 2.0318245887756348,
189
+ "learning_rate": 5.0826697238317935e-05,
190
+ "loss": 0.7427,
191
  "step": 260
192
  },
193
  {
194
  "epoch": 0.13524513180139003,
195
+ "grad_norm": 1.5611522197723389,
196
+ "learning_rate": 4.7520812266338885e-05,
197
+ "loss": 0.7619,
198
  "step": 270
199
  },
200
  {
201
  "epoch": 0.14025421075699707,
202
+ "grad_norm": 2.1413509845733643,
203
+ "learning_rate": 4.4225768151520694e-05,
204
+ "loss": 0.7148,
205
  "step": 280
206
  },
207
  {
208
  "epoch": 0.1452632897126041,
209
+ "grad_norm": 1.696409821510315,
210
+ "learning_rate": 4.095597328339452e-05,
211
+ "loss": 0.5038,
212
  "step": 290
213
  },
214
  {
215
  "epoch": 0.15027236866821114,
216
+ "grad_norm": 2.206345796585083,
217
+ "learning_rate": 3.772572564296005e-05,
218
+ "loss": 0.932,
219
  "step": 300
220
  }
221
  ],
222
  "logging_steps": 10,
223
+ "max_steps": 500,
224
  "num_input_tokens_seen": 0,
225
  "num_train_epochs": 1,
226
  "save_steps": 100,
checkpoint-300/training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3a6f41d46c71a1956b46016e3c3993fde308ca40074b3445bf05e27716633acf
3
  size 5304
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:103ad17e257df3fbfb9f1d8f7c2491e0328e0b3d2ad7c52dba2ad40e1f41572e
3
  size 5304
checkpoint-400/adapter_config.json CHANGED
@@ -4,7 +4,7 @@
4
  "base_model_class": "DeepseekOCR2ForCausalLM",
5
  "parent_library": "transformers_modules.deepseek_ocr2.modeling_deepseekocr2"
6
  },
7
- "base_model_name_or_path": "./deepseek_ocr2",
8
  "bias": "none",
9
  "eva_config": null,
10
  "exclude_modules": null,
@@ -26,12 +26,12 @@
26
  "rank_pattern": {},
27
  "revision": null,
28
  "target_modules": [
 
 
29
  "gate_proj",
 
30
  "o_proj",
31
  "down_proj",
32
- "k_proj",
33
- "q_proj",
34
- "up_proj",
35
  "v_proj"
36
  ],
37
  "task_type": null,
 
4
  "base_model_class": "DeepseekOCR2ForCausalLM",
5
  "parent_library": "transformers_modules.deepseek_ocr2.modeling_deepseekocr2"
6
  },
7
+ "base_model_name_or_path": "deepseek-ai/DeepSeek-OCR-2",
8
  "bias": "none",
9
  "eva_config": null,
10
  "exclude_modules": null,
 
26
  "rank_pattern": {},
27
  "revision": null,
28
  "target_modules": [
29
+ "q_proj",
30
+ "up_proj",
31
  "gate_proj",
32
+ "k_proj",
33
  "o_proj",
34
  "down_proj",
 
 
 
35
  "v_proj"
36
  ],
37
  "task_type": null,
checkpoint-400/adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e802832c88ab0dce2fe774ad959e8706aa7583135171f389a8828126bee74bce
3
  size 345908528
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed9ab1dd85a38f7e17f44ce49367aaa04d8d9cdfa8c66cdb0414bcecb0a23650
3
  size 345908528
checkpoint-400/optimizer.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e31da65a7c8ab75d9128ea0cfa7a0e9660ce0ca4db8cb17c86e3c11386a3ffd6
3
  size 623793650
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eed25658354ac14b8ad7b2f2e61c5dfec746d7d5b29b4716624404aa687f0558
3
  size 623793650
checkpoint-400/scheduler.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:705cabf5cbc3a6ab0feb67c77b9b453d59efcc939ce90d310af96e621810f990
3
  size 1064
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:398dc3015f2bdf08ffe15c09b8a80236e704782ceee3d091b17a55a38c21ed1e
3
  size 1064
checkpoint-400/trainer_state.json CHANGED
@@ -10,287 +10,287 @@
10
  "log_history": [
11
  {
12
  "epoch": 0.005009078955607038,
13
- "grad_norm": 1.5533589124679565,
14
- "learning_rate": 5e-05,
15
- "loss": 0.95,
16
  "step": 10
17
  },
18
  {
19
  "epoch": 0.010018157911214076,
20
- "grad_norm": 1.021743893623352,
21
- "learning_rate": 0.0001,
22
- "loss": 0.9669,
23
  "step": 20
24
  },
25
  {
26
  "epoch": 0.015027236866821113,
27
- "grad_norm": 1.259873390197754,
28
- "learning_rate": 9.98292246503335e-05,
29
- "loss": 0.6369,
30
  "step": 30
31
  },
32
  {
33
  "epoch": 0.020036315822428152,
34
- "grad_norm": 1.4768264293670654,
35
- "learning_rate": 9.931806517013612e-05,
36
- "loss": 0.6555,
37
  "step": 40
38
  },
39
  {
40
  "epoch": 0.02504539477803519,
41
- "grad_norm": 1.2998743057250977,
42
- "learning_rate": 9.847001329696653e-05,
43
- "loss": 0.6878,
44
  "step": 50
45
  },
46
  {
47
  "epoch": 0.030054473733642225,
48
- "grad_norm": 1.6125634908676147,
49
- "learning_rate": 9.729086208503174e-05,
50
- "loss": 0.6729,
51
  "step": 60
52
  },
53
  {
54
  "epoch": 0.03506355268924927,
55
- "grad_norm": 1.060158133506775,
56
- "learning_rate": 9.578866633275288e-05,
57
- "loss": 0.6526,
58
  "step": 70
59
  },
60
  {
61
  "epoch": 0.040072631644856305,
62
- "grad_norm": 1.2780332565307617,
63
- "learning_rate": 9.397368756032445e-05,
64
- "loss": 0.6077,
65
  "step": 80
66
  },
67
  {
68
  "epoch": 0.04508171060046334,
69
- "grad_norm": 1.7625467777252197,
70
- "learning_rate": 9.185832391312644e-05,
71
- "loss": 0.6803,
72
  "step": 90
73
  },
74
  {
75
  "epoch": 0.05009078955607038,
76
- "grad_norm": 1.5264769792556763,
77
- "learning_rate": 8.945702546981969e-05,
78
- "loss": 0.7137,
79
  "step": 100
80
  },
81
  {
82
  "epoch": 0.05509986851167741,
83
- "grad_norm": 1.1182994842529297,
84
- "learning_rate": 8.678619553365659e-05,
85
- "loss": 0.4694,
86
  "step": 110
87
  },
88
  {
89
  "epoch": 0.06010894746728445,
90
- "grad_norm": 1.0322476625442505,
91
- "learning_rate": 8.386407858128706e-05,
92
- "loss": 0.6061,
93
  "step": 120
94
  },
95
  {
96
  "epoch": 0.0651180264228915,
97
- "grad_norm": 1.7920445203781128,
98
- "learning_rate": 8.07106356344834e-05,
99
- "loss": 0.5934,
100
  "step": 130
101
  },
102
  {
103
  "epoch": 0.07012710537849853,
104
- "grad_norm": 1.217824935913086,
105
- "learning_rate": 7.734740790612136e-05,
106
- "loss": 0.535,
107
  "step": 140
108
  },
109
  {
110
  "epoch": 0.07513618433410557,
111
- "grad_norm": 0.7182851433753967,
112
- "learning_rate": 7.379736965185368e-05,
113
- "loss": 0.4449,
114
  "step": 150
115
  },
116
  {
117
  "epoch": 0.08014526328971261,
118
- "grad_norm": 1.2497895956039429,
119
- "learning_rate": 7.008477123264848e-05,
120
- "loss": 0.6418,
121
  "step": 160
122
  },
123
  {
124
  "epoch": 0.08515434224531965,
125
- "grad_norm": 1.510805368423462,
126
- "learning_rate": 6.623497346023418e-05,
127
- "loss": 0.5713,
128
  "step": 170
129
  },
130
  {
131
  "epoch": 0.09016342120092669,
132
- "grad_norm": 1.4163625240325928,
133
- "learning_rate": 6.227427435703997e-05,
134
- "loss": 0.6913,
135
  "step": 180
136
  },
137
  {
138
  "epoch": 0.09517250015653372,
139
- "grad_norm": 1.3737024068832397,
140
- "learning_rate": 5.8229729514036705e-05,
141
- "loss": 0.6378,
142
  "step": 190
143
  },
144
  {
145
  "epoch": 0.10018157911214076,
146
- "grad_norm": 1.7208032608032227,
147
- "learning_rate": 5.4128967273616625e-05,
148
- "loss": 0.6681,
149
  "step": 200
150
  },
151
  {
152
  "epoch": 0.1051906580677478,
153
- "grad_norm": 0.9851288795471191,
154
- "learning_rate": 5e-05,
155
- "loss": 0.3379,
156
  "step": 210
157
  },
158
  {
159
  "epoch": 0.11019973702335482,
160
- "grad_norm": 1.9492233991622925,
161
- "learning_rate": 4.5871032726383386e-05,
162
- "loss": 0.837,
163
  "step": 220
164
  },
165
  {
166
  "epoch": 0.11520881597896186,
167
- "grad_norm": 1.1744173765182495,
168
- "learning_rate": 4.17702704859633e-05,
169
- "loss": 0.7048,
170
  "step": 230
171
  },
172
  {
173
  "epoch": 0.1202178949345689,
174
- "grad_norm": 1.6242769956588745,
175
- "learning_rate": 3.772572564296005e-05,
176
- "loss": 0.6228,
177
  "step": 240
178
  },
179
  {
180
  "epoch": 0.12522697389017595,
181
- "grad_norm": 1.6513652801513672,
182
- "learning_rate": 3.3765026539765834e-05,
183
- "loss": 0.7581,
184
  "step": 250
185
  },
186
  {
187
  "epoch": 0.130236052845783,
188
- "grad_norm": 2.13556170463562,
189
- "learning_rate": 2.991522876735154e-05,
190
- "loss": 0.85,
191
  "step": 260
192
  },
193
  {
194
  "epoch": 0.13524513180139003,
195
- "grad_norm": 1.3880395889282227,
196
- "learning_rate": 2.6202630348146324e-05,
197
- "loss": 0.8701,
198
  "step": 270
199
  },
200
  {
201
  "epoch": 0.14025421075699707,
202
- "grad_norm": 1.7061687707901,
203
- "learning_rate": 2.2652592093878666e-05,
204
- "loss": 0.822,
205
  "step": 280
206
  },
207
  {
208
  "epoch": 0.1452632897126041,
209
- "grad_norm": 1.5672444105148315,
210
- "learning_rate": 1.928936436551661e-05,
211
- "loss": 0.5852,
212
  "step": 290
213
  },
214
  {
215
  "epoch": 0.15027236866821114,
216
- "grad_norm": 1.853024959564209,
217
- "learning_rate": 1.6135921418712956e-05,
218
- "loss": 1.0337,
219
  "step": 300
220
  },
221
  {
222
  "epoch": 0.15528144762381818,
223
- "grad_norm": 2.182626247406006,
224
- "learning_rate": 1.3213804466343421e-05,
225
- "loss": 0.9183,
226
  "step": 310
227
  },
228
  {
229
  "epoch": 0.16029052657942522,
230
- "grad_norm": 1.6492085456848145,
231
- "learning_rate": 1.0542974530180327e-05,
232
- "loss": 0.7493,
233
  "step": 320
234
  },
235
  {
236
  "epoch": 0.16529960553503226,
237
- "grad_norm": 1.4577345848083496,
238
- "learning_rate": 8.141676086873572e-06,
239
- "loss": 0.8607,
240
  "step": 330
241
  },
242
  {
243
  "epoch": 0.1703086844906393,
244
- "grad_norm": 1.6489531993865967,
245
- "learning_rate": 6.026312439675552e-06,
246
- "loss": 0.8546,
247
  "step": 340
248
  },
249
  {
250
  "epoch": 0.17531776344624633,
251
- "grad_norm": 1.781812071800232,
252
- "learning_rate": 4.2113336672471245e-06,
253
- "loss": 0.7326,
254
  "step": 350
255
  },
256
  {
257
  "epoch": 0.18032684240185337,
258
- "grad_norm": 1.5029524564743042,
259
- "learning_rate": 2.7091379149682685e-06,
260
- "loss": 0.7797,
261
  "step": 360
262
  },
263
  {
264
  "epoch": 0.1853359213574604,
265
- "grad_norm": 2.3753981590270996,
266
- "learning_rate": 1.5299867030334814e-06,
267
- "loss": 0.8289,
268
  "step": 370
269
  },
270
  {
271
  "epoch": 0.19034500031306745,
272
- "grad_norm": 1.7231950759887695,
273
- "learning_rate": 6.819348298638839e-07,
274
- "loss": 0.913,
275
  "step": 380
276
  },
277
  {
278
  "epoch": 0.19535407926867449,
279
- "grad_norm": 2.040560722351074,
280
- "learning_rate": 1.7077534966650766e-07,
281
- "loss": 0.6932,
282
  "step": 390
283
  },
284
  {
285
  "epoch": 0.20036315822428152,
286
- "grad_norm": 1.462962031364441,
287
- "learning_rate": 0.0,
288
- "loss": 0.7412,
289
  "step": 400
290
  }
291
  ],
292
  "logging_steps": 10,
293
- "max_steps": 400,
294
  "num_input_tokens_seen": 0,
295
  "num_train_epochs": 1,
296
  "save_steps": 100,
@@ -301,7 +301,7 @@
301
  "should_evaluate": false,
302
  "should_log": false,
303
  "should_save": true,
304
- "should_training_stop": true
305
  },
306
  "attributes": {}
307
  }
 
10
  "log_history": [
11
  {
12
  "epoch": 0.005009078955607038,
13
+ "grad_norm": 2.341935634613037,
14
+ "learning_rate": 4e-05,
15
+ "loss": 0.713,
16
  "step": 10
17
  },
18
  {
19
  "epoch": 0.010018157911214076,
20
+ "grad_norm": 1.1017119884490967,
21
+ "learning_rate": 8e-05,
22
+ "loss": 0.6786,
23
  "step": 20
24
  },
25
  {
26
  "epoch": 0.015027236866821113,
27
+ "grad_norm": 1.0087612867355347,
28
+ "learning_rate": 9.997266286704631e-05,
29
+ "loss": 0.3887,
30
  "step": 30
31
  },
32
  {
33
  "epoch": 0.020036315822428152,
34
+ "grad_norm": 1.560015320777893,
35
+ "learning_rate": 9.975414512725057e-05,
36
+ "loss": 0.3912,
37
  "step": 40
38
  },
39
  {
40
  "epoch": 0.02504539477803519,
41
+ "grad_norm": 1.2603834867477417,
42
+ "learning_rate": 9.931806517013612e-05,
43
+ "loss": 0.4354,
44
  "step": 50
45
  },
46
  {
47
  "epoch": 0.030054473733642225,
48
+ "grad_norm": 1.7070958614349365,
49
+ "learning_rate": 9.86663298624003e-05,
50
+ "loss": 0.4049,
51
  "step": 60
52
  },
53
  {
54
  "epoch": 0.03506355268924927,
55
+ "grad_norm": 0.9318763017654419,
56
+ "learning_rate": 9.780178907671789e-05,
57
+ "loss": 0.4252,
58
  "step": 70
59
  },
60
  {
61
  "epoch": 0.040072631644856305,
62
+ "grad_norm": 1.4212697744369507,
63
+ "learning_rate": 9.672822322997305e-05,
64
+ "loss": 0.3939,
65
  "step": 80
66
  },
67
  {
68
  "epoch": 0.04508171060046334,
69
+ "grad_norm": 1.7951005697250366,
70
+ "learning_rate": 9.545032675245813e-05,
71
+ "loss": 0.4386,
72
  "step": 90
73
  },
74
  {
75
  "epoch": 0.05009078955607038,
76
+ "grad_norm": 1.7150332927703857,
77
+ "learning_rate": 9.397368756032445e-05,
78
+ "loss": 0.4666,
79
  "step": 100
80
  },
81
  {
82
  "epoch": 0.05509986851167741,
83
+ "grad_norm": 1.0535022020339966,
84
+ "learning_rate": 9.230476262104677e-05,
85
+ "loss": 0.2831,
86
  "step": 110
87
  },
88
  {
89
  "epoch": 0.06010894746728445,
90
+ "grad_norm": 0.8590908646583557,
91
+ "learning_rate": 9.045084971874738e-05,
92
+ "loss": 0.3978,
93
  "step": 120
94
  },
95
  {
96
  "epoch": 0.0651180264228915,
97
+ "grad_norm": 1.7438238859176636,
98
+ "learning_rate": 8.842005554284296e-05,
99
+ "loss": 0.3853,
100
  "step": 130
101
  },
102
  {
103
  "epoch": 0.07012710537849853,
104
+ "grad_norm": 1.194357991218567,
105
+ "learning_rate": 8.622126023955446e-05,
106
+ "loss": 0.3562,
107
  "step": 140
108
  },
109
  {
110
  "epoch": 0.07513618433410557,
111
+ "grad_norm": 0.38158440589904785,
112
+ "learning_rate": 8.386407858128706e-05,
113
+ "loss": 0.2916,
114
  "step": 150
115
  },
116
  {
117
  "epoch": 0.08014526328971261,
118
+ "grad_norm": 1.50730299949646,
119
+ "learning_rate": 8.135881792367686e-05,
120
+ "loss": 0.4716,
121
  "step": 160
122
  },
123
  {
124
  "epoch": 0.08515434224531965,
125
+ "grad_norm": 1.3868156671524048,
126
+ "learning_rate": 7.871643313414718e-05,
127
+ "loss": 0.4079,
128
  "step": 170
129
  },
130
  {
131
  "epoch": 0.09016342120092669,
132
+ "grad_norm": 1.6041864156723022,
133
+ "learning_rate": 7.594847868906076e-05,
134
+ "loss": 0.5112,
135
  "step": 180
136
  },
137
  {
138
  "epoch": 0.09517250015653372,
139
+ "grad_norm": 1.4465718269348145,
140
+ "learning_rate": 7.30670581489344e-05,
141
+ "loss": 0.441,
142
  "step": 190
143
  },
144
  {
145
  "epoch": 0.10018157911214076,
146
+ "grad_norm": 1.8322057723999023,
147
+ "learning_rate": 7.008477123264848e-05,
148
+ "loss": 0.5155,
149
  "step": 200
150
  },
151
  {
152
  "epoch": 0.1051906580677478,
153
+ "grad_norm": 0.9172443151473999,
154
+ "learning_rate": 6.701465872208216e-05,
155
+ "loss": 0.2214,
156
  "step": 210
157
  },
158
  {
159
  "epoch": 0.11019973702335482,
160
+ "grad_norm": 2.0696191787719727,
161
+ "learning_rate": 6.387014543809223e-05,
162
+ "loss": 0.6761,
163
  "step": 220
164
  },
165
  {
166
  "epoch": 0.11520881597896186,
167
+ "grad_norm": 1.1835525035858154,
168
+ "learning_rate": 6.066498153718735e-05,
169
+ "loss": 0.562,
170
  "step": 230
171
  },
172
  {
173
  "epoch": 0.1202178949345689,
174
+ "grad_norm": 1.725269079208374,
175
+ "learning_rate": 5.74131823855921e-05,
176
+ "loss": 0.4634,
177
  "step": 240
178
  },
179
  {
180
  "epoch": 0.12522697389017595,
181
+ "grad_norm": 1.6001545190811157,
182
+ "learning_rate": 5.4128967273616625e-05,
183
+ "loss": 0.5877,
184
  "step": 250
185
  },
186
  {
187
  "epoch": 0.130236052845783,
188
+ "grad_norm": 2.0318245887756348,
189
+ "learning_rate": 5.0826697238317935e-05,
190
+ "loss": 0.7427,
191
  "step": 260
192
  },
193
  {
194
  "epoch": 0.13524513180139003,
195
+ "grad_norm": 1.5611522197723389,
196
+ "learning_rate": 4.7520812266338885e-05,
197
+ "loss": 0.7619,
198
  "step": 270
199
  },
200
  {
201
  "epoch": 0.14025421075699707,
202
+ "grad_norm": 2.1413509845733643,
203
+ "learning_rate": 4.4225768151520694e-05,
204
+ "loss": 0.7148,
205
  "step": 280
206
  },
207
  {
208
  "epoch": 0.1452632897126041,
209
+ "grad_norm": 1.696409821510315,
210
+ "learning_rate": 4.095597328339452e-05,
211
+ "loss": 0.5038,
212
  "step": 290
213
  },
214
  {
215
  "epoch": 0.15027236866821114,
216
+ "grad_norm": 2.206345796585083,
217
+ "learning_rate": 3.772572564296005e-05,
218
+ "loss": 0.932,
219
  "step": 300
220
  },
221
  {
222
  "epoch": 0.15528144762381818,
223
+ "grad_norm": 2.31558895111084,
224
+ "learning_rate": 3.4549150281252636e-05,
225
+ "loss": 0.8383,
226
  "step": 310
227
  },
228
  {
229
  "epoch": 0.16029052657942522,
230
+ "grad_norm": 1.9436874389648438,
231
+ "learning_rate": 3.144013755408895e-05,
232
+ "loss": 0.6804,
233
  "step": 320
234
  },
235
  {
236
  "epoch": 0.16529960553503226,
237
+ "grad_norm": 1.5017071962356567,
238
+ "learning_rate": 2.8412282383075363e-05,
239
+ "loss": 0.7921,
240
  "step": 330
241
  },
242
  {
243
  "epoch": 0.1703086844906393,
244
+ "grad_norm": 1.8890794515609741,
245
+ "learning_rate": 2.547882480847461e-05,
246
+ "loss": 0.798,
247
  "step": 340
248
  },
249
  {
250
  "epoch": 0.17531776344624633,
251
+ "grad_norm": 1.8801709413528442,
252
+ "learning_rate": 2.2652592093878666e-05,
253
+ "loss": 0.6709,
254
  "step": 350
255
  },
256
  {
257
  "epoch": 0.18032684240185337,
258
+ "grad_norm": 1.6866966485977173,
259
+ "learning_rate": 1.9945942635848748e-05,
260
+ "loss": 0.7196,
261
  "step": 360
262
  },
263
  {
264
  "epoch": 0.1853359213574604,
265
+ "grad_norm": 2.674154043197632,
266
+ "learning_rate": 1.7370711923791567e-05,
267
+ "loss": 0.7524,
268
  "step": 370
269
  },
270
  {
271
  "epoch": 0.19034500031306745,
272
+ "grad_norm": 1.852797031402588,
273
+ "learning_rate": 1.4938160786375572e-05,
274
+ "loss": 0.8305,
275
  "step": 380
276
  },
277
  {
278
  "epoch": 0.19535407926867449,
279
+ "grad_norm": 2.2271463871002197,
280
+ "learning_rate": 1.2658926150792322e-05,
281
+ "loss": 0.6159,
282
  "step": 390
283
  },
284
  {
285
  "epoch": 0.20036315822428152,
286
+ "grad_norm": 1.205451250076294,
287
+ "learning_rate": 1.0542974530180327e-05,
288
+ "loss": 0.6024,
289
  "step": 400
290
  }
291
  ],
292
  "logging_steps": 10,
293
+ "max_steps": 500,
294
  "num_input_tokens_seen": 0,
295
  "num_train_epochs": 1,
296
  "save_steps": 100,
 
301
  "should_evaluate": false,
302
  "should_log": false,
303
  "should_save": true,
304
+ "should_training_stop": false
305
  },
306
  "attributes": {}
307
  }
checkpoint-400/training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3a6f41d46c71a1956b46016e3c3993fde308ca40074b3445bf05e27716633acf
3
  size 5304
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:103ad17e257df3fbfb9f1d8f7c2491e0328e0b3d2ad7c52dba2ad40e1f41572e
3
  size 5304
checkpoint-500/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: ./deepseek_ocr2
3
+ library_name: peft
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
+ ### Framework versions
201
+
202
+ - PEFT 0.14.0
checkpoint-500/adapter_config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": {
4
+ "base_model_class": "DeepseekOCR2ForCausalLM",
5
+ "parent_library": "transformers_modules.deepseek_ocr2.modeling_deepseekocr2"
6
+ },
7
+ "base_model_name_or_path": "deepseek-ai/DeepSeek-OCR-2",
8
+ "bias": "none",
9
+ "eva_config": null,
10
+ "exclude_modules": null,
11
+ "fan_in_fan_out": false,
12
+ "inference_mode": true,
13
+ "init_lora_weights": true,
14
+ "layer_replication": null,
15
+ "layers_pattern": null,
16
+ "layers_to_transform": null,
17
+ "loftq_config": {},
18
+ "lora_alpha": 16,
19
+ "lora_bias": false,
20
+ "lora_dropout": 0.0,
21
+ "megatron_config": null,
22
+ "megatron_core": "megatron.core",
23
+ "modules_to_save": null,
24
+ "peft_type": "LORA",
25
+ "r": 16,
26
+ "rank_pattern": {},
27
+ "revision": null,
28
+ "target_modules": [
29
+ "q_proj",
30
+ "up_proj",
31
+ "gate_proj",
32
+ "k_proj",
33
+ "o_proj",
34
+ "down_proj",
35
+ "v_proj"
36
+ ],
37
+ "task_type": null,
38
+ "use_dora": false,
39
+ "use_rslora": false
40
+ }
checkpoint-500/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70355edfcc035672f3f590f938de44321bb8d943dc553e79f16a5b22c4337775
3
+ size 345908528
checkpoint-500/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae2a8a41e146620ecaae1bf2b5eac7d55f033805eff94516a5f63cff6bb9ac6c
3
+ size 623793650
checkpoint-500/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d9cd6a0487226e5bd30d1846894c82af483733ab4381b75bae9c0745e05d405
3
+ size 14244
checkpoint-500/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe1d153de177b356f9e3a70d6e4ec979560b0c300994e71ca4cb89afc74c5b3a
3
+ size 1064
checkpoint-500/special_tokens_map.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|User|>",
4
+ "<|Assistant|>"
5
+ ],
6
+ "bos_token": {
7
+ "content": "<|begin▁of▁sentence|>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false
12
+ },
13
+ "eos_token": {
14
+ "content": "<|end▁of▁sentence|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false
19
+ },
20
+ "pad_token": {
21
+ "content": "<|▁pad▁|>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false
26
+ }
27
+ }
checkpoint-500/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-500/tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-500/trainer_state.json ADDED
@@ -0,0 +1,383 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.2504539477803519,
5
+ "eval_steps": 500,
6
+ "global_step": 500,
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.005009078955607038,
13
+ "grad_norm": 2.341935634613037,
14
+ "learning_rate": 4e-05,
15
+ "loss": 0.713,
16
+ "step": 10
17
+ },
18
+ {
19
+ "epoch": 0.010018157911214076,
20
+ "grad_norm": 1.1017119884490967,
21
+ "learning_rate": 8e-05,
22
+ "loss": 0.6786,
23
+ "step": 20
24
+ },
25
+ {
26
+ "epoch": 0.015027236866821113,
27
+ "grad_norm": 1.0087612867355347,
28
+ "learning_rate": 9.997266286704631e-05,
29
+ "loss": 0.3887,
30
+ "step": 30
31
+ },
32
+ {
33
+ "epoch": 0.020036315822428152,
34
+ "grad_norm": 1.560015320777893,
35
+ "learning_rate": 9.975414512725057e-05,
36
+ "loss": 0.3912,
37
+ "step": 40
38
+ },
39
+ {
40
+ "epoch": 0.02504539477803519,
41
+ "grad_norm": 1.2603834867477417,
42
+ "learning_rate": 9.931806517013612e-05,
43
+ "loss": 0.4354,
44
+ "step": 50
45
+ },
46
+ {
47
+ "epoch": 0.030054473733642225,
48
+ "grad_norm": 1.7070958614349365,
49
+ "learning_rate": 9.86663298624003e-05,
50
+ "loss": 0.4049,
51
+ "step": 60
52
+ },
53
+ {
54
+ "epoch": 0.03506355268924927,
55
+ "grad_norm": 0.9318763017654419,
56
+ "learning_rate": 9.780178907671789e-05,
57
+ "loss": 0.4252,
58
+ "step": 70
59
+ },
60
+ {
61
+ "epoch": 0.040072631644856305,
62
+ "grad_norm": 1.4212697744369507,
63
+ "learning_rate": 9.672822322997305e-05,
64
+ "loss": 0.3939,
65
+ "step": 80
66
+ },
67
+ {
68
+ "epoch": 0.04508171060046334,
69
+ "grad_norm": 1.7951005697250366,
70
+ "learning_rate": 9.545032675245813e-05,
71
+ "loss": 0.4386,
72
+ "step": 90
73
+ },
74
+ {
75
+ "epoch": 0.05009078955607038,
76
+ "grad_norm": 1.7150332927703857,
77
+ "learning_rate": 9.397368756032445e-05,
78
+ "loss": 0.4666,
79
+ "step": 100
80
+ },
81
+ {
82
+ "epoch": 0.05509986851167741,
83
+ "grad_norm": 1.0535022020339966,
84
+ "learning_rate": 9.230476262104677e-05,
85
+ "loss": 0.2831,
86
+ "step": 110
87
+ },
88
+ {
89
+ "epoch": 0.06010894746728445,
90
+ "grad_norm": 0.8590908646583557,
91
+ "learning_rate": 9.045084971874738e-05,
92
+ "loss": 0.3978,
93
+ "step": 120
94
+ },
95
+ {
96
+ "epoch": 0.0651180264228915,
97
+ "grad_norm": 1.7438238859176636,
98
+ "learning_rate": 8.842005554284296e-05,
99
+ "loss": 0.3853,
100
+ "step": 130
101
+ },
102
+ {
103
+ "epoch": 0.07012710537849853,
104
+ "grad_norm": 1.194357991218567,
105
+ "learning_rate": 8.622126023955446e-05,
106
+ "loss": 0.3562,
107
+ "step": 140
108
+ },
109
+ {
110
+ "epoch": 0.07513618433410557,
111
+ "grad_norm": 0.38158440589904785,
112
+ "learning_rate": 8.386407858128706e-05,
113
+ "loss": 0.2916,
114
+ "step": 150
115
+ },
116
+ {
117
+ "epoch": 0.08014526328971261,
118
+ "grad_norm": 1.50730299949646,
119
+ "learning_rate": 8.135881792367686e-05,
120
+ "loss": 0.4716,
121
+ "step": 160
122
+ },
123
+ {
124
+ "epoch": 0.08515434224531965,
125
+ "grad_norm": 1.3868156671524048,
126
+ "learning_rate": 7.871643313414718e-05,
127
+ "loss": 0.4079,
128
+ "step": 170
129
+ },
130
+ {
131
+ "epoch": 0.09016342120092669,
132
+ "grad_norm": 1.6041864156723022,
133
+ "learning_rate": 7.594847868906076e-05,
134
+ "loss": 0.5112,
135
+ "step": 180
136
+ },
137
+ {
138
+ "epoch": 0.09517250015653372,
139
+ "grad_norm": 1.4465718269348145,
140
+ "learning_rate": 7.30670581489344e-05,
141
+ "loss": 0.441,
142
+ "step": 190
143
+ },
144
+ {
145
+ "epoch": 0.10018157911214076,
146
+ "grad_norm": 1.8322057723999023,
147
+ "learning_rate": 7.008477123264848e-05,
148
+ "loss": 0.5155,
149
+ "step": 200
150
+ },
151
+ {
152
+ "epoch": 0.1051906580677478,
153
+ "grad_norm": 0.9172443151473999,
154
+ "learning_rate": 6.701465872208216e-05,
155
+ "loss": 0.2214,
156
+ "step": 210
157
+ },
158
+ {
159
+ "epoch": 0.11019973702335482,
160
+ "grad_norm": 2.0696191787719727,
161
+ "learning_rate": 6.387014543809223e-05,
162
+ "loss": 0.6761,
163
+ "step": 220
164
+ },
165
+ {
166
+ "epoch": 0.11520881597896186,
167
+ "grad_norm": 1.1835525035858154,
168
+ "learning_rate": 6.066498153718735e-05,
169
+ "loss": 0.562,
170
+ "step": 230
171
+ },
172
+ {
173
+ "epoch": 0.1202178949345689,
174
+ "grad_norm": 1.725269079208374,
175
+ "learning_rate": 5.74131823855921e-05,
176
+ "loss": 0.4634,
177
+ "step": 240
178
+ },
179
+ {
180
+ "epoch": 0.12522697389017595,
181
+ "grad_norm": 1.6001545190811157,
182
+ "learning_rate": 5.4128967273616625e-05,
183
+ "loss": 0.5877,
184
+ "step": 250
185
+ },
186
+ {
187
+ "epoch": 0.130236052845783,
188
+ "grad_norm": 2.0318245887756348,
189
+ "learning_rate": 5.0826697238317935e-05,
190
+ "loss": 0.7427,
191
+ "step": 260
192
+ },
193
+ {
194
+ "epoch": 0.13524513180139003,
195
+ "grad_norm": 1.5611522197723389,
196
+ "learning_rate": 4.7520812266338885e-05,
197
+ "loss": 0.7619,
198
+ "step": 270
199
+ },
200
+ {
201
+ "epoch": 0.14025421075699707,
202
+ "grad_norm": 2.1413509845733643,
203
+ "learning_rate": 4.4225768151520694e-05,
204
+ "loss": 0.7148,
205
+ "step": 280
206
+ },
207
+ {
208
+ "epoch": 0.1452632897126041,
209
+ "grad_norm": 1.696409821510315,
210
+ "learning_rate": 4.095597328339452e-05,
211
+ "loss": 0.5038,
212
+ "step": 290
213
+ },
214
+ {
215
+ "epoch": 0.15027236866821114,
216
+ "grad_norm": 2.206345796585083,
217
+ "learning_rate": 3.772572564296005e-05,
218
+ "loss": 0.932,
219
+ "step": 300
220
+ },
221
+ {
222
+ "epoch": 0.15528144762381818,
223
+ "grad_norm": 2.31558895111084,
224
+ "learning_rate": 3.4549150281252636e-05,
225
+ "loss": 0.8383,
226
+ "step": 310
227
+ },
228
+ {
229
+ "epoch": 0.16029052657942522,
230
+ "grad_norm": 1.9436874389648438,
231
+ "learning_rate": 3.144013755408895e-05,
232
+ "loss": 0.6804,
233
+ "step": 320
234
+ },
235
+ {
236
+ "epoch": 0.16529960553503226,
237
+ "grad_norm": 1.5017071962356567,
238
+ "learning_rate": 2.8412282383075363e-05,
239
+ "loss": 0.7921,
240
+ "step": 330
241
+ },
242
+ {
243
+ "epoch": 0.1703086844906393,
244
+ "grad_norm": 1.8890794515609741,
245
+ "learning_rate": 2.547882480847461e-05,
246
+ "loss": 0.798,
247
+ "step": 340
248
+ },
249
+ {
250
+ "epoch": 0.17531776344624633,
251
+ "grad_norm": 1.8801709413528442,
252
+ "learning_rate": 2.2652592093878666e-05,
253
+ "loss": 0.6709,
254
+ "step": 350
255
+ },
256
+ {
257
+ "epoch": 0.18032684240185337,
258
+ "grad_norm": 1.6866966485977173,
259
+ "learning_rate": 1.9945942635848748e-05,
260
+ "loss": 0.7196,
261
+ "step": 360
262
+ },
263
+ {
264
+ "epoch": 0.1853359213574604,
265
+ "grad_norm": 2.674154043197632,
266
+ "learning_rate": 1.7370711923791567e-05,
267
+ "loss": 0.7524,
268
+ "step": 370
269
+ },
270
+ {
271
+ "epoch": 0.19034500031306745,
272
+ "grad_norm": 1.852797031402588,
273
+ "learning_rate": 1.4938160786375572e-05,
274
+ "loss": 0.8305,
275
+ "step": 380
276
+ },
277
+ {
278
+ "epoch": 0.19535407926867449,
279
+ "grad_norm": 2.2271463871002197,
280
+ "learning_rate": 1.2658926150792322e-05,
281
+ "loss": 0.6159,
282
+ "step": 390
283
+ },
284
+ {
285
+ "epoch": 0.20036315822428152,
286
+ "grad_norm": 1.205451250076294,
287
+ "learning_rate": 1.0542974530180327e-05,
288
+ "loss": 0.6024,
289
+ "step": 400
290
+ },
291
+ {
292
+ "epoch": 0.20537223717988856,
293
+ "grad_norm": 2.6344316005706787,
294
+ "learning_rate": 8.599558442598998e-06,
295
+ "loss": 0.7015,
296
+ "step": 410
297
+ },
298
+ {
299
+ "epoch": 0.2103813161354956,
300
+ "grad_norm": 2.149989128112793,
301
+ "learning_rate": 6.837175952121306e-06,
302
+ "loss": 0.5937,
303
+ "step": 420
304
+ },
305
+ {
306
+ "epoch": 0.2153903950911026,
307
+ "grad_norm": 2.170044183731079,
308
+ "learning_rate": 5.263533508961827e-06,
309
+ "loss": 0.6649,
310
+ "step": 430
311
+ },
312
+ {
313
+ "epoch": 0.22039947404670965,
314
+ "grad_norm": 1.7175828218460083,
315
+ "learning_rate": 3.885512251130763e-06,
316
+ "loss": 0.6745,
317
+ "step": 440
318
+ },
319
+ {
320
+ "epoch": 0.22540855300231669,
321
+ "grad_norm": 1.6916513442993164,
322
+ "learning_rate": 2.7091379149682685e-06,
323
+ "loss": 0.6637,
324
+ "step": 450
325
+ },
326
+ {
327
+ "epoch": 0.23041763195792372,
328
+ "grad_norm": 1.7230230569839478,
329
+ "learning_rate": 1.7395544861325718e-06,
330
+ "loss": 0.6543,
331
+ "step": 460
332
+ },
333
+ {
334
+ "epoch": 0.23542671091353076,
335
+ "grad_norm": 2.5141735076904297,
336
+ "learning_rate": 9.810017062595322e-07,
337
+ "loss": 0.8597,
338
+ "step": 470
339
+ },
340
+ {
341
+ "epoch": 0.2404357898691378,
342
+ "grad_norm": 1.7556586265563965,
343
+ "learning_rate": 4.367965336512403e-07,
344
+ "loss": 0.7871,
345
+ "step": 480
346
+ },
347
+ {
348
+ "epoch": 0.24544486882474484,
349
+ "grad_norm": 1.4900270700454712,
350
+ "learning_rate": 1.0931863906127327e-07,
351
+ "loss": 0.64,
352
+ "step": 490
353
+ },
354
+ {
355
+ "epoch": 0.2504539477803519,
356
+ "grad_norm": 1.4064934253692627,
357
+ "learning_rate": 0.0,
358
+ "loss": 0.6043,
359
+ "step": 500
360
+ }
361
+ ],
362
+ "logging_steps": 10,
363
+ "max_steps": 500,
364
+ "num_input_tokens_seen": 0,
365
+ "num_train_epochs": 1,
366
+ "save_steps": 100,
367
+ "stateful_callbacks": {
368
+ "TrainerControl": {
369
+ "args": {
370
+ "should_epoch_stop": false,
371
+ "should_evaluate": false,
372
+ "should_log": false,
373
+ "should_save": true,
374
+ "should_training_stop": true
375
+ },
376
+ "attributes": {}
377
+ }
378
+ },
379
+ "total_flos": 9.13229907461568e+16,
380
+ "train_batch_size": 1,
381
+ "trial_name": null,
382
+ "trial_params": null
383
+ }
checkpoint-500/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:103ad17e257df3fbfb9f1d8f7c2491e0328e0b3d2ad7c52dba2ad40e1f41572e
3
+ size 5304