hadikhamoud commited on
Commit
b85ccb6
·
verified ·
1 Parent(s): 608ac40

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
.ipynb_checkpoints/README-checkpoint.md ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Qwen/Qwen3-VL-8B-Instruct
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:Qwen/Qwen3-VL-8B-Instruct
7
+ - lora
8
+ - sft
9
+ - transformers
10
+ - trl
11
+ ---
12
+
13
+ # Model Card for ar-ms-baseline
14
+
15
+ ## Model Summary
16
+
17
+ This model is the baseline system for the NAKBA NLP 2026: Arabic Manuscript Understanding Shared Task (Systems Track). It fine-tunes Qwen3-VL-8B-Instruct with LoRA to transcribe Arabic manuscript line images into text.
18
+
19
+ ## Model Details
20
+
21
+ ### Description
22
+
23
+ - **Model type:** Vision-language OCR/HTR model (LoRA-adapted)
24
+ - **Finetuned from model:** Qwen/Qwen3-VL-8B-Instruct
25
+
26
+ ### Sources
27
+
28
+ - **Repository:** https://github.com/U4RASD/ar-ms-baseline
29
+ - **Shared Task:** https://acrps.ai/nakba-nlp-manu-understanding-2026
30
+
31
+ ## Training Details
32
+
33
+ ### Training Data
34
+
35
+ - NAKBA NLP 2026 Shared Task (Subtask 2) training split from the Omar Al-Saleh memoir collection.
36
+ - Dataset includes line images with gold transcriptions.
37
+
38
+ ### Training Procedure
39
+
40
+ - Supervised fine-tuning with LoRA adapters on Qwen/Qwen3-VL-8B-Instruct.
41
+
42
+ #### Training Hyperparameters
43
+
44
+ - **Config reference:** Hyperparameters are listed in `configs/default.json`
45
+
46
+ ## Evaluation
47
+
48
+ ### Testing Data, Factors & Metrics
49
+
50
+ #### Testing Data
51
+
52
+ - NAKBA NLP 2026 Shared Task (Subtask 2) released test set of line images.
53
+
54
+ #### Metrics
55
+
56
+ - **CER (Character Error Rate)**
57
+ - **WER (Word Error Rate)**
58
+
59
+ ### Results
60
+
61
+ On released test set:
62
+ - CER: 0.2297
63
+ - WER: 0.4998
64
+
65
+ - **Hardware:** NVIDIA H100 SXM
66
+
67
+ ## Contact
68
+
69
+ - ar-ms@dohainstitute.edu.qa
README.md ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Qwen/Qwen3-VL-8B-Instruct
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:Qwen/Qwen3-VL-8B-Instruct
7
+ - lora
8
+ - sft
9
+ - transformers
10
+ - trl
11
+ ---
12
+
13
+ # Model Card for ar-ms-baseline
14
+
15
+ ## Model Summary
16
+
17
+ This model is the baseline system for the NAKBA NLP 2026: Arabic Manuscript Understanding Shared Task (Systems Track). It fine-tunes Qwen3-VL-8B-Instruct with LoRA to transcribe Arabic manuscript line images into text.
18
+
19
+ ## Model Details
20
+
21
+ ### Description
22
+
23
+ - **Model type:** Vision-language OCR/HTR model (LoRA-adapted)
24
+ - **Finetuned from model:** Qwen/Qwen3-VL-8B-Instruct
25
+
26
+ ### Sources
27
+
28
+ - **Repository:** https://github.com/U4RASD/ar-ms-baseline
29
+ - **Shared Task:** https://acrps.ai/nakba-nlp-manu-understanding-2026
30
+
31
+ ## Training Details
32
+
33
+ ### Training Data
34
+
35
+ - NAKBA NLP 2026 Shared Task (Subtask 2) training split from the Omar Al-Saleh memoir collection.
36
+ - Dataset includes line images with gold transcriptions.
37
+
38
+ ### Training Procedure
39
+
40
+ - Supervised fine-tuning with LoRA adapters on Qwen/Qwen3-VL-8B-Instruct.
41
+
42
+ #### Training Hyperparameters
43
+
44
+ - **Config reference:** Hyperparameters are listed in `configs/default.json`
45
+
46
+ ## Evaluation
47
+
48
+ ### Testing Data, Factors & Metrics
49
+
50
+ #### Testing Data
51
+
52
+ - NAKBA NLP 2026 Shared Task (Subtask 2) released test set of line images.
53
+
54
+ #### Metrics
55
+
56
+ - **CER (Character Error Rate)**
57
+ - **WER (Word Error Rate)**
58
+
59
+ ### Results
60
+
61
+ On released test set:
62
+ - CER: 0.2297
63
+ - WER: 0.4998
64
+
65
+ - **Hardware:** NVIDIA H100 SXM
66
+
67
+ ## Contact
68
+
69
+ - ar-ms@dohainstitute.edu.qa
adapter_config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "Qwen/Qwen3-VL-8B-Instruct",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 64,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "megatron_config": null,
23
+ "megatron_core": "megatron.core",
24
+ "modules_to_save": null,
25
+ "peft_type": "LORA",
26
+ "peft_version": "0.18.1",
27
+ "qalora_group_size": 16,
28
+ "r": 32,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "q_proj",
33
+ "up_proj",
34
+ "o_proj",
35
+ "gate_proj",
36
+ "v_proj",
37
+ "down_proj",
38
+ "k_proj"
39
+ ],
40
+ "target_parameters": null,
41
+ "task_type": "CAUSAL_LM",
42
+ "trainable_token_indices": null,
43
+ "use_dora": false,
44
+ "use_qalora": false,
45
+ "use_rslora": false
46
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6033882d518232335ec9b1f3f6e0e59c45640e309703dd6ab1af181b4440a407
3
+ size 349251312
added_tokens.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</think>": 151668,
3
+ "</tool_call>": 151658,
4
+ "</tool_response>": 151666,
5
+ "<think>": 151667,
6
+ "<tool_call>": 151657,
7
+ "<tool_response>": 151665,
8
+ "<|box_end|>": 151649,
9
+ "<|box_start|>": 151648,
10
+ "<|endoftext|>": 151643,
11
+ "<|file_sep|>": 151664,
12
+ "<|fim_middle|>": 151660,
13
+ "<|fim_pad|>": 151662,
14
+ "<|fim_prefix|>": 151659,
15
+ "<|fim_suffix|>": 151661,
16
+ "<|im_end|>": 151645,
17
+ "<|im_start|>": 151644,
18
+ "<|image_pad|>": 151655,
19
+ "<|object_ref_end|>": 151647,
20
+ "<|object_ref_start|>": 151646,
21
+ "<|quad_end|>": 151651,
22
+ "<|quad_start|>": 151650,
23
+ "<|repo_name|>": 151663,
24
+ "<|video_pad|>": 151656,
25
+ "<|vision_end|>": 151653,
26
+ "<|vision_pad|>": 151654,
27
+ "<|vision_start|>": 151652
28
+ }
chat_template.jinja ADDED
@@ -0,0 +1,120 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0].role == 'system' %}
4
+ {%- if messages[0].content is string %}
5
+ {{- messages[0].content }}
6
+ {%- else %}
7
+ {%- for content in messages[0].content %}
8
+ {%- if 'text' in content %}
9
+ {{- content.text }}
10
+ {%- endif %}
11
+ {%- endfor %}
12
+ {%- endif %}
13
+ {{- '\n\n' }}
14
+ {%- endif %}
15
+ {{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
16
+ {%- for tool in tools %}
17
+ {{- "\n" }}
18
+ {{- tool | tojson }}
19
+ {%- endfor %}
20
+ {{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
21
+ {%- else %}
22
+ {%- if messages[0].role == 'system' %}
23
+ {{- '<|im_start|>system\n' }}
24
+ {%- if messages[0].content is string %}
25
+ {{- messages[0].content }}
26
+ {%- else %}
27
+ {%- for content in messages[0].content %}
28
+ {%- if 'text' in content %}
29
+ {{- content.text }}
30
+ {%- endif %}
31
+ {%- endfor %}
32
+ {%- endif %}
33
+ {{- '<|im_end|>\n' }}
34
+ {%- endif %}
35
+ {%- endif %}
36
+ {%- set image_count = namespace(value=0) %}
37
+ {%- set video_count = namespace(value=0) %}
38
+ {%- for message in messages %}
39
+ {%- if message.role == "user" %}
40
+ {{- '<|im_start|>' + message.role + '\n' }}
41
+ {%- if message.content is string %}
42
+ {{- message.content }}
43
+ {%- else %}
44
+ {%- for content in message.content %}
45
+ {%- if content.type == 'image' or 'image' in content or 'image_url' in content %}
46
+ {%- set image_count.value = image_count.value + 1 %}
47
+ {%- if add_vision_id %}Picture {{ image_count.value }}: {% endif -%}
48
+ <|vision_start|><|image_pad|><|vision_end|>
49
+ {%- elif content.type == 'video' or 'video' in content %}
50
+ {%- set video_count.value = video_count.value + 1 %}
51
+ {%- if add_vision_id %}Video {{ video_count.value }}: {% endif -%}
52
+ <|vision_start|><|video_pad|><|vision_end|>
53
+ {%- elif 'text' in content %}
54
+ {{- content.text }}
55
+ {%- endif %}
56
+ {%- endfor %}
57
+ {%- endif %}
58
+ {{- '<|im_end|>\n' }}
59
+ {%- elif message.role == "assistant" %}
60
+ {{- '<|im_start|>' + message.role + '\n' }}
61
+ {%- if message.content is string %}
62
+ {{- message.content }}
63
+ {%- else %}
64
+ {%- for content_item in message.content %}
65
+ {%- if 'text' in content_item %}
66
+ {{- content_item.text }}
67
+ {%- endif %}
68
+ {%- endfor %}
69
+ {%- endif %}
70
+ {%- if message.tool_calls %}
71
+ {%- for tool_call in message.tool_calls %}
72
+ {%- if (loop.first and message.content) or (not loop.first) %}
73
+ {{- '\n' }}
74
+ {%- endif %}
75
+ {%- if tool_call.function %}
76
+ {%- set tool_call = tool_call.function %}
77
+ {%- endif %}
78
+ {{- '<tool_call>\n{"name": "' }}
79
+ {{- tool_call.name }}
80
+ {{- '", "arguments": ' }}
81
+ {%- if tool_call.arguments is string %}
82
+ {{- tool_call.arguments }}
83
+ {%- else %}
84
+ {{- tool_call.arguments | tojson }}
85
+ {%- endif %}
86
+ {{- '}\n</tool_call>' }}
87
+ {%- endfor %}
88
+ {%- endif %}
89
+ {{- '<|im_end|>\n' }}
90
+ {%- elif message.role == "tool" %}
91
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
92
+ {{- '<|im_start|>user' }}
93
+ {%- endif %}
94
+ {{- '\n<tool_response>\n' }}
95
+ {%- if message.content is string %}
96
+ {{- message.content }}
97
+ {%- else %}
98
+ {%- for content in message.content %}
99
+ {%- if content.type == 'image' or 'image' in content or 'image_url' in content %}
100
+ {%- set image_count.value = image_count.value + 1 %}
101
+ {%- if add_vision_id %}Picture {{ image_count.value }}: {% endif -%}
102
+ <|vision_start|><|image_pad|><|vision_end|>
103
+ {%- elif content.type == 'video' or 'video' in content %}
104
+ {%- set video_count.value = video_count.value + 1 %}
105
+ {%- if add_vision_id %}Video {{ video_count.value }}: {% endif -%}
106
+ <|vision_start|><|video_pad|><|vision_end|>
107
+ {%- elif 'text' in content %}
108
+ {{- content.text }}
109
+ {%- endif %}
110
+ {%- endfor %}
111
+ {%- endif %}
112
+ {{- '\n</tool_response>' }}
113
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
114
+ {{- '<|im_end|>\n' }}
115
+ {%- endif %}
116
+ {%- endif %}
117
+ {%- endfor %}
118
+ {%- if add_generation_prompt %}
119
+ {{- '<|im_start|>assistant\n' }}
120
+ {%- endif %}
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6878b338b264ad42af5b8a8053d5416e124650c5e856a50acf1a5568fe32ded6
3
+ size 698784715
preprocessor_config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": null,
3
+ "data_format": "channels_first",
4
+ "default_to_square": true,
5
+ "device": null,
6
+ "disable_grouping": null,
7
+ "do_center_crop": null,
8
+ "do_convert_rgb": true,
9
+ "do_normalize": true,
10
+ "do_pad": null,
11
+ "do_rescale": true,
12
+ "do_resize": true,
13
+ "image_mean": [
14
+ 0.5,
15
+ 0.5,
16
+ 0.5
17
+ ],
18
+ "image_processor_type": "Qwen2VLImageProcessorFast",
19
+ "image_std": [
20
+ 0.5,
21
+ 0.5,
22
+ 0.5
23
+ ],
24
+ "input_data_format": null,
25
+ "max_pixels": null,
26
+ "merge_size": 2,
27
+ "min_pixels": null,
28
+ "pad_size": null,
29
+ "patch_size": 16,
30
+ "processor_class": "Qwen3VLProcessor",
31
+ "resample": 3,
32
+ "rescale_factor": 0.00392156862745098,
33
+ "return_tensors": null,
34
+ "size": {
35
+ "longest_edge": 16777216,
36
+ "shortest_edge": 65536
37
+ },
38
+ "temporal_patch_size": 2
39
+ }
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:633ab8881b9391d323b0ee76e5ac535652025f3f3f909f941add3c4930d53f71
3
+ size 14645
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a63a41f0505afccda0cfa3e950bf0aa585a681cdb415bd2662ba75c7fa30bf02
3
+ size 1465
special_tokens_map.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>",
5
+ "<|object_ref_start|>",
6
+ "<|object_ref_end|>",
7
+ "<|box_start|>",
8
+ "<|box_end|>",
9
+ "<|quad_start|>",
10
+ "<|quad_end|>",
11
+ "<|vision_start|>",
12
+ "<|vision_end|>",
13
+ "<|vision_pad|>",
14
+ "<|image_pad|>",
15
+ "<|video_pad|>"
16
+ ],
17
+ "eos_token": {
18
+ "content": "<|im_end|>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "pad_token": {
25
+ "content": "<|endoftext|>",
26
+ "lstrip": false,
27
+ "normalized": false,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ }
31
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4
3
+ size 11422654
tokenizer_config.json ADDED
@@ -0,0 +1,240 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "151643": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "151644": {
14
+ "content": "<|im_start|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "151645": {
22
+ "content": "<|im_end|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "151646": {
30
+ "content": "<|object_ref_start|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "151647": {
38
+ "content": "<|object_ref_end|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "151648": {
46
+ "content": "<|box_start|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "151649": {
54
+ "content": "<|box_end|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "151650": {
62
+ "content": "<|quad_start|>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "151651": {
70
+ "content": "<|quad_end|>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "151652": {
78
+ "content": "<|vision_start|>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "151653": {
86
+ "content": "<|vision_end|>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "151654": {
94
+ "content": "<|vision_pad|>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "151655": {
102
+ "content": "<|image_pad|>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "151656": {
110
+ "content": "<|video_pad|>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": true
116
+ },
117
+ "151657": {
118
+ "content": "<tool_call>",
119
+ "lstrip": false,
120
+ "normalized": false,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": false
124
+ },
125
+ "151658": {
126
+ "content": "</tool_call>",
127
+ "lstrip": false,
128
+ "normalized": false,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": false
132
+ },
133
+ "151659": {
134
+ "content": "<|fim_prefix|>",
135
+ "lstrip": false,
136
+ "normalized": false,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": false
140
+ },
141
+ "151660": {
142
+ "content": "<|fim_middle|>",
143
+ "lstrip": false,
144
+ "normalized": false,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": false
148
+ },
149
+ "151661": {
150
+ "content": "<|fim_suffix|>",
151
+ "lstrip": false,
152
+ "normalized": false,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": false
156
+ },
157
+ "151662": {
158
+ "content": "<|fim_pad|>",
159
+ "lstrip": false,
160
+ "normalized": false,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": false
164
+ },
165
+ "151663": {
166
+ "content": "<|repo_name|>",
167
+ "lstrip": false,
168
+ "normalized": false,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": false
172
+ },
173
+ "151664": {
174
+ "content": "<|file_sep|>",
175
+ "lstrip": false,
176
+ "normalized": false,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": false
180
+ },
181
+ "151665": {
182
+ "content": "<tool_response>",
183
+ "lstrip": false,
184
+ "normalized": false,
185
+ "rstrip": false,
186
+ "single_word": false,
187
+ "special": false
188
+ },
189
+ "151666": {
190
+ "content": "</tool_response>",
191
+ "lstrip": false,
192
+ "normalized": false,
193
+ "rstrip": false,
194
+ "single_word": false,
195
+ "special": false
196
+ },
197
+ "151667": {
198
+ "content": "<think>",
199
+ "lstrip": false,
200
+ "normalized": false,
201
+ "rstrip": false,
202
+ "single_word": false,
203
+ "special": false
204
+ },
205
+ "151668": {
206
+ "content": "</think>",
207
+ "lstrip": false,
208
+ "normalized": false,
209
+ "rstrip": false,
210
+ "single_word": false,
211
+ "special": false
212
+ }
213
+ },
214
+ "additional_special_tokens": [
215
+ "<|im_start|>",
216
+ "<|im_end|>",
217
+ "<|object_ref_start|>",
218
+ "<|object_ref_end|>",
219
+ "<|box_start|>",
220
+ "<|box_end|>",
221
+ "<|quad_start|>",
222
+ "<|quad_end|>",
223
+ "<|vision_start|>",
224
+ "<|vision_end|>",
225
+ "<|vision_pad|>",
226
+ "<|image_pad|>",
227
+ "<|video_pad|>"
228
+ ],
229
+ "bos_token": null,
230
+ "clean_up_tokenization_spaces": false,
231
+ "eos_token": "<|im_end|>",
232
+ "errors": "replace",
233
+ "extra_special_tokens": {},
234
+ "model_max_length": 262144,
235
+ "pad_token": "<|endoftext|>",
236
+ "processor_class": "Qwen3VLProcessor",
237
+ "split_special_tokens": false,
238
+ "tokenizer_class": "Qwen2Tokenizer",
239
+ "unk_token": null
240
+ }
trainer_state.json ADDED
@@ -0,0 +1,294 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 2.0,
6
+ "eval_steps": 500,
7
+ "global_step": 1332,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "entropy": 2.4947163558006284,
14
+ "epoch": 0.07507507507507508,
15
+ "grad_norm": 2.2692031860351562,
16
+ "learning_rate": 1.99976055134129e-05,
17
+ "loss": 9.666,
18
+ "mean_token_accuracy": 0.3714864462614059,
19
+ "num_tokens": 175430.0,
20
+ "step": 50
21
+ },
22
+ {
23
+ "entropy": 4.957374696731567,
24
+ "epoch": 0.15015015015015015,
25
+ "grad_norm": 0.4004897177219391,
26
+ "learning_rate": 1.98972684724999e-05,
27
+ "loss": 3.687,
28
+ "mean_token_accuracy": 0.5028938430547715,
29
+ "num_tokens": 350404.0,
30
+ "step": 100
31
+ },
32
+ {
33
+ "entropy": 4.707881135940552,
34
+ "epoch": 0.22522522522522523,
35
+ "grad_norm": 0.4421725571155548,
36
+ "learning_rate": 1.9650816346189154e-05,
37
+ "loss": 3.4827,
38
+ "mean_token_accuracy": 0.5126789313554764,
39
+ "num_tokens": 526514.0,
40
+ "step": 150
41
+ },
42
+ {
43
+ "entropy": 4.64449327468872,
44
+ "epoch": 0.3003003003003003,
45
+ "grad_norm": 0.4718657433986664,
46
+ "learning_rate": 1.926188754982551e-05,
47
+ "loss": 3.4128,
48
+ "mean_token_accuracy": 0.5216181075572968,
49
+ "num_tokens": 701236.0,
50
+ "step": 200
51
+ },
52
+ {
53
+ "entropy": 4.598890199661255,
54
+ "epoch": 0.37537537537537535,
55
+ "grad_norm": 0.4660639762878418,
56
+ "learning_rate": 1.8736223906463698e-05,
57
+ "loss": 3.3675,
58
+ "mean_token_accuracy": 0.528342125415802,
59
+ "num_tokens": 876499.0,
60
+ "step": 250
61
+ },
62
+ {
63
+ "entropy": 4.603140239715576,
64
+ "epoch": 0.45045045045045046,
65
+ "grad_norm": 0.47321391105651855,
66
+ "learning_rate": 1.8081585879342008e-05,
67
+ "loss": 3.3821,
68
+ "mean_token_accuracy": 0.5266077440977096,
69
+ "num_tokens": 1051864.0,
70
+ "step": 300
71
+ },
72
+ {
73
+ "entropy": 4.587698755264282,
74
+ "epoch": 0.5255255255255256,
75
+ "grad_norm": 0.5947113633155823,
76
+ "learning_rate": 1.7307638002821942e-05,
77
+ "loss": 3.3509,
78
+ "mean_token_accuracy": 0.5320688891410827,
79
+ "num_tokens": 1226112.0,
80
+ "step": 350
81
+ },
82
+ {
83
+ "entropy": 4.596508531570435,
84
+ "epoch": 0.6006006006006006,
85
+ "grad_norm": 0.5403749942779541,
86
+ "learning_rate": 1.6425806203196734e-05,
87
+ "loss": 3.3672,
88
+ "mean_token_accuracy": 0.5314443480968475,
89
+ "num_tokens": 1401199.0,
90
+ "step": 400
91
+ },
92
+ {
93
+ "entropy": 4.5638793849945065,
94
+ "epoch": 0.6756756756756757,
95
+ "grad_norm": 0.5813198685646057,
96
+ "learning_rate": 1.544910911576629e-05,
97
+ "loss": 3.3328,
98
+ "mean_token_accuracy": 0.5359585750102996,
99
+ "num_tokens": 1576517.0,
100
+ "step": 450
101
+ },
102
+ {
103
+ "entropy": 4.571099786758423,
104
+ "epoch": 0.7507507507507507,
105
+ "grad_norm": 0.5679024457931519,
106
+ "learning_rate": 1.4391965888473705e-05,
107
+ "loss": 3.3438,
108
+ "mean_token_accuracy": 0.5345500099658966,
109
+ "num_tokens": 1751444.0,
110
+ "step": 500
111
+ },
112
+ {
113
+ "entropy": 4.5622615623474125,
114
+ "epoch": 0.8258258258258259,
115
+ "grad_norm": 0.6713469624519348,
116
+ "learning_rate": 1.3269983309531584e-05,
117
+ "loss": 3.3411,
118
+ "mean_token_accuracy": 0.5363436281681061,
119
+ "num_tokens": 1926907.0,
120
+ "step": 550
121
+ },
122
+ {
123
+ "entropy": 4.562127561569214,
124
+ "epoch": 0.9009009009009009,
125
+ "grad_norm": 0.6330661177635193,
126
+ "learning_rate": 1.2099725401709685e-05,
127
+ "loss": 3.3382,
128
+ "mean_token_accuracy": 0.5368253135681152,
129
+ "num_tokens": 2102132.0,
130
+ "step": 600
131
+ },
132
+ {
133
+ "entropy": 4.561514482498169,
134
+ "epoch": 0.975975975975976,
135
+ "grad_norm": 0.7525476813316345,
136
+ "learning_rate": 1.0898468884803366e-05,
137
+ "loss": 3.3411,
138
+ "mean_token_accuracy": 0.537065578699112,
139
+ "num_tokens": 2277537.0,
140
+ "step": 650
141
+ },
142
+ {
143
+ "entropy": 4.548706264495849,
144
+ "epoch": 1.0510510510510511,
145
+ "grad_norm": 0.6428335309028625,
146
+ "learning_rate": 9.683948116432609e-06,
147
+ "loss": 3.3205,
148
+ "mean_token_accuracy": 0.5413484466075897,
149
+ "num_tokens": 2449566.0,
150
+ "step": 700
151
+ },
152
+ {
153
+ "entropy": 4.5432649517059325,
154
+ "epoch": 1.1261261261261262,
155
+ "grad_norm": 0.6926820278167725,
156
+ "learning_rate": 8.474093276654764e-06,
157
+ "loss": 3.3025,
158
+ "mean_token_accuracy": 0.5445451009273529,
159
+ "num_tokens": 2623865.0,
160
+ "step": 750
161
+ },
162
+ {
163
+ "entropy": 4.537814807891846,
164
+ "epoch": 1.2012012012012012,
165
+ "grad_norm": 0.6473987698554993,
166
+ "learning_rate": 7.286765661616761e-06,
167
+ "loss": 3.3031,
168
+ "mean_token_accuracy": 0.5444674134254456,
169
+ "num_tokens": 2798793.0,
170
+ "step": 800
171
+ },
172
+ {
173
+ "entropy": 4.533882551193237,
174
+ "epoch": 1.2762762762762763,
175
+ "grad_norm": 0.7260850667953491,
176
+ "learning_rate": 6.139493994152428e-06,
177
+ "loss": 3.3086,
178
+ "mean_token_accuracy": 0.5432299053668976,
179
+ "num_tokens": 2975077.0,
180
+ "step": 850
181
+ },
182
+ {
183
+ "entropy": 4.509051198959351,
184
+ "epoch": 1.3513513513513513,
185
+ "grad_norm": 0.7649775743484497,
186
+ "learning_rate": 5.0492156442170914e-06,
187
+ "loss": 3.262,
188
+ "mean_token_accuracy": 0.5496996784210205,
189
+ "num_tokens": 3149867.0,
190
+ "step": 900
191
+ },
192
+ {
193
+ "entropy": 4.533229093551636,
194
+ "epoch": 1.4264264264264264,
195
+ "grad_norm": 0.7427539229393005,
196
+ "learning_rate": 4.0320265795669815e-06,
197
+ "loss": 3.2888,
198
+ "mean_token_accuracy": 0.5470581102371216,
199
+ "num_tokens": 3324230.0,
200
+ "step": 950
201
+ },
202
+ {
203
+ "entropy": 4.5299335289001466,
204
+ "epoch": 1.5015015015015014,
205
+ "grad_norm": 0.7631803154945374,
206
+ "learning_rate": 3.1029437382047368e-06,
207
+ "loss": 3.2959,
208
+ "mean_token_accuracy": 0.5465954422950745,
209
+ "num_tokens": 3499600.0,
210
+ "step": 1000
211
+ },
212
+ {
213
+ "entropy": 4.519344367980957,
214
+ "epoch": 1.5765765765765765,
215
+ "grad_norm": 0.7936219573020935,
216
+ "learning_rate": 2.275683330727697e-06,
217
+ "loss": 3.2927,
218
+ "mean_token_accuracy": 0.5452944958209991,
219
+ "num_tokens": 3676089.0,
220
+ "step": 1050
221
+ },
222
+ {
223
+ "entropy": 4.532338409423828,
224
+ "epoch": 1.6516516516516515,
225
+ "grad_norm": 0.735207200050354,
226
+ "learning_rate": 1.562458345539739e-06,
227
+ "loss": 3.3022,
228
+ "mean_token_accuracy": 0.5458044326305389,
229
+ "num_tokens": 3851878.0,
230
+ "step": 1100
231
+ },
232
+ {
233
+ "entropy": 4.519860811233521,
234
+ "epoch": 1.7267267267267268,
235
+ "grad_norm": 0.9440169930458069,
236
+ "learning_rate": 9.737982463922102e-07,
237
+ "loss": 3.2767,
238
+ "mean_token_accuracy": 0.5487184035778045,
239
+ "num_tokens": 4026785.0,
240
+ "step": 1150
241
+ },
242
+ {
243
+ "entropy": 4.5121307468414305,
244
+ "epoch": 1.8018018018018018,
245
+ "grad_norm": 0.8288739919662476,
246
+ "learning_rate": 5.183935240903415e-07,
247
+ "loss": 3.2591,
248
+ "mean_token_accuracy": 0.5512541651725769,
249
+ "num_tokens": 4200908.0,
250
+ "step": 1200
251
+ },
252
+ {
253
+ "entropy": 4.517954025268555,
254
+ "epoch": 1.8768768768768769,
255
+ "grad_norm": 0.7847370505332947,
256
+ "learning_rate": 2.0296739727517335e-07,
257
+ "loss": 3.2798,
258
+ "mean_token_accuracy": 0.5484513938426971,
259
+ "num_tokens": 4376428.0,
260
+ "step": 1250
261
+ },
262
+ {
263
+ "entropy": 4.50932373046875,
264
+ "epoch": 1.951951951951952,
265
+ "grad_norm": 0.7920858860015869,
266
+ "learning_rate": 3.217655638451112e-08,
267
+ "loss": 3.2683,
268
+ "mean_token_accuracy": 0.5490582883358002,
269
+ "num_tokens": 4551678.0,
270
+ "step": 1300
271
+ }
272
+ ],
273
+ "logging_steps": 50,
274
+ "max_steps": 1332,
275
+ "num_input_tokens_seen": 0,
276
+ "num_train_epochs": 2,
277
+ "save_steps": 500,
278
+ "stateful_callbacks": {
279
+ "TrainerControl": {
280
+ "args": {
281
+ "should_epoch_stop": false,
282
+ "should_evaluate": false,
283
+ "should_log": false,
284
+ "should_save": true,
285
+ "should_training_stop": true
286
+ },
287
+ "attributes": {}
288
+ }
289
+ },
290
+ "total_flos": 2.767706644103712e+17,
291
+ "train_batch_size": 24,
292
+ "trial_name": null,
293
+ "trial_params": null
294
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d2808136ec74de9f08c136f96c3bb98ce16654f47a82d6a006a9f1de3bde0b28
3
+ size 6289
video_preprocessor_config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": null,
3
+ "data_format": "channels_first",
4
+ "default_to_square": true,
5
+ "device": null,
6
+ "do_center_crop": null,
7
+ "do_convert_rgb": true,
8
+ "do_normalize": true,
9
+ "do_rescale": true,
10
+ "do_resize": true,
11
+ "do_sample_frames": true,
12
+ "fps": 2,
13
+ "image_mean": [
14
+ 0.5,
15
+ 0.5,
16
+ 0.5
17
+ ],
18
+ "image_std": [
19
+ 0.5,
20
+ 0.5,
21
+ 0.5
22
+ ],
23
+ "input_data_format": null,
24
+ "max_frames": 768,
25
+ "merge_size": 2,
26
+ "min_frames": 4,
27
+ "num_frames": null,
28
+ "pad_size": null,
29
+ "patch_size": 16,
30
+ "processor_class": "Qwen3VLProcessor",
31
+ "resample": 3,
32
+ "rescale_factor": 0.00392156862745098,
33
+ "return_metadata": false,
34
+ "size": {
35
+ "longest_edge": 25165824,
36
+ "shortest_edge": 4096
37
+ },
38
+ "temporal_patch_size": 2,
39
+ "video_metadata": null,
40
+ "video_processor_type": "Qwen3VLVideoProcessor"
41
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff