File size: 26,366 Bytes
dc4e40b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
{
  "global_step": 80055,
  "epoch": 3,
  "wandb_run_id": "hqfhe4k5",
  "config": {
    "config_version": 1,
    "model": {
      "name_or_path": "/mnt/shared-storage-user/donghejun/workspac/models/opendatalab/MinerU2.5-Pro-2604-1.2B",
      "model_type": "mineru_diffusion",
      "torch_dtype": "bfloat16",
      "attn_implementation": "flash_attention_2",
      "gradient_checkpointing": false,
      "freeze_patterns": [],
      "trainable_patterns": [],
      "init": {
        "mode": "none",
        "patterns": []
      },
      "diffusion": {
        "mask_token_id": 151674,
        "block_size": 16,
        "prompt_left_pad": false,
        "generation": {
          "denoising_steps": null,
          "dynamic_threshold": 0.95,
          "remasking_strategy": "low_confidence_dynamic",
          "temperature": 1.0,
          "top_k": 0,
          "top_p": 1.0
        }
      }
    },
    "encoder": {
      "type": "qwen2_vl",
      "name_or_path": "/mnt/shared-storage-user/donghejun/workspac/models/opendatalab/MinerU2.5-Pro-2604-1.2B",
      "min_pixels": 50176,
      "max_pixels": 1605632,
      "chat_template": "{% for message in messages %}{% if loop.first and message['role'] != 'system' %}<|im_start|>system\nYou are a helpful assistant.<|im_end|>\n{% endif %}<|im_start|>{{ message['role'] }}\n{% if message['role'] == 'assistant' %}{% generation %}{{ message['content'][0]['text'] }}<|im_end|>\n{% endgeneration %}{% else %}{% for content in message['content'] %}{% if content['type'] == 'image' or 'image' in content or 'image_url' in content %}<|vision_start|><|image_pad|><|vision_end|>{% elif content['type'] == 'video' or 'video' in content %}<|vision_start|><|video_pad|><|vision_end|>{% elif 'text' in content %}{{ content['text'] }}{% endif %}{% endfor %}<|im_end|>\n{% endif %}{% endfor %}{% if add_generation_prompt %}<|im_start|>assistant\n{% endif %}\n",
      "system_message": null,
      "mask_token": "<|mask|>",
      "extra_kwargs": {}
    },
    "training_processor": {
      "type": "block_diffusion",
      "masking_eps": 0.001,
      "masking_strategy": "bd3lm",
      "prompt_left_pad": false,
      "extra_kwargs": {}
    },
    "data": {
      "loader": "ocr",
      "data_file": "",
      "image_root": "",
      "max_samples": null,
      "proportion": null,
      "minimum_data_number": 0,
      "datasets": [
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/layout/special_cases/gt_synth_data_77_sft.json",
          "source": "grounding",
          "sampling_strategy": "random:77000"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/layout/special_cases/layout_omnidoc_cluster_34.json",
          "source": "grounding",
          "sampling_strategy": "random:34000"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/layout/mergetags_251227_s1sample.json",
          "source": "grounding",
          "sampling_strategy": "random:50000"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/layout/layout_stage2_data_65k.json",
          "source": "grounding",
          "sampling_strategy": "random:260000"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/layout/layout_w_table_img_extra_35k.json",
          "source": "grounding",
          "sampling_strategy": "random:70000"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/text/human_label/difficult_text_7k.jsonl",
          "source": "mineru/doc_store/content",
          "sampling_strategy": "random:21000"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/text/contentset__000323.748113.jsonl",
          "source": "mineru/doc_store/content",
          "sampling_strategy": "random:500000"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/text/contentset__000324.83846.jsonl",
          "source": "mineru/doc_store/content",
          "sampling_strategy": "random:80000"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage1/text/refine_16m/merged_part_1.jsonl",
          "source": "mineru/doc_store/content",
          "sampling_strategy": "random:80000"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage1/text/refine_16m/merged_part_2.jsonl",
          "source": "mineru/doc_store/content",
          "sampling_strategy": "random:80000"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage1/text/refine_16m/merged_part_3.jsonl",
          "source": "mineru/doc_store/content",
          "sampling_strategy": "random:80000"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage1/text/refine_16m/merged_part_4.jsonl",
          "source": "mineru/doc_store/content",
          "sampling_strategy": "random:80000"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage1/text/refine_16m/merged_part_5.jsonl",
          "source": "mineru/doc_store/content",
          "sampling_strategy": "random:80000"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage1/text/refine_16m/merged_part_6.jsonl",
          "source": "mineru/doc_store/content",
          "sampling_strategy": "random:80000"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/human_label/difficult_equation_9k.jsonl",
          "source": "mineru/doc_store/content",
          "sampling_strategy": "random:27000"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_round2_0810_1k_semantic.json",
          "source": "pure_formula",
          "sampling_strategy": "random:396"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_round2_0810_1k_span.json",
          "source": "pure_formula",
          "sampling_strategy": "random:4048"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_round2_0812_1k.json",
          "source": "pure_formula",
          "sampling_strategy": "random:823"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_round2_0814_5k.json",
          "source": "pure_formula",
          "sampling_strategy": "random:5281"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_round2_0819_6k.json",
          "source": "pure_formula",
          "sampling_strategy": "random:5694"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_round2_0826_2k.json",
          "source": "pure_formula",
          "sampling_strategy": "random:2112"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_round2_0830_3k.json",
          "source": "pure_formula",
          "sampling_strategy": "random:2784"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_left_augmentation.json",
          "source": "pure_formula",
          "sampling_strategy": "random:27352"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_right_augmentation.json",
          "source": "pure_formula",
          "sampling_strategy": "random:14651"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_dollar.json",
          "source": "pure_formula",
          "sampling_strategy": "random:7616"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_percent.json",
          "source": "pure_formula",
          "sampling_strategy": "random:7888"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_perthousand.json",
          "source": "pure_formula",
          "sampling_strategy": "random:7888"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_yen.json",
          "source": "pure_formula",
          "sampling_strategy": "random:7616"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_textcircled_char.json",
          "source": "pure_formula",
          "sampling_strategy": "random:14361"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_textcircled_num.json",
          "source": "pure_formula",
          "sampling_strategy": "random:796"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_textcircled_single.json",
          "source": "pure_formula",
          "sampling_strategy": "random:14361"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_textcircled_two.json",
          "source": "pure_formula",
          "sampling_strategy": "random:14361"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_textcircled_three.json",
          "source": "pure_formula",
          "sampling_strategy": "random:14361"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_unimer1m_long.json",
          "source": "pure_formula",
          "sampling_strategy": "random:266130"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_unimer1m_simple.json",
          "source": "pure_formula",
          "sampling_strategy": "random:7884"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_HWE600K_en.json",
          "source": "pure_formula",
          "sampling_strategy": "random:111672"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_HWE600K_zh.json",
          "source": "pure_formula",
          "sampling_strategy": "random:2887"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_zh_data_0528_part1.json",
          "source": "pure_formula",
          "sampling_strategy": "random:75"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_zh_data_0528_part2.json",
          "source": "pure_formula",
          "sampling_strategy": "random:1965"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_0826_synth_cases.json",
          "source": "pure_formula",
          "sampling_strategy": "random:13973"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_0826_synth_cases_in_cases.json",
          "source": "pure_formula",
          "sampling_strategy": "random:15464"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_0826_synth_matrix_in_matrix.json",
          "source": "pure_formula",
          "sampling_strategy": "random:15560"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_0826_synth_matrix_latex.json",
          "source": "pure_formula",
          "sampling_strategy": "random:23973"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_0826_synth_matrix_link_matrix.json",
          "source": "pure_formula",
          "sampling_strategy": "random:8547"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_0826_synth_matrix_single_character.json",
          "source": "pure_formula",
          "sampling_strategy": "random:25584"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_multiple_simple_align.json",
          "source": "pure_formula",
          "sampling_strategy": "random:19986"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_liminf_latex.json",
          "source": "pure_formula",
          "sampling_strategy": "random:9997"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_limsup_latex.json",
          "source": "pure_formula",
          "sampling_strategy": "random:9997"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_latex_80m_part0.json",
          "source": "pure_formula",
          "sampling_strategy": "random:15840"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_latex_80m_part1.json",
          "source": "pure_formula",
          "sampling_strategy": "random:15754"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_latex_80m_part2.json",
          "source": "pure_formula",
          "sampling_strategy": "random:15932"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_latex_80m_part3.json",
          "source": "pure_formula",
          "sampling_strategy": "random:15900"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_latex_80m_part6.json",
          "source": "pure_formula",
          "sampling_strategy": "random:16012"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_latex_80m_part7.json",
          "source": "pure_formula",
          "sampling_strategy": "random:15838"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_latex_80m_part8.json",
          "source": "pure_formula",
          "sampling_strategy": "random:15820"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_latex_80m_part9.json",
          "source": "pure_formula",
          "sampling_strategy": "random:15922"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_latex_wanjuan.json",
          "source": "pure_formula",
          "sampling_strategy": "random:87756"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_round3_0902_zh_part1.json",
          "source": "pure_formula",
          "sampling_strategy": "random:5706"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_round3_0902_zh_part2.json",
          "source": "pure_formula",
          "sampling_strategy": "random:5805"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_round3_0902_zh_part3.json",
          "source": "pure_formula",
          "sampling_strategy": "random:5849"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_round3_0902_zh_part5.json",
          "source": "pure_formula",
          "sampling_strategy": "random:5889"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_round3_0902_zh_part6.json",
          "source": "pure_formula",
          "sampling_strategy": "random:4806"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_stage1_zh_formula.json",
          "source": "pure_formula",
          "sampling_strategy": "random:23160"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_special_macro_nu.json",
          "source": "pure_formula",
          "sampling_strategy": "random:37133"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_special_macro_pmod.json",
          "source": "pure_formula",
          "sampling_strategy": "random:2964"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/equation/data_special_macro_text.json",
          "source": "pure_formula",
          "sampling_strategy": "random:67395"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/table/special_cases/table_rec_gt_sft_32.json",
          "source": "pure_table",
          "sampling_strategy": "random:5000"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/table/human_label/table_oylk_12k.jsonl",
          "source": "mineru/doc_store/content",
          "sampling_strategy": "random:50000"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/table/human_label/table_w_equation_7k.jsonl",
          "source": "mineru/doc_store/content",
          "sampling_strategy": "random:50000"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/table/user_otsl.json",
          "source": "pure_table",
          "sampling_strategy": "random:50000"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/table/user-otsl-2K.json",
          "source": "pure_table",
          "sampling_strategy": "random:12000"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/table/user-otsl-12K.json",
          "source": "pure_table",
          "sampling_strategy": "random:50000"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/table/user-otsl-13k.json",
          "source": "pure_table",
          "sampling_strategy": "random:50000"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/table/user-otsl.json",
          "source": "pure_table",
          "sampling_strategy": "random:50000"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/table/chn_all-line-user-otsl.json",
          "source": "pure_table",
          "sampling_strategy": "random:10000"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/table/chn_no-line-user-otsl.json",
          "source": "pure_table",
          "sampling_strategy": "random:10000"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/table/chn_three-line-user-otsl.json",
          "source": "pure_table",
          "sampling_strategy": "random:10000"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/table/eng_all-line-user-otsl.json",
          "source": "pure_table",
          "sampling_strategy": "random:10000"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/table/eng_no-line-user-otsl.json",
          "source": "pure_table",
          "sampling_strategy": "random:10000"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/table/eng_three-line-user-otsl.json",
          "source": "pure_table",
          "sampling_strategy": "random:10000"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/table/grpo_data_42k.json",
          "source": "pure_table",
          "sampling_strategy": "random:100000"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/table/human_label_data_15k.json",
          "source": "pure_table",
          "sampling_strategy": "random:90000"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/table/table_with_formula_50k.json",
          "source": "pure_table",
          "sampling_strategy": "random:30000"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/table/pubtabnet_lenstop100k.json",
          "source": "pure_table",
          "sampling_strategy": "random:30000"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/table/fintabnet_91k.json",
          "source": "pure_table",
          "sampling_strategy": "random:30000"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/table/human_label_data_p6_6k.json",
          "source": "pure_table",
          "sampling_strategy": "random:30000"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/table/human_label_data_p7_3k.json",
          "source": "pure_table",
          "sampling_strategy": "random:30000"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/table/hand_write_700.json",
          "source": "pure_table",
          "sampling_strategy": "random:30000"
        },
        {
          "json_path": "/mnt/shared-storage-user/mineru2-shared/hotel/datasets/mineru25_pro_train/stage2/table/tr_cspl10_3k.json",
          "source": "pure_table",
          "sampling_strategy": "random:10000"
        }
      ],
      "max_length": 16384,
      "block_size": 16,
      "per_device_batch_size": 1,
      "dataloader_num_workers": 2,
      "dataloader_prefetch_factor": 2,
      "persistent_workers": true,
      "pin_memory": true,
      "use_length_grouped_sampler": false,
      "length_cache_path": "",
      "length_preprocess_num_workers": null,
      "length_preprocess_task_size": null,
      "source_load_num_workers": null,
      "seed": 42
    },
    "optimizer": {
      "learning_rate": 2e-05,
      "learning_rate_overrides": {
        "model.visual.": 2e-06
      },
      "weight_decay": 0.0,
      "betas": [
        0.9,
        0.95
      ],
      "eps": 1e-08
    },
    "scheduler": {
      "type": "cosine",
      "warmup_ratio": 0.03,
      "num_warmup_steps": null
    },
    "logging": {
      "level": "INFO",
      "logging_steps": 10,
      "log_console": true,
      "log_file": true,
      "log_jsonl": true,
      "log_tensorboard": true,
      "tensorboard_subdir": "runs/logging"
    },
    "wandb": {
      "enabled": true,
      "host": "100.103.178.45",
      "port": 28294,
      "api_key": "local-3eec159c77e9be733252c8bace0086c348d5a82d",
      "project": "dmllm-dev",
      "entity": null,
      "name": "ocr_s2_3e_b16",
      "tags": [],
      "log_train_batch": true,
      "max_train_samples_to_log": 40
    },
    "profile": {
      "enabled": true,
      "log_every_n_steps": 10,
      "strict": false
    },
    "debug": {
      "dump_first_batch": true,
      "dump_train_end_logits": false,
      "log_resume_probe": false,
      "subdir": "debug",
      "max_decoded_tokens": 4096
    },
    "checkpoint": {
      "output_dir": "outputs/main/ocr_s2_3e_b16",
      "save_steps": 1000,
      "save_total_limit": 1,
      "resume_from": null,
      "max_shard_size": "5GB",
      "save_final": true
    },
    "train": {
      "num_train_epochs": 3,
      "max_steps": null,
      "gradient_accumulation_steps": 2,
      "max_grad_norm": 1.0,
      "seed": 42,
      "bf16": true,
      "tf32": true,
      "empty_cache_steps": 0
    }
  }
}