psyka-101 commited on
Commit
3d02c49
·
verified ·
1 Parent(s): 7a00b9e

Clean up large checkpoint folders

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. checkpoint-1000/README.md +0 -208
  2. checkpoint-1000/adapter_config.json +0 -60
  3. checkpoint-1000/adapter_model.safetensors +0 -3
  4. checkpoint-1000/chat_template.jinja +0 -140
  5. checkpoint-1000/optimizer.pt +0 -3
  6. checkpoint-1000/processor_config.json +0 -67
  7. checkpoint-1000/rng_state.pth +0 -3
  8. checkpoint-1000/scheduler.pt +0 -3
  9. checkpoint-1000/tokenizer.json +0 -0
  10. checkpoint-1000/tokenizer_config.json +0 -16
  11. checkpoint-1000/trainer_state.json +0 -750
  12. checkpoint-1000/training_args.bin +0 -3
  13. checkpoint-10000/README.md +0 -208
  14. checkpoint-10000/adapter_config.json +0 -60
  15. checkpoint-10000/adapter_model.safetensors +0 -3
  16. checkpoint-10000/chat_template.jinja +0 -140
  17. checkpoint-10000/optimizer.pt +0 -3
  18. checkpoint-10000/processor_config.json +0 -67
  19. checkpoint-10000/rng_state.pth +0 -3
  20. checkpoint-10000/scheduler.pt +0 -3
  21. checkpoint-10000/tokenizer.json +0 -0
  22. checkpoint-10000/tokenizer_config.json +0 -16
  23. checkpoint-10000/trainer_state.json +0 -0
  24. checkpoint-10000/training_args.bin +0 -3
  25. checkpoint-10500/README.md +0 -208
  26. checkpoint-10500/adapter_config.json +0 -60
  27. checkpoint-10500/adapter_model.safetensors +0 -3
  28. checkpoint-10500/chat_template.jinja +0 -140
  29. checkpoint-10500/optimizer.pt +0 -3
  30. checkpoint-10500/processor_config.json +0 -67
  31. checkpoint-10500/rng_state.pth +0 -3
  32. checkpoint-10500/scheduler.pt +0 -3
  33. checkpoint-10500/tokenizer.json +0 -0
  34. checkpoint-10500/tokenizer_config.json +0 -16
  35. checkpoint-10500/trainer_state.json +0 -0
  36. checkpoint-10500/training_args.bin +0 -3
  37. checkpoint-11000/README.md +0 -208
  38. checkpoint-11000/adapter_config.json +0 -60
  39. checkpoint-11000/adapter_model.safetensors +0 -3
  40. checkpoint-11000/chat_template.jinja +0 -140
  41. checkpoint-11000/optimizer.pt +0 -3
  42. checkpoint-11000/processor_config.json +0 -67
  43. checkpoint-11000/rng_state.pth +0 -3
  44. checkpoint-11000/scheduler.pt +0 -3
  45. checkpoint-11000/tokenizer.json +0 -0
  46. checkpoint-11000/tokenizer_config.json +0 -16
  47. checkpoint-11000/trainer_state.json +0 -0
  48. checkpoint-11000/training_args.bin +0 -3
  49. checkpoint-11500/README.md +0 -208
  50. checkpoint-11500/adapter_config.json +0 -60
checkpoint-1000/README.md DELETED
@@ -1,208 +0,0 @@
1
- ---
2
- base_model: zai-org/GLM-OCR
3
- library_name: peft
4
- pipeline_tag: text-generation
5
- tags:
6
- - base_model:adapter:zai-org/GLM-OCR
7
- - llama-factory
8
- - lora
9
- - transformers
10
- ---
11
-
12
- # Model Card for Model ID
13
-
14
- <!-- Provide a quick summary of what the model is/does. -->
15
-
16
-
17
-
18
- ## Model Details
19
-
20
- ### Model Description
21
-
22
- <!-- Provide a longer summary of what this model is. -->
23
-
24
-
25
-
26
- - **Developed by:** [More Information Needed]
27
- - **Funded by [optional]:** [More Information Needed]
28
- - **Shared by [optional]:** [More Information Needed]
29
- - **Model type:** [More Information Needed]
30
- - **Language(s) (NLP):** [More Information Needed]
31
- - **License:** [More Information Needed]
32
- - **Finetuned from model [optional]:** [More Information Needed]
33
-
34
- ### Model Sources [optional]
35
-
36
- <!-- Provide the basic links for the model. -->
37
-
38
- - **Repository:** [More Information Needed]
39
- - **Paper [optional]:** [More Information Needed]
40
- - **Demo [optional]:** [More Information Needed]
41
-
42
- ## Uses
43
-
44
- <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
45
-
46
- ### Direct Use
47
-
48
- <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
49
-
50
- [More Information Needed]
51
-
52
- ### Downstream Use [optional]
53
-
54
- <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
55
-
56
- [More Information Needed]
57
-
58
- ### Out-of-Scope Use
59
-
60
- <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
61
-
62
- [More Information Needed]
63
-
64
- ## Bias, Risks, and Limitations
65
-
66
- <!-- This section is meant to convey both technical and sociotechnical limitations. -->
67
-
68
- [More Information Needed]
69
-
70
- ### Recommendations
71
-
72
- <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
73
-
74
- Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
75
-
76
- ## How to Get Started with the Model
77
-
78
- Use the code below to get started with the model.
79
-
80
- [More Information Needed]
81
-
82
- ## Training Details
83
-
84
- ### Training Data
85
-
86
- <!-- 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. -->
87
-
88
- [More Information Needed]
89
-
90
- ### Training Procedure
91
-
92
- <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
93
-
94
- #### Preprocessing [optional]
95
-
96
- [More Information Needed]
97
-
98
-
99
- #### Training Hyperparameters
100
-
101
- - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
102
-
103
- #### Speeds, Sizes, Times [optional]
104
-
105
- <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
106
-
107
- [More Information Needed]
108
-
109
- ## Evaluation
110
-
111
- <!-- This section describes the evaluation protocols and provides the results. -->
112
-
113
- ### Testing Data, Factors & Metrics
114
-
115
- #### Testing Data
116
-
117
- <!-- This should link to a Dataset Card if possible. -->
118
-
119
- [More Information Needed]
120
-
121
- #### Factors
122
-
123
- <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
124
-
125
- [More Information Needed]
126
-
127
- #### Metrics
128
-
129
- <!-- These are the evaluation metrics being used, ideally with a description of why. -->
130
-
131
- [More Information Needed]
132
-
133
- ### Results
134
-
135
- [More Information Needed]
136
-
137
- #### Summary
138
-
139
-
140
-
141
- ## Model Examination [optional]
142
-
143
- <!-- Relevant interpretability work for the model goes here -->
144
-
145
- [More Information Needed]
146
-
147
- ## Environmental Impact
148
-
149
- <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
150
-
151
- 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).
152
-
153
- - **Hardware Type:** [More Information Needed]
154
- - **Hours used:** [More Information Needed]
155
- - **Cloud Provider:** [More Information Needed]
156
- - **Compute Region:** [More Information Needed]
157
- - **Carbon Emitted:** [More Information Needed]
158
-
159
- ## Technical Specifications [optional]
160
-
161
- ### Model Architecture and Objective
162
-
163
- [More Information Needed]
164
-
165
- ### Compute Infrastructure
166
-
167
- [More Information Needed]
168
-
169
- #### Hardware
170
-
171
- [More Information Needed]
172
-
173
- #### Software
174
-
175
- [More Information Needed]
176
-
177
- ## Citation [optional]
178
-
179
- <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
180
-
181
- **BibTeX:**
182
-
183
- [More Information Needed]
184
-
185
- **APA:**
186
-
187
- [More Information Needed]
188
-
189
- ## Glossary [optional]
190
-
191
- <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
192
-
193
- [More Information Needed]
194
-
195
- ## More Information [optional]
196
-
197
- [More Information Needed]
198
-
199
- ## Model Card Authors [optional]
200
-
201
- [More Information Needed]
202
-
203
- ## Model Card Contact
204
-
205
- [More Information Needed]
206
- ### Framework versions
207
-
208
- - PEFT 0.18.1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
checkpoint-1000/adapter_config.json DELETED
@@ -1,60 +0,0 @@
1
- {
2
- "alora_invocation_tokens": null,
3
- "alpha_pattern": {},
4
- "arrow_config": null,
5
- "auto_mapping": null,
6
- "base_model_name_or_path": "zai-org/GLM-OCR",
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": 16,
20
- "lora_bias": false,
21
- "lora_dropout": 0.1,
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": 8,
29
- "rank_pattern": {},
30
- "revision": null,
31
- "target_modules": [
32
- "layers.7.mlp.down_proj",
33
- "v_proj",
34
- "o_proj",
35
- "layers.4.mlp.down_proj",
36
- "layers.14.mlp.down_proj",
37
- "layers.2.mlp.down_proj",
38
- "layers.9.mlp.down_proj",
39
- "layers.0.mlp.down_proj",
40
- "layers.3.mlp.down_proj",
41
- "layers.15.mlp.down_proj",
42
- "layers.11.mlp.down_proj",
43
- "k_proj",
44
- "layers.8.mlp.down_proj",
45
- "q_proj",
46
- "gate_up_proj",
47
- "layers.10.mlp.down_proj",
48
- "layers.6.mlp.down_proj",
49
- "layers.13.mlp.down_proj",
50
- "layers.1.mlp.down_proj",
51
- "layers.5.mlp.down_proj",
52
- "layers.12.mlp.down_proj"
53
- ],
54
- "target_parameters": null,
55
- "task_type": "CAUSAL_LM",
56
- "trainable_token_indices": null,
57
- "use_dora": false,
58
- "use_qalora": false,
59
- "use_rslora": false
60
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
checkpoint-1000/adapter_model.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:056d7c4e66ee5f7186524b84ae123edb8d9b3d059affb137e7c9be01e12faaa6
3
- size 14970360
 
 
 
 
checkpoint-1000/chat_template.jinja DELETED
@@ -1,140 +0,0 @@
1
- [gMASK]<sop>
2
- {%- if tools -%}
3
- <|system|>
4
- # Tools
5
-
6
- You may call one or more functions to assist with the user query.
7
-
8
- You are provided with function signatures within <tools></tools> XML tags:
9
- <tools>
10
- {% for tool in tools %}
11
- {{ tool | tojson(ensure_ascii=False) }}
12
- {% endfor %}
13
- </tools>
14
-
15
- For each function call, output the function name and arguments within the following XML format:
16
- <tool_call>{function-name}
17
- <arg_key>{arg-key-1}</arg_key>
18
- <arg_value>{arg-value-1}</arg_value>
19
- <arg_key>{arg-key-2}</arg_key>
20
- <arg_value>{arg-value-2}</arg_value>
21
- ...
22
- </tool_call>{%- endif -%}
23
- {%- macro visible_text(content) -%}
24
- {%- if content is string -%}
25
- {{- content }}
26
- {%- elif content is iterable and content is not mapping -%}
27
- {%- for item in content -%}
28
- {%- if item is mapping and item.type == 'text' -%}
29
- {{- item.text }}
30
- {%- elif item is mapping and (item.type == 'image' or 'image' in item) -%}
31
- <|begin_of_image|><|image|><|end_of_image|>
32
- {%- elif item is mapping and (item.type == 'video' or 'video' in item) -%}
33
- <|begin_of_video|><|video|><|end_of_video|>
34
- {%- elif item is string -%}
35
- {{- item }}
36
- {%- endif -%}
37
- {%- endfor -%}
38
- {%- else -%}
39
- {{- content }}
40
- {%- endif -%}
41
- {%- endmacro -%}
42
- {%- set ns = namespace(last_user_index=-1) %}
43
- {%- for m in messages %}
44
- {%- if m.role == 'user' %}
45
- {% set ns.last_user_index = loop.index0 -%}
46
- {%- endif %}
47
- {%- endfor %}
48
- {% for m in messages %}
49
- {%- if m.role == 'user' -%}<|user|>
50
- {% if m.content is string %}
51
- {{ m.content }}
52
- {%- else %}
53
- {%- for item in m.content %}
54
- {% if item.type == 'video' or 'video' in item %}
55
- <|begin_of_video|><|video|><|end_of_video|>{% elif item.type == 'image' or 'image' in item %}
56
- <|begin_of_image|><|image|><|end_of_image|>{% elif item.type == 'text' %}
57
- {{ item.text }}
58
- {%- endif %}
59
- {%- endfor %}
60
- {%- endif %}
61
- {{- '/nothink' if (enable_thinking is defined and not enable_thinking and not visible_text(m.content).endswith("/nothink")) else '' -}}
62
- {%- elif m.role == 'assistant' -%}
63
- <|assistant|>
64
- {%- set reasoning_content = '' %}
65
- {%- set content = visible_text(m.content) %}
66
- {%- if m.reasoning_content is string %}
67
- {%- set reasoning_content = m.reasoning_content %}
68
- {%- else %}
69
- {%- if '</think>' in content %}
70
- {%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
71
- {%- set content = content.split('</think>')[-1].lstrip('\n') %}
72
- {%- endif %}
73
- {%- endif %}
74
- {%- if loop.index0 > ns.last_user_index and reasoning_content -%}
75
- {{ '\n<think>' + reasoning_content.strip() + '</think>'}}
76
- {%- else -%}
77
- {{ '\n<think></think>' }}
78
- {%- endif -%}
79
- {%- if content.strip() -%}
80
- {{ '\n' + content.strip() }}
81
- {%- endif -%}
82
- {% if m.tool_calls %}
83
- {% for tc in m.tool_calls %}
84
- {%- if tc.function %}
85
- {%- set tc = tc.function %}
86
- {%- endif %}
87
- {{ '\n<tool_call>' + tc.name }}
88
- {% set _args = tc.arguments %}
89
- {% for k, v in _args.items() %}
90
- <arg_key>{{ k }}</arg_key>
91
- <arg_value>{{ v | tojson(ensure_ascii=False) if v is not string else v }}</arg_value>
92
- {% endfor %}
93
- </tool_call>{% endfor %}
94
- {% endif %}
95
- {%- elif m.role == 'tool' -%}
96
- {%- if m.content is string -%}
97
- {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
98
- {{- '<|observation|>' }}
99
- {%- endif %}
100
- {{- '\n<tool_response>\n' }}
101
- {{- m.content }}
102
- {{- '\n</tool_response>' }}
103
- {% elif m.content is iterable and m.content is not mapping %}
104
- {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
105
- {{- '<|observation|>' }}
106
- {%- endif %}
107
- {{- '\n<tool_response>\n' }}
108
- {%- for tr in m.content -%}
109
- {%- if tr is mapping and tr.type is defined -%}
110
- {%- set t = tr.type | lower -%}
111
- {%- if t == 'text' and tr.text is defined -%}
112
- {{ tr.text }}
113
- {%- elif t in ['image', 'image_url'] -%}
114
- <|begin_of_image|><|image|><|end_of_image|>
115
- {%- elif t in ['video', 'video_url'] -%}
116
- <|begin_of_video|><|video|><|end_of_video|>
117
- {%- else -%}
118
- {{ tr | tojson(ensure_ascii=False) }}
119
- {%- endif -%}
120
- {%- else -%}
121
- {{ tr.output if tr.output is defined else tr }}
122
- {%- endif -%}
123
- {%- endfor -%}
124
- {{- '\n</tool_response>' }}
125
- {%- else -%}
126
- <|observation|>{% for tr in m.content %}
127
-
128
- <tool_response>
129
- {{ tr.output if tr.output is defined else tr }}
130
- </tool_response>{% endfor -%}
131
- {% endif -%}
132
- {%- elif m.role == 'system' -%}
133
- <|system|>
134
- {{ visible_text(m.content) }}
135
- {%- endif -%}
136
- {%- endfor -%}
137
- {%- if add_generation_prompt -%}
138
- <|assistant|>
139
- {{'<think></think>\n' if (enable_thinking is defined and not enable_thinking) else ''}}
140
- {%- endif -%}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
checkpoint-1000/optimizer.pt DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:c8b9ad02cd19426f44509c2d6f7880ecf1e9150d4017427ecc5bde6ee31d857e
3
- size 30048843
 
 
 
 
checkpoint-1000/processor_config.json DELETED
@@ -1,67 +0,0 @@
1
- {
2
- "image_processor": {
3
- "data_format": "channels_first",
4
- "do_convert_rgb": true,
5
- "do_normalize": true,
6
- "do_rescale": true,
7
- "do_resize": true,
8
- "image_mean": [
9
- 0.48145466,
10
- 0.4578275,
11
- 0.40821073
12
- ],
13
- "image_processor_type": "Glm46VImageProcessorFast",
14
- "image_std": [
15
- 0.26862954,
16
- 0.26130258,
17
- 0.27577711
18
- ],
19
- "merge_size": 2,
20
- "patch_size": 14,
21
- "resample": 3,
22
- "rescale_factor": 0.00392156862745098,
23
- "size": {
24
- "longest_edge": 9633792,
25
- "shortest_edge": 12544
26
- },
27
- "temporal_patch_size": 2
28
- },
29
- "processor_class": "Glm46VProcessor",
30
- "video_processor": {
31
- "data_format": "channels_first",
32
- "default_to_square": true,
33
- "do_convert_rgb": true,
34
- "do_normalize": true,
35
- "do_rescale": true,
36
- "do_resize": true,
37
- "do_sample_frames": true,
38
- "fps": 2,
39
- "image_mean": [
40
- 0.48145466,
41
- 0.4578275,
42
- 0.40821073
43
- ],
44
- "image_processor_type": "Glm46VImageProcessor",
45
- "image_std": [
46
- 0.26862954,
47
- 0.26130258,
48
- 0.27577711
49
- ],
50
- "max_duration": 300,
51
- "max_image_size": {
52
- "longest_edge": 47040000
53
- },
54
- "merge_size": 2,
55
- "num_frames": 16,
56
- "patch_size": 14,
57
- "resample": 3,
58
- "rescale_factor": 0.00392156862745098,
59
- "return_metadata": false,
60
- "size": {
61
- "longest_edge": 9633792,
62
- "shortest_edge": 12544
63
- },
64
- "temporal_patch_size": 2,
65
- "video_processor_type": "Glm46VVideoProcessor"
66
- }
67
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
checkpoint-1000/rng_state.pth DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:7fa704d116d422562d9e7b60d92ee6c632e360f974ebb4d9b13ab8ca72370dc9
3
- size 14645
 
 
 
 
checkpoint-1000/scheduler.pt DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:b2667de399383551030f34f44a608968b310e5b467d472789fda64aaae63f35b
3
- size 1465
 
 
 
 
checkpoint-1000/tokenizer.json DELETED
The diff for this file is too large to render. See raw diff
 
checkpoint-1000/tokenizer_config.json DELETED
@@ -1,16 +0,0 @@
1
- {
2
- "backend": "tokenizers",
3
- "clean_up_tokenization_spaces": false,
4
- "eos_token": "<|endoftext|>",
5
- "extra_special_tokens": [
6
- "<|user|>",
7
- "<|observation|>"
8
- ],
9
- "is_local": false,
10
- "model_max_length": 655380,
11
- "pad_token": "<|endoftext|>",
12
- "padding_side": "right",
13
- "processor_class": "Glm46VProcessor",
14
- "split_special_tokens": false,
15
- "tokenizer_class": "TokenizersBackend"
16
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
checkpoint-1000/trainer_state.json DELETED
@@ -1,750 +0,0 @@
1
- {
2
- "best_global_step": 1000,
3
- "best_metric": 0.5869289636611938,
4
- "best_model_checkpoint": "saves/glm-ocr/lora/sft\\checkpoint-1000",
5
- "epoch": 0.11170688114387846,
6
- "eval_steps": 500,
7
- "global_step": 1000,
8
- "is_hyper_param_search": false,
9
- "is_local_process_zero": true,
10
- "is_world_process_zero": true,
11
- "log_history": [
12
- {
13
- "epoch": 0.0011170688114387846,
14
- "grad_norm": 0.48102444410324097,
15
- "learning_rate": 3.3507073715562173e-07,
16
- "loss": 3.8437419891357423,
17
- "step": 10
18
- },
19
- {
20
- "epoch": 0.002234137622877569,
21
- "grad_norm": 0.4481109380722046,
22
- "learning_rate": 7.073715562174237e-07,
23
- "loss": 3.724664306640625,
24
- "step": 20
25
- },
26
- {
27
- "epoch": 0.003351206434316354,
28
- "grad_norm": 0.5849565863609314,
29
- "learning_rate": 1.0796723752792258e-06,
30
- "loss": 3.8653076171875,
31
- "step": 30
32
- },
33
- {
34
- "epoch": 0.004468275245755138,
35
- "grad_norm": 0.551055908203125,
36
- "learning_rate": 1.4519731943410277e-06,
37
- "loss": 3.7893310546875,
38
- "step": 40
39
- },
40
- {
41
- "epoch": 0.005585344057193923,
42
- "grad_norm": 0.4711555540561676,
43
- "learning_rate": 1.8242740134028297e-06,
44
- "loss": 3.7168815612792967,
45
- "step": 50
46
- },
47
- {
48
- "epoch": 0.006702412868632708,
49
- "grad_norm": 0.5075607299804688,
50
- "learning_rate": 2.1965748324646315e-06,
51
- "loss": 4.076691055297852,
52
- "step": 60
53
- },
54
- {
55
- "epoch": 0.007819481680071492,
56
- "grad_norm": 0.6019856929779053,
57
- "learning_rate": 2.5688756515264335e-06,
58
- "loss": 3.8860614776611326,
59
- "step": 70
60
- },
61
- {
62
- "epoch": 0.008936550491510277,
63
- "grad_norm": 0.6876104474067688,
64
- "learning_rate": 2.9411764705882355e-06,
65
- "loss": 4.218365859985352,
66
- "step": 80
67
- },
68
- {
69
- "epoch": 0.010053619302949061,
70
- "grad_norm": 0.5750532746315002,
71
- "learning_rate": 3.3134772896500374e-06,
72
- "loss": 3.642471694946289,
73
- "step": 90
74
- },
75
- {
76
- "epoch": 0.011170688114387846,
77
- "grad_norm": 0.818539023399353,
78
- "learning_rate": 3.68577810871184e-06,
79
- "loss": 4.050487518310547,
80
- "step": 100
81
- },
82
- {
83
- "epoch": 0.012287756925826631,
84
- "grad_norm": 0.755294680595398,
85
- "learning_rate": 4.058078927773641e-06,
86
- "loss": 3.5631179809570312,
87
- "step": 110
88
- },
89
- {
90
- "epoch": 0.013404825737265416,
91
- "grad_norm": 0.7310027480125427,
92
- "learning_rate": 4.430379746835443e-06,
93
- "loss": 3.797147750854492,
94
- "step": 120
95
- },
96
- {
97
- "epoch": 0.0145218945487042,
98
- "grad_norm": 1.1505708694458008,
99
- "learning_rate": 4.802680565897245e-06,
100
- "loss": 3.3393394470214846,
101
- "step": 130
102
- },
103
- {
104
- "epoch": 0.015638963360142984,
105
- "grad_norm": 0.678546130657196,
106
- "learning_rate": 5.174981384959047e-06,
107
- "loss": 3.4663516998291017,
108
- "step": 140
109
- },
110
- {
111
- "epoch": 0.01675603217158177,
112
- "grad_norm": 0.9242318868637085,
113
- "learning_rate": 5.547282204020849e-06,
114
- "loss": 3.3068470001220702,
115
- "step": 150
116
- },
117
- {
118
- "epoch": 0.017873100983020553,
119
- "grad_norm": 0.7933996319770813,
120
- "learning_rate": 5.919583023082651e-06,
121
- "loss": 3.1448570251464845,
122
- "step": 160
123
- },
124
- {
125
- "epoch": 0.01899016979445934,
126
- "grad_norm": 0.6925396919250488,
127
- "learning_rate": 6.2918838421444525e-06,
128
- "loss": 3.0427642822265626,
129
- "step": 170
130
- },
131
- {
132
- "epoch": 0.020107238605898123,
133
- "grad_norm": 0.7535761594772339,
134
- "learning_rate": 6.664184661206255e-06,
135
- "loss": 2.6695913314819335,
136
- "step": 180
137
- },
138
- {
139
- "epoch": 0.02122430741733691,
140
- "grad_norm": 0.9215436577796936,
141
- "learning_rate": 7.036485480268057e-06,
142
- "loss": 2.5888317108154295,
143
- "step": 190
144
- },
145
- {
146
- "epoch": 0.022341376228775692,
147
- "grad_norm": 0.6355695128440857,
148
- "learning_rate": 7.408786299329859e-06,
149
- "loss": 2.4019800186157227,
150
- "step": 200
151
- },
152
- {
153
- "epoch": 0.023458445040214475,
154
- "grad_norm": 0.5758479833602905,
155
- "learning_rate": 7.78108711839166e-06,
156
- "loss": 2.206129264831543,
157
- "step": 210
158
- },
159
- {
160
- "epoch": 0.024575513851653262,
161
- "grad_norm": 0.71275794506073,
162
- "learning_rate": 8.153387937453464e-06,
163
- "loss": 2.044425392150879,
164
- "step": 220
165
- },
166
- {
167
- "epoch": 0.025692582663092045,
168
- "grad_norm": 0.645555317401886,
169
- "learning_rate": 8.525688756515264e-06,
170
- "loss": 1.8326286315917968,
171
- "step": 230
172
- },
173
- {
174
- "epoch": 0.02680965147453083,
175
- "grad_norm": 0.6201381683349609,
176
- "learning_rate": 8.897989575577067e-06,
177
- "loss": 1.4345648765563965,
178
- "step": 240
179
- },
180
- {
181
- "epoch": 0.027926720285969615,
182
- "grad_norm": 0.7337267994880676,
183
- "learning_rate": 9.270290394638868e-06,
184
- "loss": 1.4471503257751466,
185
- "step": 250
186
- },
187
- {
188
- "epoch": 0.0290437890974084,
189
- "grad_norm": 0.6749716401100159,
190
- "learning_rate": 9.64259121370067e-06,
191
- "loss": 1.3793041229248046,
192
- "step": 260
193
- },
194
- {
195
- "epoch": 0.030160857908847184,
196
- "grad_norm": 0.6602213382720947,
197
- "learning_rate": 1.0014892032762473e-05,
198
- "loss": 1.165940284729004,
199
- "step": 270
200
- },
201
- {
202
- "epoch": 0.03127792672028597,
203
- "grad_norm": 0.5162089467048645,
204
- "learning_rate": 1.0387192851824275e-05,
205
- "loss": 1.1233109474182128,
206
- "step": 280
207
- },
208
- {
209
- "epoch": 0.03239499553172476,
210
- "grad_norm": 0.5335881114006042,
211
- "learning_rate": 1.0759493670886076e-05,
212
- "loss": 0.9815191268920899,
213
- "step": 290
214
- },
215
- {
216
- "epoch": 0.03351206434316354,
217
- "grad_norm": 0.5757505297660828,
218
- "learning_rate": 1.113179448994788e-05,
219
- "loss": 0.9900471687316894,
220
- "step": 300
221
- },
222
- {
223
- "epoch": 0.03462913315460232,
224
- "grad_norm": 0.5946531295776367,
225
- "learning_rate": 1.150409530900968e-05,
226
- "loss": 1.0403575897216797,
227
- "step": 310
228
- },
229
- {
230
- "epoch": 0.035746201966041107,
231
- "grad_norm": 0.3793157637119293,
232
- "learning_rate": 1.1876396128071483e-05,
233
- "loss": 1.0242424964904786,
234
- "step": 320
235
- },
236
- {
237
- "epoch": 0.03686327077747989,
238
- "grad_norm": 0.4137881398200989,
239
- "learning_rate": 1.2248696947133284e-05,
240
- "loss": 0.96560640335083,
241
- "step": 330
242
- },
243
- {
244
- "epoch": 0.03798033958891868,
245
- "grad_norm": 0.5132653713226318,
246
- "learning_rate": 1.2620997766195086e-05,
247
- "loss": 0.9560657501220703,
248
- "step": 340
249
- },
250
- {
251
- "epoch": 0.03909740840035746,
252
- "grad_norm": 0.38656044006347656,
253
- "learning_rate": 1.2993298585256889e-05,
254
- "loss": 0.8233488082885743,
255
- "step": 350
256
- },
257
- {
258
- "epoch": 0.040214477211796246,
259
- "grad_norm": 0.44017505645751953,
260
- "learning_rate": 1.336559940431869e-05,
261
- "loss": 0.7505381584167481,
262
- "step": 360
263
- },
264
- {
265
- "epoch": 0.04133154602323503,
266
- "grad_norm": 0.4466555118560791,
267
- "learning_rate": 1.3737900223380492e-05,
268
- "loss": 1.0000381469726562,
269
- "step": 370
270
- },
271
- {
272
- "epoch": 0.04244861483467382,
273
- "grad_norm": 0.41909196972846985,
274
- "learning_rate": 1.4110201042442295e-05,
275
- "loss": 0.7742743492126465,
276
- "step": 380
277
- },
278
- {
279
- "epoch": 0.0435656836461126,
280
- "grad_norm": 0.5523571968078613,
281
- "learning_rate": 1.4482501861504097e-05,
282
- "loss": 0.8583847999572753,
283
- "step": 390
284
- },
285
- {
286
- "epoch": 0.044682752457551385,
287
- "grad_norm": 0.485941082239151,
288
- "learning_rate": 1.4854802680565899e-05,
289
- "loss": 0.8668153762817383,
290
- "step": 400
291
- },
292
- {
293
- "epoch": 0.04579982126899017,
294
- "grad_norm": 0.4323127567768097,
295
- "learning_rate": 1.5227103499627702e-05,
296
- "loss": 0.6831861972808838,
297
- "step": 410
298
- },
299
- {
300
- "epoch": 0.04691689008042895,
301
- "grad_norm": 0.46461915969848633,
302
- "learning_rate": 1.55994043186895e-05,
303
- "loss": 0.7986338138580322,
304
- "step": 420
305
- },
306
- {
307
- "epoch": 0.04803395889186774,
308
- "grad_norm": 0.4394327700138092,
309
- "learning_rate": 1.5971705137751303e-05,
310
- "loss": 0.7741772651672363,
311
- "step": 430
312
- },
313
- {
314
- "epoch": 0.049151027703306524,
315
- "grad_norm": 0.5871309041976929,
316
- "learning_rate": 1.6344005956813105e-05,
317
- "loss": 0.8612316131591797,
318
- "step": 440
319
- },
320
- {
321
- "epoch": 0.05026809651474531,
322
- "grad_norm": 0.4836363196372986,
323
- "learning_rate": 1.6716306775874906e-05,
324
- "loss": 0.7080867290496826,
325
- "step": 450
326
- },
327
- {
328
- "epoch": 0.05138516532618409,
329
- "grad_norm": 0.28715530037879944,
330
- "learning_rate": 1.7088607594936708e-05,
331
- "loss": 0.7109904289245605,
332
- "step": 460
333
- },
334
- {
335
- "epoch": 0.05250223413762288,
336
- "grad_norm": 0.39397767186164856,
337
- "learning_rate": 1.7460908413998513e-05,
338
- "loss": 0.8006397247314453,
339
- "step": 470
340
- },
341
- {
342
- "epoch": 0.05361930294906166,
343
- "grad_norm": 0.5189089775085449,
344
- "learning_rate": 1.7833209233060314e-05,
345
- "loss": 0.7726738452911377,
346
- "step": 480
347
- },
348
- {
349
- "epoch": 0.054736371760500446,
350
- "grad_norm": 0.4590846002101898,
351
- "learning_rate": 1.8205510052122116e-05,
352
- "loss": 0.876410961151123,
353
- "step": 490
354
- },
355
- {
356
- "epoch": 0.05585344057193923,
357
- "grad_norm": 0.4410800635814667,
358
- "learning_rate": 1.8577810871183918e-05,
359
- "loss": 0.8238654136657715,
360
- "step": 500
361
- },
362
- {
363
- "epoch": 0.05585344057193923,
364
- "eval_loss": 0.7669619917869568,
365
- "eval_runtime": 299.9937,
366
- "eval_samples_per_second": 6.667,
367
- "eval_steps_per_second": 6.667,
368
- "step": 500
369
- },
370
- {
371
- "epoch": 0.05697050938337802,
372
- "grad_norm": 0.4250514507293701,
373
- "learning_rate": 1.895011169024572e-05,
374
- "loss": 0.7468394756317138,
375
- "step": 510
376
- },
377
- {
378
- "epoch": 0.0580875781948168,
379
- "grad_norm": 0.404019832611084,
380
- "learning_rate": 1.932241250930752e-05,
381
- "loss": 0.6975571155548096,
382
- "step": 520
383
- },
384
- {
385
- "epoch": 0.059204647006255585,
386
- "grad_norm": 0.46538233757019043,
387
- "learning_rate": 1.9694713328369326e-05,
388
- "loss": 0.7115833282470703,
389
- "step": 530
390
- },
391
- {
392
- "epoch": 0.06032171581769437,
393
- "grad_norm": 0.3557272255420685,
394
- "learning_rate": 2.0067014147431127e-05,
395
- "loss": 0.5501380920410156,
396
- "step": 540
397
- },
398
- {
399
- "epoch": 0.06143878462913315,
400
- "grad_norm": 0.5543599128723145,
401
- "learning_rate": 2.043931496649293e-05,
402
- "loss": 0.6966252326965332,
403
- "step": 550
404
- },
405
- {
406
- "epoch": 0.06255585344057193,
407
- "grad_norm": 0.44497013092041016,
408
- "learning_rate": 2.081161578555473e-05,
409
- "loss": 0.7662677764892578,
410
- "step": 560
411
- },
412
- {
413
- "epoch": 0.06367292225201072,
414
- "grad_norm": 0.3379228711128235,
415
- "learning_rate": 2.118391660461653e-05,
416
- "loss": 0.7440553665161133,
417
- "step": 570
418
- },
419
- {
420
- "epoch": 0.06478999106344951,
421
- "grad_norm": 0.48714378476142883,
422
- "learning_rate": 2.1556217423678333e-05,
423
- "loss": 0.7602644920349121,
424
- "step": 580
425
- },
426
- {
427
- "epoch": 0.06590705987488829,
428
- "grad_norm": 0.679702639579773,
429
- "learning_rate": 2.1928518242740135e-05,
430
- "loss": 0.7181577682495117,
431
- "step": 590
432
- },
433
- {
434
- "epoch": 0.06702412868632708,
435
- "grad_norm": 0.39104506373405457,
436
- "learning_rate": 2.2300819061801936e-05,
437
- "loss": 0.7105781078338623,
438
- "step": 600
439
- },
440
- {
441
- "epoch": 0.06814119749776586,
442
- "grad_norm": 0.4630368947982788,
443
- "learning_rate": 2.2673119880863738e-05,
444
- "loss": 0.6304820537567138,
445
- "step": 610
446
- },
447
- {
448
- "epoch": 0.06925826630920465,
449
- "grad_norm": 0.4952685534954071,
450
- "learning_rate": 2.304542069992554e-05,
451
- "loss": 0.6775004863739014,
452
- "step": 620
453
- },
454
- {
455
- "epoch": 0.07037533512064344,
456
- "grad_norm": 0.43499284982681274,
457
- "learning_rate": 2.341772151898734e-05,
458
- "loss": 0.6789637088775635,
459
- "step": 630
460
- },
461
- {
462
- "epoch": 0.07149240393208221,
463
- "grad_norm": 0.43694499135017395,
464
- "learning_rate": 2.3790022338049146e-05,
465
- "loss": 0.7337959289550782,
466
- "step": 640
467
- },
468
- {
469
- "epoch": 0.072609472743521,
470
- "grad_norm": 0.466741144657135,
471
- "learning_rate": 2.4162323157110948e-05,
472
- "loss": 0.6883241653442382,
473
- "step": 650
474
- },
475
- {
476
- "epoch": 0.07372654155495978,
477
- "grad_norm": 0.4000166356563568,
478
- "learning_rate": 2.453462397617275e-05,
479
- "loss": 0.5951610088348389,
480
- "step": 660
481
- },
482
- {
483
- "epoch": 0.07484361036639857,
484
- "grad_norm": 0.4480671286582947,
485
- "learning_rate": 2.490692479523455e-05,
486
- "loss": 0.6803426265716552,
487
- "step": 670
488
- },
489
- {
490
- "epoch": 0.07596067917783736,
491
- "grad_norm": 0.5096255540847778,
492
- "learning_rate": 2.5279225614296352e-05,
493
- "loss": 0.768033504486084,
494
- "step": 680
495
- },
496
- {
497
- "epoch": 0.07707774798927614,
498
- "grad_norm": 0.35100409388542175,
499
- "learning_rate": 2.5651526433358154e-05,
500
- "loss": 0.6422712326049804,
501
- "step": 690
502
- },
503
- {
504
- "epoch": 0.07819481680071493,
505
- "grad_norm": 0.6556435227394104,
506
- "learning_rate": 2.602382725241996e-05,
507
- "loss": 0.7157793521881104,
508
- "step": 700
509
- },
510
- {
511
- "epoch": 0.07931188561215372,
512
- "grad_norm": 0.491706520318985,
513
- "learning_rate": 2.6396128071481757e-05,
514
- "loss": 0.6762196540832519,
515
- "step": 710
516
- },
517
- {
518
- "epoch": 0.08042895442359249,
519
- "grad_norm": 0.6594254970550537,
520
- "learning_rate": 2.6768428890543562e-05,
521
- "loss": 0.6674414157867432,
522
- "step": 720
523
- },
524
- {
525
- "epoch": 0.08154602323503128,
526
- "grad_norm": 0.6460888981819153,
527
- "learning_rate": 2.714072970960536e-05,
528
- "loss": 0.694553804397583,
529
- "step": 730
530
- },
531
- {
532
- "epoch": 0.08266309204647006,
533
- "grad_norm": 0.5787428617477417,
534
- "learning_rate": 2.7513030528667165e-05,
535
- "loss": 0.6047438144683838,
536
- "step": 740
537
- },
538
- {
539
- "epoch": 0.08378016085790885,
540
- "grad_norm": 0.45848217606544495,
541
- "learning_rate": 2.7885331347728967e-05,
542
- "loss": 0.6772585391998291,
543
- "step": 750
544
- },
545
- {
546
- "epoch": 0.08489722966934764,
547
- "grad_norm": 0.7840375900268555,
548
- "learning_rate": 2.825763216679077e-05,
549
- "loss": 0.739193344116211,
550
- "step": 760
551
- },
552
- {
553
- "epoch": 0.08601429848078641,
554
- "grad_norm": 0.4618059992790222,
555
- "learning_rate": 2.862993298585257e-05,
556
- "loss": 0.6808958530426026,
557
- "step": 770
558
- },
559
- {
560
- "epoch": 0.0871313672922252,
561
- "grad_norm": 0.5585341453552246,
562
- "learning_rate": 2.9002233804914375e-05,
563
- "loss": 0.538333797454834,
564
- "step": 780
565
- },
566
- {
567
- "epoch": 0.08824843610366398,
568
- "grad_norm": 0.4029307961463928,
569
- "learning_rate": 2.9374534623976173e-05,
570
- "loss": 0.5539563179016114,
571
- "step": 790
572
- },
573
- {
574
- "epoch": 0.08936550491510277,
575
- "grad_norm": 0.44015660881996155,
576
- "learning_rate": 2.9746835443037974e-05,
577
- "loss": 0.6564055919647217,
578
- "step": 800
579
- },
580
- {
581
- "epoch": 0.09048257372654156,
582
- "grad_norm": 0.6777865886688232,
583
- "learning_rate": 3.011913626209978e-05,
584
- "loss": 0.7128660678863525,
585
- "step": 810
586
- },
587
- {
588
- "epoch": 0.09159964253798034,
589
- "grad_norm": 0.44157832860946655,
590
- "learning_rate": 3.0491437081161578e-05,
591
- "loss": 0.6698537349700928,
592
- "step": 820
593
- },
594
- {
595
- "epoch": 0.09271671134941913,
596
- "grad_norm": 0.35622161626815796,
597
- "learning_rate": 3.0863737900223386e-05,
598
- "loss": 0.5174383163452149,
599
- "step": 830
600
- },
601
- {
602
- "epoch": 0.0938337801608579,
603
- "grad_norm": 0.5499693751335144,
604
- "learning_rate": 3.123603871928518e-05,
605
- "loss": 0.6464185237884521,
606
- "step": 840
607
- },
608
- {
609
- "epoch": 0.09495084897229669,
610
- "grad_norm": 0.5076237916946411,
611
- "learning_rate": 3.160833953834699e-05,
612
- "loss": 0.6798902034759522,
613
- "step": 850
614
- },
615
- {
616
- "epoch": 0.09606791778373548,
617
- "grad_norm": 0.7141596078872681,
618
- "learning_rate": 3.1980640357408784e-05,
619
- "loss": 0.5945808410644531,
620
- "step": 860
621
- },
622
- {
623
- "epoch": 0.09718498659517426,
624
- "grad_norm": 0.6842793822288513,
625
- "learning_rate": 3.235294117647059e-05,
626
- "loss": 0.5609103679656983,
627
- "step": 870
628
- },
629
- {
630
- "epoch": 0.09830205540661305,
631
- "grad_norm": 0.7959520816802979,
632
- "learning_rate": 3.2725241995532394e-05,
633
- "loss": 0.6554427146911621,
634
- "step": 880
635
- },
636
- {
637
- "epoch": 0.09941912421805184,
638
- "grad_norm": 0.42089518904685974,
639
- "learning_rate": 3.3097542814594195e-05,
640
- "loss": 0.6683910846710205,
641
- "step": 890
642
- },
643
- {
644
- "epoch": 0.10053619302949061,
645
- "grad_norm": 0.5932669639587402,
646
- "learning_rate": 3.3469843633656e-05,
647
- "loss": 0.5621670246124267,
648
- "step": 900
649
- },
650
- {
651
- "epoch": 0.1016532618409294,
652
- "grad_norm": 0.3308563828468323,
653
- "learning_rate": 3.38421444527178e-05,
654
- "loss": 0.5763424873352051,
655
- "step": 910
656
- },
657
- {
658
- "epoch": 0.10277033065236818,
659
- "grad_norm": 0.6204649209976196,
660
- "learning_rate": 3.42144452717796e-05,
661
- "loss": 0.5881050586700439,
662
- "step": 920
663
- },
664
- {
665
- "epoch": 0.10388739946380697,
666
- "grad_norm": 0.4800551235675812,
667
- "learning_rate": 3.45867460908414e-05,
668
- "loss": 0.6053416728973389,
669
- "step": 930
670
- },
671
- {
672
- "epoch": 0.10500446827524576,
673
- "grad_norm": 0.5851083993911743,
674
- "learning_rate": 3.49590469099032e-05,
675
- "loss": 0.6674454689025879,
676
- "step": 940
677
- },
678
- {
679
- "epoch": 0.10612153708668454,
680
- "grad_norm": 0.49788594245910645,
681
- "learning_rate": 3.5331347728965005e-05,
682
- "loss": 0.7128334522247315,
683
- "step": 950
684
- },
685
- {
686
- "epoch": 0.10723860589812333,
687
- "grad_norm": 0.5501845479011536,
688
- "learning_rate": 3.5703648548026806e-05,
689
- "loss": 0.6273306369781494,
690
- "step": 960
691
- },
692
- {
693
- "epoch": 0.1083556747095621,
694
- "grad_norm": 0.5952850580215454,
695
- "learning_rate": 3.607594936708861e-05,
696
- "loss": 0.6272556781768799,
697
- "step": 970
698
- },
699
- {
700
- "epoch": 0.10947274352100089,
701
- "grad_norm": 0.4115196466445923,
702
- "learning_rate": 3.644825018615041e-05,
703
- "loss": 0.6376024723052979,
704
- "step": 980
705
- },
706
- {
707
- "epoch": 0.11058981233243968,
708
- "grad_norm": 0.5184608101844788,
709
- "learning_rate": 3.682055100521221e-05,
710
- "loss": 0.5531879425048828,
711
- "step": 990
712
- },
713
- {
714
- "epoch": 0.11170688114387846,
715
- "grad_norm": 0.49788329005241394,
716
- "learning_rate": 3.719285182427402e-05,
717
- "loss": 0.6343930244445801,
718
- "step": 1000
719
- },
720
- {
721
- "epoch": 0.11170688114387846,
722
- "eval_loss": 0.5869289636611938,
723
- "eval_runtime": 304.6877,
724
- "eval_samples_per_second": 6.564,
725
- "eval_steps_per_second": 6.564,
726
- "step": 1000
727
- }
728
- ],
729
- "logging_steps": 10,
730
- "max_steps": 26856,
731
- "num_input_tokens_seen": 0,
732
- "num_train_epochs": 3,
733
- "save_steps": 500,
734
- "stateful_callbacks": {
735
- "TrainerControl": {
736
- "args": {
737
- "should_epoch_stop": false,
738
- "should_evaluate": false,
739
- "should_log": false,
740
- "should_save": true,
741
- "should_training_stop": false
742
- },
743
- "attributes": {}
744
- }
745
- },
746
- "total_flos": 2.4699638799138816e+16,
747
- "train_batch_size": 4,
748
- "trial_name": null,
749
- "trial_params": null
750
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
checkpoint-1000/training_args.bin DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:17d0904350ec3cac340f5f4264a7fdac37e5e51f1efd4243975931f79bcdea75
3
- size 5585
 
 
 
 
checkpoint-10000/README.md DELETED
@@ -1,208 +0,0 @@
1
- ---
2
- base_model: zai-org/GLM-OCR
3
- library_name: peft
4
- pipeline_tag: text-generation
5
- tags:
6
- - base_model:adapter:zai-org/GLM-OCR
7
- - llama-factory
8
- - lora
9
- - transformers
10
- ---
11
-
12
- # Model Card for Model ID
13
-
14
- <!-- Provide a quick summary of what the model is/does. -->
15
-
16
-
17
-
18
- ## Model Details
19
-
20
- ### Model Description
21
-
22
- <!-- Provide a longer summary of what this model is. -->
23
-
24
-
25
-
26
- - **Developed by:** [More Information Needed]
27
- - **Funded by [optional]:** [More Information Needed]
28
- - **Shared by [optional]:** [More Information Needed]
29
- - **Model type:** [More Information Needed]
30
- - **Language(s) (NLP):** [More Information Needed]
31
- - **License:** [More Information Needed]
32
- - **Finetuned from model [optional]:** [More Information Needed]
33
-
34
- ### Model Sources [optional]
35
-
36
- <!-- Provide the basic links for the model. -->
37
-
38
- - **Repository:** [More Information Needed]
39
- - **Paper [optional]:** [More Information Needed]
40
- - **Demo [optional]:** [More Information Needed]
41
-
42
- ## Uses
43
-
44
- <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
45
-
46
- ### Direct Use
47
-
48
- <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
49
-
50
- [More Information Needed]
51
-
52
- ### Downstream Use [optional]
53
-
54
- <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
55
-
56
- [More Information Needed]
57
-
58
- ### Out-of-Scope Use
59
-
60
- <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
61
-
62
- [More Information Needed]
63
-
64
- ## Bias, Risks, and Limitations
65
-
66
- <!-- This section is meant to convey both technical and sociotechnical limitations. -->
67
-
68
- [More Information Needed]
69
-
70
- ### Recommendations
71
-
72
- <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
73
-
74
- Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
75
-
76
- ## How to Get Started with the Model
77
-
78
- Use the code below to get started with the model.
79
-
80
- [More Information Needed]
81
-
82
- ## Training Details
83
-
84
- ### Training Data
85
-
86
- <!-- 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. -->
87
-
88
- [More Information Needed]
89
-
90
- ### Training Procedure
91
-
92
- <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
93
-
94
- #### Preprocessing [optional]
95
-
96
- [More Information Needed]
97
-
98
-
99
- #### Training Hyperparameters
100
-
101
- - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
102
-
103
- #### Speeds, Sizes, Times [optional]
104
-
105
- <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
106
-
107
- [More Information Needed]
108
-
109
- ## Evaluation
110
-
111
- <!-- This section describes the evaluation protocols and provides the results. -->
112
-
113
- ### Testing Data, Factors & Metrics
114
-
115
- #### Testing Data
116
-
117
- <!-- This should link to a Dataset Card if possible. -->
118
-
119
- [More Information Needed]
120
-
121
- #### Factors
122
-
123
- <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
124
-
125
- [More Information Needed]
126
-
127
- #### Metrics
128
-
129
- <!-- These are the evaluation metrics being used, ideally with a description of why. -->
130
-
131
- [More Information Needed]
132
-
133
- ### Results
134
-
135
- [More Information Needed]
136
-
137
- #### Summary
138
-
139
-
140
-
141
- ## Model Examination [optional]
142
-
143
- <!-- Relevant interpretability work for the model goes here -->
144
-
145
- [More Information Needed]
146
-
147
- ## Environmental Impact
148
-
149
- <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
150
-
151
- 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).
152
-
153
- - **Hardware Type:** [More Information Needed]
154
- - **Hours used:** [More Information Needed]
155
- - **Cloud Provider:** [More Information Needed]
156
- - **Compute Region:** [More Information Needed]
157
- - **Carbon Emitted:** [More Information Needed]
158
-
159
- ## Technical Specifications [optional]
160
-
161
- ### Model Architecture and Objective
162
-
163
- [More Information Needed]
164
-
165
- ### Compute Infrastructure
166
-
167
- [More Information Needed]
168
-
169
- #### Hardware
170
-
171
- [More Information Needed]
172
-
173
- #### Software
174
-
175
- [More Information Needed]
176
-
177
- ## Citation [optional]
178
-
179
- <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
180
-
181
- **BibTeX:**
182
-
183
- [More Information Needed]
184
-
185
- **APA:**
186
-
187
- [More Information Needed]
188
-
189
- ## Glossary [optional]
190
-
191
- <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
192
-
193
- [More Information Needed]
194
-
195
- ## More Information [optional]
196
-
197
- [More Information Needed]
198
-
199
- ## Model Card Authors [optional]
200
-
201
- [More Information Needed]
202
-
203
- ## Model Card Contact
204
-
205
- [More Information Needed]
206
- ### Framework versions
207
-
208
- - PEFT 0.18.1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
checkpoint-10000/adapter_config.json DELETED
@@ -1,60 +0,0 @@
1
- {
2
- "alora_invocation_tokens": null,
3
- "alpha_pattern": {},
4
- "arrow_config": null,
5
- "auto_mapping": null,
6
- "base_model_name_or_path": "zai-org/GLM-OCR",
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": 16,
20
- "lora_bias": false,
21
- "lora_dropout": 0.1,
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": 8,
29
- "rank_pattern": {},
30
- "revision": null,
31
- "target_modules": [
32
- "layers.7.mlp.down_proj",
33
- "v_proj",
34
- "o_proj",
35
- "layers.4.mlp.down_proj",
36
- "layers.14.mlp.down_proj",
37
- "layers.2.mlp.down_proj",
38
- "layers.9.mlp.down_proj",
39
- "layers.0.mlp.down_proj",
40
- "layers.3.mlp.down_proj",
41
- "layers.15.mlp.down_proj",
42
- "layers.11.mlp.down_proj",
43
- "k_proj",
44
- "layers.8.mlp.down_proj",
45
- "q_proj",
46
- "gate_up_proj",
47
- "layers.10.mlp.down_proj",
48
- "layers.6.mlp.down_proj",
49
- "layers.13.mlp.down_proj",
50
- "layers.1.mlp.down_proj",
51
- "layers.5.mlp.down_proj",
52
- "layers.12.mlp.down_proj"
53
- ],
54
- "target_parameters": null,
55
- "task_type": "CAUSAL_LM",
56
- "trainable_token_indices": null,
57
- "use_dora": false,
58
- "use_qalora": false,
59
- "use_rslora": false
60
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
checkpoint-10000/adapter_model.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:862da1efd5394751b8095be48ab36f24b01a3453a4870cf09da5d4f5e1726e5e
3
- size 14970360
 
 
 
 
checkpoint-10000/chat_template.jinja DELETED
@@ -1,140 +0,0 @@
1
- [gMASK]<sop>
2
- {%- if tools -%}
3
- <|system|>
4
- # Tools
5
-
6
- You may call one or more functions to assist with the user query.
7
-
8
- You are provided with function signatures within <tools></tools> XML tags:
9
- <tools>
10
- {% for tool in tools %}
11
- {{ tool | tojson(ensure_ascii=False) }}
12
- {% endfor %}
13
- </tools>
14
-
15
- For each function call, output the function name and arguments within the following XML format:
16
- <tool_call>{function-name}
17
- <arg_key>{arg-key-1}</arg_key>
18
- <arg_value>{arg-value-1}</arg_value>
19
- <arg_key>{arg-key-2}</arg_key>
20
- <arg_value>{arg-value-2}</arg_value>
21
- ...
22
- </tool_call>{%- endif -%}
23
- {%- macro visible_text(content) -%}
24
- {%- if content is string -%}
25
- {{- content }}
26
- {%- elif content is iterable and content is not mapping -%}
27
- {%- for item in content -%}
28
- {%- if item is mapping and item.type == 'text' -%}
29
- {{- item.text }}
30
- {%- elif item is mapping and (item.type == 'image' or 'image' in item) -%}
31
- <|begin_of_image|><|image|><|end_of_image|>
32
- {%- elif item is mapping and (item.type == 'video' or 'video' in item) -%}
33
- <|begin_of_video|><|video|><|end_of_video|>
34
- {%- elif item is string -%}
35
- {{- item }}
36
- {%- endif -%}
37
- {%- endfor -%}
38
- {%- else -%}
39
- {{- content }}
40
- {%- endif -%}
41
- {%- endmacro -%}
42
- {%- set ns = namespace(last_user_index=-1) %}
43
- {%- for m in messages %}
44
- {%- if m.role == 'user' %}
45
- {% set ns.last_user_index = loop.index0 -%}
46
- {%- endif %}
47
- {%- endfor %}
48
- {% for m in messages %}
49
- {%- if m.role == 'user' -%}<|user|>
50
- {% if m.content is string %}
51
- {{ m.content }}
52
- {%- else %}
53
- {%- for item in m.content %}
54
- {% if item.type == 'video' or 'video' in item %}
55
- <|begin_of_video|><|video|><|end_of_video|>{% elif item.type == 'image' or 'image' in item %}
56
- <|begin_of_image|><|image|><|end_of_image|>{% elif item.type == 'text' %}
57
- {{ item.text }}
58
- {%- endif %}
59
- {%- endfor %}
60
- {%- endif %}
61
- {{- '/nothink' if (enable_thinking is defined and not enable_thinking and not visible_text(m.content).endswith("/nothink")) else '' -}}
62
- {%- elif m.role == 'assistant' -%}
63
- <|assistant|>
64
- {%- set reasoning_content = '' %}
65
- {%- set content = visible_text(m.content) %}
66
- {%- if m.reasoning_content is string %}
67
- {%- set reasoning_content = m.reasoning_content %}
68
- {%- else %}
69
- {%- if '</think>' in content %}
70
- {%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
71
- {%- set content = content.split('</think>')[-1].lstrip('\n') %}
72
- {%- endif %}
73
- {%- endif %}
74
- {%- if loop.index0 > ns.last_user_index and reasoning_content -%}
75
- {{ '\n<think>' + reasoning_content.strip() + '</think>'}}
76
- {%- else -%}
77
- {{ '\n<think></think>' }}
78
- {%- endif -%}
79
- {%- if content.strip() -%}
80
- {{ '\n' + content.strip() }}
81
- {%- endif -%}
82
- {% if m.tool_calls %}
83
- {% for tc in m.tool_calls %}
84
- {%- if tc.function %}
85
- {%- set tc = tc.function %}
86
- {%- endif %}
87
- {{ '\n<tool_call>' + tc.name }}
88
- {% set _args = tc.arguments %}
89
- {% for k, v in _args.items() %}
90
- <arg_key>{{ k }}</arg_key>
91
- <arg_value>{{ v | tojson(ensure_ascii=False) if v is not string else v }}</arg_value>
92
- {% endfor %}
93
- </tool_call>{% endfor %}
94
- {% endif %}
95
- {%- elif m.role == 'tool' -%}
96
- {%- if m.content is string -%}
97
- {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
98
- {{- '<|observation|>' }}
99
- {%- endif %}
100
- {{- '\n<tool_response>\n' }}
101
- {{- m.content }}
102
- {{- '\n</tool_response>' }}
103
- {% elif m.content is iterable and m.content is not mapping %}
104
- {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
105
- {{- '<|observation|>' }}
106
- {%- endif %}
107
- {{- '\n<tool_response>\n' }}
108
- {%- for tr in m.content -%}
109
- {%- if tr is mapping and tr.type is defined -%}
110
- {%- set t = tr.type | lower -%}
111
- {%- if t == 'text' and tr.text is defined -%}
112
- {{ tr.text }}
113
- {%- elif t in ['image', 'image_url'] -%}
114
- <|begin_of_image|><|image|><|end_of_image|>
115
- {%- elif t in ['video', 'video_url'] -%}
116
- <|begin_of_video|><|video|><|end_of_video|>
117
- {%- else -%}
118
- {{ tr | tojson(ensure_ascii=False) }}
119
- {%- endif -%}
120
- {%- else -%}
121
- {{ tr.output if tr.output is defined else tr }}
122
- {%- endif -%}
123
- {%- endfor -%}
124
- {{- '\n</tool_response>' }}
125
- {%- else -%}
126
- <|observation|>{% for tr in m.content %}
127
-
128
- <tool_response>
129
- {{ tr.output if tr.output is defined else tr }}
130
- </tool_response>{% endfor -%}
131
- {% endif -%}
132
- {%- elif m.role == 'system' -%}
133
- <|system|>
134
- {{ visible_text(m.content) }}
135
- {%- endif -%}
136
- {%- endfor -%}
137
- {%- if add_generation_prompt -%}
138
- <|assistant|>
139
- {{'<think></think>\n' if (enable_thinking is defined and not enable_thinking) else ''}}
140
- {%- endif -%}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
checkpoint-10000/optimizer.pt DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:3b6bc47ce7b67deedb5f61cc9a5d7eaace53a3e5fffbf7b8a42dd2d740505c7c
3
- size 30048843
 
 
 
 
checkpoint-10000/processor_config.json DELETED
@@ -1,67 +0,0 @@
1
- {
2
- "image_processor": {
3
- "data_format": "channels_first",
4
- "do_convert_rgb": true,
5
- "do_normalize": true,
6
- "do_rescale": true,
7
- "do_resize": true,
8
- "image_mean": [
9
- 0.48145466,
10
- 0.4578275,
11
- 0.40821073
12
- ],
13
- "image_processor_type": "Glm46VImageProcessorFast",
14
- "image_std": [
15
- 0.26862954,
16
- 0.26130258,
17
- 0.27577711
18
- ],
19
- "merge_size": 2,
20
- "patch_size": 14,
21
- "resample": 3,
22
- "rescale_factor": 0.00392156862745098,
23
- "size": {
24
- "longest_edge": 9633792,
25
- "shortest_edge": 12544
26
- },
27
- "temporal_patch_size": 2
28
- },
29
- "processor_class": "Glm46VProcessor",
30
- "video_processor": {
31
- "data_format": "channels_first",
32
- "default_to_square": true,
33
- "do_convert_rgb": true,
34
- "do_normalize": true,
35
- "do_rescale": true,
36
- "do_resize": true,
37
- "do_sample_frames": true,
38
- "fps": 2,
39
- "image_mean": [
40
- 0.48145466,
41
- 0.4578275,
42
- 0.40821073
43
- ],
44
- "image_processor_type": "Glm46VImageProcessor",
45
- "image_std": [
46
- 0.26862954,
47
- 0.26130258,
48
- 0.27577711
49
- ],
50
- "max_duration": 300,
51
- "max_image_size": {
52
- "longest_edge": 47040000
53
- },
54
- "merge_size": 2,
55
- "num_frames": 16,
56
- "patch_size": 14,
57
- "resample": 3,
58
- "rescale_factor": 0.00392156862745098,
59
- "return_metadata": false,
60
- "size": {
61
- "longest_edge": 9633792,
62
- "shortest_edge": 12544
63
- },
64
- "temporal_patch_size": 2,
65
- "video_processor_type": "Glm46VVideoProcessor"
66
- }
67
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
checkpoint-10000/rng_state.pth DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:b60e10b0dc9dece2a6195f650703915ef918b35c6e1e4b98c9949fab379f3f57
3
- size 14645
 
 
 
 
checkpoint-10000/scheduler.pt DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ba1cb9fafa0bb4446c2f2f1648a7a51d4afb00ea825616a79cfa421d72f1a958
3
- size 1465
 
 
 
 
checkpoint-10000/tokenizer.json DELETED
The diff for this file is too large to render. See raw diff
 
checkpoint-10000/tokenizer_config.json DELETED
@@ -1,16 +0,0 @@
1
- {
2
- "backend": "tokenizers",
3
- "clean_up_tokenization_spaces": false,
4
- "eos_token": "<|endoftext|>",
5
- "extra_special_tokens": [
6
- "<|user|>",
7
- "<|observation|>"
8
- ],
9
- "is_local": false,
10
- "model_max_length": 655380,
11
- "pad_token": "<|endoftext|>",
12
- "padding_side": "right",
13
- "processor_class": "Glm46VProcessor",
14
- "split_special_tokens": false,
15
- "tokenizer_class": "TokenizersBackend"
16
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
checkpoint-10000/trainer_state.json DELETED
The diff for this file is too large to render. See raw diff
 
checkpoint-10000/training_args.bin DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:17d0904350ec3cac340f5f4264a7fdac37e5e51f1efd4243975931f79bcdea75
3
- size 5585
 
 
 
 
checkpoint-10500/README.md DELETED
@@ -1,208 +0,0 @@
1
- ---
2
- base_model: zai-org/GLM-OCR
3
- library_name: peft
4
- pipeline_tag: text-generation
5
- tags:
6
- - base_model:adapter:zai-org/GLM-OCR
7
- - llama-factory
8
- - lora
9
- - transformers
10
- ---
11
-
12
- # Model Card for Model ID
13
-
14
- <!-- Provide a quick summary of what the model is/does. -->
15
-
16
-
17
-
18
- ## Model Details
19
-
20
- ### Model Description
21
-
22
- <!-- Provide a longer summary of what this model is. -->
23
-
24
-
25
-
26
- - **Developed by:** [More Information Needed]
27
- - **Funded by [optional]:** [More Information Needed]
28
- - **Shared by [optional]:** [More Information Needed]
29
- - **Model type:** [More Information Needed]
30
- - **Language(s) (NLP):** [More Information Needed]
31
- - **License:** [More Information Needed]
32
- - **Finetuned from model [optional]:** [More Information Needed]
33
-
34
- ### Model Sources [optional]
35
-
36
- <!-- Provide the basic links for the model. -->
37
-
38
- - **Repository:** [More Information Needed]
39
- - **Paper [optional]:** [More Information Needed]
40
- - **Demo [optional]:** [More Information Needed]
41
-
42
- ## Uses
43
-
44
- <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
45
-
46
- ### Direct Use
47
-
48
- <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
49
-
50
- [More Information Needed]
51
-
52
- ### Downstream Use [optional]
53
-
54
- <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
55
-
56
- [More Information Needed]
57
-
58
- ### Out-of-Scope Use
59
-
60
- <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
61
-
62
- [More Information Needed]
63
-
64
- ## Bias, Risks, and Limitations
65
-
66
- <!-- This section is meant to convey both technical and sociotechnical limitations. -->
67
-
68
- [More Information Needed]
69
-
70
- ### Recommendations
71
-
72
- <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
73
-
74
- Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
75
-
76
- ## How to Get Started with the Model
77
-
78
- Use the code below to get started with the model.
79
-
80
- [More Information Needed]
81
-
82
- ## Training Details
83
-
84
- ### Training Data
85
-
86
- <!-- 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. -->
87
-
88
- [More Information Needed]
89
-
90
- ### Training Procedure
91
-
92
- <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
93
-
94
- #### Preprocessing [optional]
95
-
96
- [More Information Needed]
97
-
98
-
99
- #### Training Hyperparameters
100
-
101
- - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
102
-
103
- #### Speeds, Sizes, Times [optional]
104
-
105
- <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
106
-
107
- [More Information Needed]
108
-
109
- ## Evaluation
110
-
111
- <!-- This section describes the evaluation protocols and provides the results. -->
112
-
113
- ### Testing Data, Factors & Metrics
114
-
115
- #### Testing Data
116
-
117
- <!-- This should link to a Dataset Card if possible. -->
118
-
119
- [More Information Needed]
120
-
121
- #### Factors
122
-
123
- <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
124
-
125
- [More Information Needed]
126
-
127
- #### Metrics
128
-
129
- <!-- These are the evaluation metrics being used, ideally with a description of why. -->
130
-
131
- [More Information Needed]
132
-
133
- ### Results
134
-
135
- [More Information Needed]
136
-
137
- #### Summary
138
-
139
-
140
-
141
- ## Model Examination [optional]
142
-
143
- <!-- Relevant interpretability work for the model goes here -->
144
-
145
- [More Information Needed]
146
-
147
- ## Environmental Impact
148
-
149
- <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
150
-
151
- 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).
152
-
153
- - **Hardware Type:** [More Information Needed]
154
- - **Hours used:** [More Information Needed]
155
- - **Cloud Provider:** [More Information Needed]
156
- - **Compute Region:** [More Information Needed]
157
- - **Carbon Emitted:** [More Information Needed]
158
-
159
- ## Technical Specifications [optional]
160
-
161
- ### Model Architecture and Objective
162
-
163
- [More Information Needed]
164
-
165
- ### Compute Infrastructure
166
-
167
- [More Information Needed]
168
-
169
- #### Hardware
170
-
171
- [More Information Needed]
172
-
173
- #### Software
174
-
175
- [More Information Needed]
176
-
177
- ## Citation [optional]
178
-
179
- <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
180
-
181
- **BibTeX:**
182
-
183
- [More Information Needed]
184
-
185
- **APA:**
186
-
187
- [More Information Needed]
188
-
189
- ## Glossary [optional]
190
-
191
- <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
192
-
193
- [More Information Needed]
194
-
195
- ## More Information [optional]
196
-
197
- [More Information Needed]
198
-
199
- ## Model Card Authors [optional]
200
-
201
- [More Information Needed]
202
-
203
- ## Model Card Contact
204
-
205
- [More Information Needed]
206
- ### Framework versions
207
-
208
- - PEFT 0.18.1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
checkpoint-10500/adapter_config.json DELETED
@@ -1,60 +0,0 @@
1
- {
2
- "alora_invocation_tokens": null,
3
- "alpha_pattern": {},
4
- "arrow_config": null,
5
- "auto_mapping": null,
6
- "base_model_name_or_path": "zai-org/GLM-OCR",
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": 16,
20
- "lora_bias": false,
21
- "lora_dropout": 0.1,
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": 8,
29
- "rank_pattern": {},
30
- "revision": null,
31
- "target_modules": [
32
- "layers.7.mlp.down_proj",
33
- "v_proj",
34
- "o_proj",
35
- "layers.4.mlp.down_proj",
36
- "layers.14.mlp.down_proj",
37
- "layers.2.mlp.down_proj",
38
- "layers.9.mlp.down_proj",
39
- "layers.0.mlp.down_proj",
40
- "layers.3.mlp.down_proj",
41
- "layers.15.mlp.down_proj",
42
- "layers.11.mlp.down_proj",
43
- "k_proj",
44
- "layers.8.mlp.down_proj",
45
- "q_proj",
46
- "gate_up_proj",
47
- "layers.10.mlp.down_proj",
48
- "layers.6.mlp.down_proj",
49
- "layers.13.mlp.down_proj",
50
- "layers.1.mlp.down_proj",
51
- "layers.5.mlp.down_proj",
52
- "layers.12.mlp.down_proj"
53
- ],
54
- "target_parameters": null,
55
- "task_type": "CAUSAL_LM",
56
- "trainable_token_indices": null,
57
- "use_dora": false,
58
- "use_qalora": false,
59
- "use_rslora": false
60
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
checkpoint-10500/adapter_model.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:4a8567ebe276187ce27f86b5cf2ef8c719d5130e8c2d8d03ab9f5badfad326db
3
- size 14970360
 
 
 
 
checkpoint-10500/chat_template.jinja DELETED
@@ -1,140 +0,0 @@
1
- [gMASK]<sop>
2
- {%- if tools -%}
3
- <|system|>
4
- # Tools
5
-
6
- You may call one or more functions to assist with the user query.
7
-
8
- You are provided with function signatures within <tools></tools> XML tags:
9
- <tools>
10
- {% for tool in tools %}
11
- {{ tool | tojson(ensure_ascii=False) }}
12
- {% endfor %}
13
- </tools>
14
-
15
- For each function call, output the function name and arguments within the following XML format:
16
- <tool_call>{function-name}
17
- <arg_key>{arg-key-1}</arg_key>
18
- <arg_value>{arg-value-1}</arg_value>
19
- <arg_key>{arg-key-2}</arg_key>
20
- <arg_value>{arg-value-2}</arg_value>
21
- ...
22
- </tool_call>{%- endif -%}
23
- {%- macro visible_text(content) -%}
24
- {%- if content is string -%}
25
- {{- content }}
26
- {%- elif content is iterable and content is not mapping -%}
27
- {%- for item in content -%}
28
- {%- if item is mapping and item.type == 'text' -%}
29
- {{- item.text }}
30
- {%- elif item is mapping and (item.type == 'image' or 'image' in item) -%}
31
- <|begin_of_image|><|image|><|end_of_image|>
32
- {%- elif item is mapping and (item.type == 'video' or 'video' in item) -%}
33
- <|begin_of_video|><|video|><|end_of_video|>
34
- {%- elif item is string -%}
35
- {{- item }}
36
- {%- endif -%}
37
- {%- endfor -%}
38
- {%- else -%}
39
- {{- content }}
40
- {%- endif -%}
41
- {%- endmacro -%}
42
- {%- set ns = namespace(last_user_index=-1) %}
43
- {%- for m in messages %}
44
- {%- if m.role == 'user' %}
45
- {% set ns.last_user_index = loop.index0 -%}
46
- {%- endif %}
47
- {%- endfor %}
48
- {% for m in messages %}
49
- {%- if m.role == 'user' -%}<|user|>
50
- {% if m.content is string %}
51
- {{ m.content }}
52
- {%- else %}
53
- {%- for item in m.content %}
54
- {% if item.type == 'video' or 'video' in item %}
55
- <|begin_of_video|><|video|><|end_of_video|>{% elif item.type == 'image' or 'image' in item %}
56
- <|begin_of_image|><|image|><|end_of_image|>{% elif item.type == 'text' %}
57
- {{ item.text }}
58
- {%- endif %}
59
- {%- endfor %}
60
- {%- endif %}
61
- {{- '/nothink' if (enable_thinking is defined and not enable_thinking and not visible_text(m.content).endswith("/nothink")) else '' -}}
62
- {%- elif m.role == 'assistant' -%}
63
- <|assistant|>
64
- {%- set reasoning_content = '' %}
65
- {%- set content = visible_text(m.content) %}
66
- {%- if m.reasoning_content is string %}
67
- {%- set reasoning_content = m.reasoning_content %}
68
- {%- else %}
69
- {%- if '</think>' in content %}
70
- {%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
71
- {%- set content = content.split('</think>')[-1].lstrip('\n') %}
72
- {%- endif %}
73
- {%- endif %}
74
- {%- if loop.index0 > ns.last_user_index and reasoning_content -%}
75
- {{ '\n<think>' + reasoning_content.strip() + '</think>'}}
76
- {%- else -%}
77
- {{ '\n<think></think>' }}
78
- {%- endif -%}
79
- {%- if content.strip() -%}
80
- {{ '\n' + content.strip() }}
81
- {%- endif -%}
82
- {% if m.tool_calls %}
83
- {% for tc in m.tool_calls %}
84
- {%- if tc.function %}
85
- {%- set tc = tc.function %}
86
- {%- endif %}
87
- {{ '\n<tool_call>' + tc.name }}
88
- {% set _args = tc.arguments %}
89
- {% for k, v in _args.items() %}
90
- <arg_key>{{ k }}</arg_key>
91
- <arg_value>{{ v | tojson(ensure_ascii=False) if v is not string else v }}</arg_value>
92
- {% endfor %}
93
- </tool_call>{% endfor %}
94
- {% endif %}
95
- {%- elif m.role == 'tool' -%}
96
- {%- if m.content is string -%}
97
- {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
98
- {{- '<|observation|>' }}
99
- {%- endif %}
100
- {{- '\n<tool_response>\n' }}
101
- {{- m.content }}
102
- {{- '\n</tool_response>' }}
103
- {% elif m.content is iterable and m.content is not mapping %}
104
- {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
105
- {{- '<|observation|>' }}
106
- {%- endif %}
107
- {{- '\n<tool_response>\n' }}
108
- {%- for tr in m.content -%}
109
- {%- if tr is mapping and tr.type is defined -%}
110
- {%- set t = tr.type | lower -%}
111
- {%- if t == 'text' and tr.text is defined -%}
112
- {{ tr.text }}
113
- {%- elif t in ['image', 'image_url'] -%}
114
- <|begin_of_image|><|image|><|end_of_image|>
115
- {%- elif t in ['video', 'video_url'] -%}
116
- <|begin_of_video|><|video|><|end_of_video|>
117
- {%- else -%}
118
- {{ tr | tojson(ensure_ascii=False) }}
119
- {%- endif -%}
120
- {%- else -%}
121
- {{ tr.output if tr.output is defined else tr }}
122
- {%- endif -%}
123
- {%- endfor -%}
124
- {{- '\n</tool_response>' }}
125
- {%- else -%}
126
- <|observation|>{% for tr in m.content %}
127
-
128
- <tool_response>
129
- {{ tr.output if tr.output is defined else tr }}
130
- </tool_response>{% endfor -%}
131
- {% endif -%}
132
- {%- elif m.role == 'system' -%}
133
- <|system|>
134
- {{ visible_text(m.content) }}
135
- {%- endif -%}
136
- {%- endfor -%}
137
- {%- if add_generation_prompt -%}
138
- <|assistant|>
139
- {{'<think></think>\n' if (enable_thinking is defined and not enable_thinking) else ''}}
140
- {%- endif -%}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
checkpoint-10500/optimizer.pt DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:196f6ff422f8ca5aff45300c85d5d23b4e4ff4464e335c13f6a4578a1d67178a
3
- size 30048843
 
 
 
 
checkpoint-10500/processor_config.json DELETED
@@ -1,67 +0,0 @@
1
- {
2
- "image_processor": {
3
- "data_format": "channels_first",
4
- "do_convert_rgb": true,
5
- "do_normalize": true,
6
- "do_rescale": true,
7
- "do_resize": true,
8
- "image_mean": [
9
- 0.48145466,
10
- 0.4578275,
11
- 0.40821073
12
- ],
13
- "image_processor_type": "Glm46VImageProcessorFast",
14
- "image_std": [
15
- 0.26862954,
16
- 0.26130258,
17
- 0.27577711
18
- ],
19
- "merge_size": 2,
20
- "patch_size": 14,
21
- "resample": 3,
22
- "rescale_factor": 0.00392156862745098,
23
- "size": {
24
- "longest_edge": 9633792,
25
- "shortest_edge": 12544
26
- },
27
- "temporal_patch_size": 2
28
- },
29
- "processor_class": "Glm46VProcessor",
30
- "video_processor": {
31
- "data_format": "channels_first",
32
- "default_to_square": true,
33
- "do_convert_rgb": true,
34
- "do_normalize": true,
35
- "do_rescale": true,
36
- "do_resize": true,
37
- "do_sample_frames": true,
38
- "fps": 2,
39
- "image_mean": [
40
- 0.48145466,
41
- 0.4578275,
42
- 0.40821073
43
- ],
44
- "image_processor_type": "Glm46VImageProcessor",
45
- "image_std": [
46
- 0.26862954,
47
- 0.26130258,
48
- 0.27577711
49
- ],
50
- "max_duration": 300,
51
- "max_image_size": {
52
- "longest_edge": 47040000
53
- },
54
- "merge_size": 2,
55
- "num_frames": 16,
56
- "patch_size": 14,
57
- "resample": 3,
58
- "rescale_factor": 0.00392156862745098,
59
- "return_metadata": false,
60
- "size": {
61
- "longest_edge": 9633792,
62
- "shortest_edge": 12544
63
- },
64
- "temporal_patch_size": 2,
65
- "video_processor_type": "Glm46VVideoProcessor"
66
- }
67
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
checkpoint-10500/rng_state.pth DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:662943d9c82c1f1c234827888b51ee6b3db6fec274250e443dfe6cddc82d188f
3
- size 14645
 
 
 
 
checkpoint-10500/scheduler.pt DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:b26274f4f828d6e1ee751fc9ad143ce7e3070cf0f85425c714f0b72bd935cf1a
3
- size 1465
 
 
 
 
checkpoint-10500/tokenizer.json DELETED
The diff for this file is too large to render. See raw diff
 
checkpoint-10500/tokenizer_config.json DELETED
@@ -1,16 +0,0 @@
1
- {
2
- "backend": "tokenizers",
3
- "clean_up_tokenization_spaces": false,
4
- "eos_token": "<|endoftext|>",
5
- "extra_special_tokens": [
6
- "<|user|>",
7
- "<|observation|>"
8
- ],
9
- "is_local": false,
10
- "model_max_length": 655380,
11
- "pad_token": "<|endoftext|>",
12
- "padding_side": "right",
13
- "processor_class": "Glm46VProcessor",
14
- "split_special_tokens": false,
15
- "tokenizer_class": "TokenizersBackend"
16
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
checkpoint-10500/trainer_state.json DELETED
The diff for this file is too large to render. See raw diff
 
checkpoint-10500/training_args.bin DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:17d0904350ec3cac340f5f4264a7fdac37e5e51f1efd4243975931f79bcdea75
3
- size 5585
 
 
 
 
checkpoint-11000/README.md DELETED
@@ -1,208 +0,0 @@
1
- ---
2
- base_model: zai-org/GLM-OCR
3
- library_name: peft
4
- pipeline_tag: text-generation
5
- tags:
6
- - base_model:adapter:zai-org/GLM-OCR
7
- - llama-factory
8
- - lora
9
- - transformers
10
- ---
11
-
12
- # Model Card for Model ID
13
-
14
- <!-- Provide a quick summary of what the model is/does. -->
15
-
16
-
17
-
18
- ## Model Details
19
-
20
- ### Model Description
21
-
22
- <!-- Provide a longer summary of what this model is. -->
23
-
24
-
25
-
26
- - **Developed by:** [More Information Needed]
27
- - **Funded by [optional]:** [More Information Needed]
28
- - **Shared by [optional]:** [More Information Needed]
29
- - **Model type:** [More Information Needed]
30
- - **Language(s) (NLP):** [More Information Needed]
31
- - **License:** [More Information Needed]
32
- - **Finetuned from model [optional]:** [More Information Needed]
33
-
34
- ### Model Sources [optional]
35
-
36
- <!-- Provide the basic links for the model. -->
37
-
38
- - **Repository:** [More Information Needed]
39
- - **Paper [optional]:** [More Information Needed]
40
- - **Demo [optional]:** [More Information Needed]
41
-
42
- ## Uses
43
-
44
- <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
45
-
46
- ### Direct Use
47
-
48
- <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
49
-
50
- [More Information Needed]
51
-
52
- ### Downstream Use [optional]
53
-
54
- <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
55
-
56
- [More Information Needed]
57
-
58
- ### Out-of-Scope Use
59
-
60
- <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
61
-
62
- [More Information Needed]
63
-
64
- ## Bias, Risks, and Limitations
65
-
66
- <!-- This section is meant to convey both technical and sociotechnical limitations. -->
67
-
68
- [More Information Needed]
69
-
70
- ### Recommendations
71
-
72
- <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
73
-
74
- Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
75
-
76
- ## How to Get Started with the Model
77
-
78
- Use the code below to get started with the model.
79
-
80
- [More Information Needed]
81
-
82
- ## Training Details
83
-
84
- ### Training Data
85
-
86
- <!-- 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. -->
87
-
88
- [More Information Needed]
89
-
90
- ### Training Procedure
91
-
92
- <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
93
-
94
- #### Preprocessing [optional]
95
-
96
- [More Information Needed]
97
-
98
-
99
- #### Training Hyperparameters
100
-
101
- - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
102
-
103
- #### Speeds, Sizes, Times [optional]
104
-
105
- <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
106
-
107
- [More Information Needed]
108
-
109
- ## Evaluation
110
-
111
- <!-- This section describes the evaluation protocols and provides the results. -->
112
-
113
- ### Testing Data, Factors & Metrics
114
-
115
- #### Testing Data
116
-
117
- <!-- This should link to a Dataset Card if possible. -->
118
-
119
- [More Information Needed]
120
-
121
- #### Factors
122
-
123
- <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
124
-
125
- [More Information Needed]
126
-
127
- #### Metrics
128
-
129
- <!-- These are the evaluation metrics being used, ideally with a description of why. -->
130
-
131
- [More Information Needed]
132
-
133
- ### Results
134
-
135
- [More Information Needed]
136
-
137
- #### Summary
138
-
139
-
140
-
141
- ## Model Examination [optional]
142
-
143
- <!-- Relevant interpretability work for the model goes here -->
144
-
145
- [More Information Needed]
146
-
147
- ## Environmental Impact
148
-
149
- <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
150
-
151
- 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).
152
-
153
- - **Hardware Type:** [More Information Needed]
154
- - **Hours used:** [More Information Needed]
155
- - **Cloud Provider:** [More Information Needed]
156
- - **Compute Region:** [More Information Needed]
157
- - **Carbon Emitted:** [More Information Needed]
158
-
159
- ## Technical Specifications [optional]
160
-
161
- ### Model Architecture and Objective
162
-
163
- [More Information Needed]
164
-
165
- ### Compute Infrastructure
166
-
167
- [More Information Needed]
168
-
169
- #### Hardware
170
-
171
- [More Information Needed]
172
-
173
- #### Software
174
-
175
- [More Information Needed]
176
-
177
- ## Citation [optional]
178
-
179
- <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
180
-
181
- **BibTeX:**
182
-
183
- [More Information Needed]
184
-
185
- **APA:**
186
-
187
- [More Information Needed]
188
-
189
- ## Glossary [optional]
190
-
191
- <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
192
-
193
- [More Information Needed]
194
-
195
- ## More Information [optional]
196
-
197
- [More Information Needed]
198
-
199
- ## Model Card Authors [optional]
200
-
201
- [More Information Needed]
202
-
203
- ## Model Card Contact
204
-
205
- [More Information Needed]
206
- ### Framework versions
207
-
208
- - PEFT 0.18.1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
checkpoint-11000/adapter_config.json DELETED
@@ -1,60 +0,0 @@
1
- {
2
- "alora_invocation_tokens": null,
3
- "alpha_pattern": {},
4
- "arrow_config": null,
5
- "auto_mapping": null,
6
- "base_model_name_or_path": "zai-org/GLM-OCR",
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": 16,
20
- "lora_bias": false,
21
- "lora_dropout": 0.1,
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": 8,
29
- "rank_pattern": {},
30
- "revision": null,
31
- "target_modules": [
32
- "layers.7.mlp.down_proj",
33
- "v_proj",
34
- "o_proj",
35
- "layers.4.mlp.down_proj",
36
- "layers.14.mlp.down_proj",
37
- "layers.2.mlp.down_proj",
38
- "layers.9.mlp.down_proj",
39
- "layers.0.mlp.down_proj",
40
- "layers.3.mlp.down_proj",
41
- "layers.15.mlp.down_proj",
42
- "layers.11.mlp.down_proj",
43
- "k_proj",
44
- "layers.8.mlp.down_proj",
45
- "q_proj",
46
- "gate_up_proj",
47
- "layers.10.mlp.down_proj",
48
- "layers.6.mlp.down_proj",
49
- "layers.13.mlp.down_proj",
50
- "layers.1.mlp.down_proj",
51
- "layers.5.mlp.down_proj",
52
- "layers.12.mlp.down_proj"
53
- ],
54
- "target_parameters": null,
55
- "task_type": "CAUSAL_LM",
56
- "trainable_token_indices": null,
57
- "use_dora": false,
58
- "use_qalora": false,
59
- "use_rslora": false
60
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
checkpoint-11000/adapter_model.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:fb49b054422370c54bf7cb74056c6f030da9669fd885c6d4aaf1dd1a184adadc
3
- size 14970360
 
 
 
 
checkpoint-11000/chat_template.jinja DELETED
@@ -1,140 +0,0 @@
1
- [gMASK]<sop>
2
- {%- if tools -%}
3
- <|system|>
4
- # Tools
5
-
6
- You may call one or more functions to assist with the user query.
7
-
8
- You are provided with function signatures within <tools></tools> XML tags:
9
- <tools>
10
- {% for tool in tools %}
11
- {{ tool | tojson(ensure_ascii=False) }}
12
- {% endfor %}
13
- </tools>
14
-
15
- For each function call, output the function name and arguments within the following XML format:
16
- <tool_call>{function-name}
17
- <arg_key>{arg-key-1}</arg_key>
18
- <arg_value>{arg-value-1}</arg_value>
19
- <arg_key>{arg-key-2}</arg_key>
20
- <arg_value>{arg-value-2}</arg_value>
21
- ...
22
- </tool_call>{%- endif -%}
23
- {%- macro visible_text(content) -%}
24
- {%- if content is string -%}
25
- {{- content }}
26
- {%- elif content is iterable and content is not mapping -%}
27
- {%- for item in content -%}
28
- {%- if item is mapping and item.type == 'text' -%}
29
- {{- item.text }}
30
- {%- elif item is mapping and (item.type == 'image' or 'image' in item) -%}
31
- <|begin_of_image|><|image|><|end_of_image|>
32
- {%- elif item is mapping and (item.type == 'video' or 'video' in item) -%}
33
- <|begin_of_video|><|video|><|end_of_video|>
34
- {%- elif item is string -%}
35
- {{- item }}
36
- {%- endif -%}
37
- {%- endfor -%}
38
- {%- else -%}
39
- {{- content }}
40
- {%- endif -%}
41
- {%- endmacro -%}
42
- {%- set ns = namespace(last_user_index=-1) %}
43
- {%- for m in messages %}
44
- {%- if m.role == 'user' %}
45
- {% set ns.last_user_index = loop.index0 -%}
46
- {%- endif %}
47
- {%- endfor %}
48
- {% for m in messages %}
49
- {%- if m.role == 'user' -%}<|user|>
50
- {% if m.content is string %}
51
- {{ m.content }}
52
- {%- else %}
53
- {%- for item in m.content %}
54
- {% if item.type == 'video' or 'video' in item %}
55
- <|begin_of_video|><|video|><|end_of_video|>{% elif item.type == 'image' or 'image' in item %}
56
- <|begin_of_image|><|image|><|end_of_image|>{% elif item.type == 'text' %}
57
- {{ item.text }}
58
- {%- endif %}
59
- {%- endfor %}
60
- {%- endif %}
61
- {{- '/nothink' if (enable_thinking is defined and not enable_thinking and not visible_text(m.content).endswith("/nothink")) else '' -}}
62
- {%- elif m.role == 'assistant' -%}
63
- <|assistant|>
64
- {%- set reasoning_content = '' %}
65
- {%- set content = visible_text(m.content) %}
66
- {%- if m.reasoning_content is string %}
67
- {%- set reasoning_content = m.reasoning_content %}
68
- {%- else %}
69
- {%- if '</think>' in content %}
70
- {%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
71
- {%- set content = content.split('</think>')[-1].lstrip('\n') %}
72
- {%- endif %}
73
- {%- endif %}
74
- {%- if loop.index0 > ns.last_user_index and reasoning_content -%}
75
- {{ '\n<think>' + reasoning_content.strip() + '</think>'}}
76
- {%- else -%}
77
- {{ '\n<think></think>' }}
78
- {%- endif -%}
79
- {%- if content.strip() -%}
80
- {{ '\n' + content.strip() }}
81
- {%- endif -%}
82
- {% if m.tool_calls %}
83
- {% for tc in m.tool_calls %}
84
- {%- if tc.function %}
85
- {%- set tc = tc.function %}
86
- {%- endif %}
87
- {{ '\n<tool_call>' + tc.name }}
88
- {% set _args = tc.arguments %}
89
- {% for k, v in _args.items() %}
90
- <arg_key>{{ k }}</arg_key>
91
- <arg_value>{{ v | tojson(ensure_ascii=False) if v is not string else v }}</arg_value>
92
- {% endfor %}
93
- </tool_call>{% endfor %}
94
- {% endif %}
95
- {%- elif m.role == 'tool' -%}
96
- {%- if m.content is string -%}
97
- {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
98
- {{- '<|observation|>' }}
99
- {%- endif %}
100
- {{- '\n<tool_response>\n' }}
101
- {{- m.content }}
102
- {{- '\n</tool_response>' }}
103
- {% elif m.content is iterable and m.content is not mapping %}
104
- {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
105
- {{- '<|observation|>' }}
106
- {%- endif %}
107
- {{- '\n<tool_response>\n' }}
108
- {%- for tr in m.content -%}
109
- {%- if tr is mapping and tr.type is defined -%}
110
- {%- set t = tr.type | lower -%}
111
- {%- if t == 'text' and tr.text is defined -%}
112
- {{ tr.text }}
113
- {%- elif t in ['image', 'image_url'] -%}
114
- <|begin_of_image|><|image|><|end_of_image|>
115
- {%- elif t in ['video', 'video_url'] -%}
116
- <|begin_of_video|><|video|><|end_of_video|>
117
- {%- else -%}
118
- {{ tr | tojson(ensure_ascii=False) }}
119
- {%- endif -%}
120
- {%- else -%}
121
- {{ tr.output if tr.output is defined else tr }}
122
- {%- endif -%}
123
- {%- endfor -%}
124
- {{- '\n</tool_response>' }}
125
- {%- else -%}
126
- <|observation|>{% for tr in m.content %}
127
-
128
- <tool_response>
129
- {{ tr.output if tr.output is defined else tr }}
130
- </tool_response>{% endfor -%}
131
- {% endif -%}
132
- {%- elif m.role == 'system' -%}
133
- <|system|>
134
- {{ visible_text(m.content) }}
135
- {%- endif -%}
136
- {%- endfor -%}
137
- {%- if add_generation_prompt -%}
138
- <|assistant|>
139
- {{'<think></think>\n' if (enable_thinking is defined and not enable_thinking) else ''}}
140
- {%- endif -%}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
checkpoint-11000/optimizer.pt DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:62c6ebd836409ffb1454970ccaf78bfdb91c8efd65d9dc81dbaafa3ed0d40372
3
- size 30048843
 
 
 
 
checkpoint-11000/processor_config.json DELETED
@@ -1,67 +0,0 @@
1
- {
2
- "image_processor": {
3
- "data_format": "channels_first",
4
- "do_convert_rgb": true,
5
- "do_normalize": true,
6
- "do_rescale": true,
7
- "do_resize": true,
8
- "image_mean": [
9
- 0.48145466,
10
- 0.4578275,
11
- 0.40821073
12
- ],
13
- "image_processor_type": "Glm46VImageProcessorFast",
14
- "image_std": [
15
- 0.26862954,
16
- 0.26130258,
17
- 0.27577711
18
- ],
19
- "merge_size": 2,
20
- "patch_size": 14,
21
- "resample": 3,
22
- "rescale_factor": 0.00392156862745098,
23
- "size": {
24
- "longest_edge": 9633792,
25
- "shortest_edge": 12544
26
- },
27
- "temporal_patch_size": 2
28
- },
29
- "processor_class": "Glm46VProcessor",
30
- "video_processor": {
31
- "data_format": "channels_first",
32
- "default_to_square": true,
33
- "do_convert_rgb": true,
34
- "do_normalize": true,
35
- "do_rescale": true,
36
- "do_resize": true,
37
- "do_sample_frames": true,
38
- "fps": 2,
39
- "image_mean": [
40
- 0.48145466,
41
- 0.4578275,
42
- 0.40821073
43
- ],
44
- "image_processor_type": "Glm46VImageProcessor",
45
- "image_std": [
46
- 0.26862954,
47
- 0.26130258,
48
- 0.27577711
49
- ],
50
- "max_duration": 300,
51
- "max_image_size": {
52
- "longest_edge": 47040000
53
- },
54
- "merge_size": 2,
55
- "num_frames": 16,
56
- "patch_size": 14,
57
- "resample": 3,
58
- "rescale_factor": 0.00392156862745098,
59
- "return_metadata": false,
60
- "size": {
61
- "longest_edge": 9633792,
62
- "shortest_edge": 12544
63
- },
64
- "temporal_patch_size": 2,
65
- "video_processor_type": "Glm46VVideoProcessor"
66
- }
67
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
checkpoint-11000/rng_state.pth DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:40f5d49578e8e2171d4202c8698857333d801dfb6992d04a10d925a004520c42
3
- size 14645
 
 
 
 
checkpoint-11000/scheduler.pt DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ad0f08e8ec8f6286ea7a4b3429575804a33c13b61922c784d6742a2a4b5a4edb
3
- size 1465
 
 
 
 
checkpoint-11000/tokenizer.json DELETED
The diff for this file is too large to render. See raw diff
 
checkpoint-11000/tokenizer_config.json DELETED
@@ -1,16 +0,0 @@
1
- {
2
- "backend": "tokenizers",
3
- "clean_up_tokenization_spaces": false,
4
- "eos_token": "<|endoftext|>",
5
- "extra_special_tokens": [
6
- "<|user|>",
7
- "<|observation|>"
8
- ],
9
- "is_local": false,
10
- "model_max_length": 655380,
11
- "pad_token": "<|endoftext|>",
12
- "padding_side": "right",
13
- "processor_class": "Glm46VProcessor",
14
- "split_special_tokens": false,
15
- "tokenizer_class": "TokenizersBackend"
16
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
checkpoint-11000/trainer_state.json DELETED
The diff for this file is too large to render. See raw diff
 
checkpoint-11000/training_args.bin DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:17d0904350ec3cac340f5f4264a7fdac37e5e51f1efd4243975931f79bcdea75
3
- size 5585
 
 
 
 
checkpoint-11500/README.md DELETED
@@ -1,208 +0,0 @@
1
- ---
2
- base_model: zai-org/GLM-OCR
3
- library_name: peft
4
- pipeline_tag: text-generation
5
- tags:
6
- - base_model:adapter:zai-org/GLM-OCR
7
- - llama-factory
8
- - lora
9
- - transformers
10
- ---
11
-
12
- # Model Card for Model ID
13
-
14
- <!-- Provide a quick summary of what the model is/does. -->
15
-
16
-
17
-
18
- ## Model Details
19
-
20
- ### Model Description
21
-
22
- <!-- Provide a longer summary of what this model is. -->
23
-
24
-
25
-
26
- - **Developed by:** [More Information Needed]
27
- - **Funded by [optional]:** [More Information Needed]
28
- - **Shared by [optional]:** [More Information Needed]
29
- - **Model type:** [More Information Needed]
30
- - **Language(s) (NLP):** [More Information Needed]
31
- - **License:** [More Information Needed]
32
- - **Finetuned from model [optional]:** [More Information Needed]
33
-
34
- ### Model Sources [optional]
35
-
36
- <!-- Provide the basic links for the model. -->
37
-
38
- - **Repository:** [More Information Needed]
39
- - **Paper [optional]:** [More Information Needed]
40
- - **Demo [optional]:** [More Information Needed]
41
-
42
- ## Uses
43
-
44
- <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
45
-
46
- ### Direct Use
47
-
48
- <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
49
-
50
- [More Information Needed]
51
-
52
- ### Downstream Use [optional]
53
-
54
- <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
55
-
56
- [More Information Needed]
57
-
58
- ### Out-of-Scope Use
59
-
60
- <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
61
-
62
- [More Information Needed]
63
-
64
- ## Bias, Risks, and Limitations
65
-
66
- <!-- This section is meant to convey both technical and sociotechnical limitations. -->
67
-
68
- [More Information Needed]
69
-
70
- ### Recommendations
71
-
72
- <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
73
-
74
- Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
75
-
76
- ## How to Get Started with the Model
77
-
78
- Use the code below to get started with the model.
79
-
80
- [More Information Needed]
81
-
82
- ## Training Details
83
-
84
- ### Training Data
85
-
86
- <!-- 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. -->
87
-
88
- [More Information Needed]
89
-
90
- ### Training Procedure
91
-
92
- <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
93
-
94
- #### Preprocessing [optional]
95
-
96
- [More Information Needed]
97
-
98
-
99
- #### Training Hyperparameters
100
-
101
- - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
102
-
103
- #### Speeds, Sizes, Times [optional]
104
-
105
- <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
106
-
107
- [More Information Needed]
108
-
109
- ## Evaluation
110
-
111
- <!-- This section describes the evaluation protocols and provides the results. -->
112
-
113
- ### Testing Data, Factors & Metrics
114
-
115
- #### Testing Data
116
-
117
- <!-- This should link to a Dataset Card if possible. -->
118
-
119
- [More Information Needed]
120
-
121
- #### Factors
122
-
123
- <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
124
-
125
- [More Information Needed]
126
-
127
- #### Metrics
128
-
129
- <!-- These are the evaluation metrics being used, ideally with a description of why. -->
130
-
131
- [More Information Needed]
132
-
133
- ### Results
134
-
135
- [More Information Needed]
136
-
137
- #### Summary
138
-
139
-
140
-
141
- ## Model Examination [optional]
142
-
143
- <!-- Relevant interpretability work for the model goes here -->
144
-
145
- [More Information Needed]
146
-
147
- ## Environmental Impact
148
-
149
- <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
150
-
151
- 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).
152
-
153
- - **Hardware Type:** [More Information Needed]
154
- - **Hours used:** [More Information Needed]
155
- - **Cloud Provider:** [More Information Needed]
156
- - **Compute Region:** [More Information Needed]
157
- - **Carbon Emitted:** [More Information Needed]
158
-
159
- ## Technical Specifications [optional]
160
-
161
- ### Model Architecture and Objective
162
-
163
- [More Information Needed]
164
-
165
- ### Compute Infrastructure
166
-
167
- [More Information Needed]
168
-
169
- #### Hardware
170
-
171
- [More Information Needed]
172
-
173
- #### Software
174
-
175
- [More Information Needed]
176
-
177
- ## Citation [optional]
178
-
179
- <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
180
-
181
- **BibTeX:**
182
-
183
- [More Information Needed]
184
-
185
- **APA:**
186
-
187
- [More Information Needed]
188
-
189
- ## Glossary [optional]
190
-
191
- <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
192
-
193
- [More Information Needed]
194
-
195
- ## More Information [optional]
196
-
197
- [More Information Needed]
198
-
199
- ## Model Card Authors [optional]
200
-
201
- [More Information Needed]
202
-
203
- ## Model Card Contact
204
-
205
- [More Information Needed]
206
- ### Framework versions
207
-
208
- - PEFT 0.18.1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
checkpoint-11500/adapter_config.json DELETED
@@ -1,60 +0,0 @@
1
- {
2
- "alora_invocation_tokens": null,
3
- "alpha_pattern": {},
4
- "arrow_config": null,
5
- "auto_mapping": null,
6
- "base_model_name_or_path": "zai-org/GLM-OCR",
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": 16,
20
- "lora_bias": false,
21
- "lora_dropout": 0.1,
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": 8,
29
- "rank_pattern": {},
30
- "revision": null,
31
- "target_modules": [
32
- "layers.7.mlp.down_proj",
33
- "v_proj",
34
- "o_proj",
35
- "layers.4.mlp.down_proj",
36
- "layers.14.mlp.down_proj",
37
- "layers.2.mlp.down_proj",
38
- "layers.9.mlp.down_proj",
39
- "layers.0.mlp.down_proj",
40
- "layers.3.mlp.down_proj",
41
- "layers.15.mlp.down_proj",
42
- "layers.11.mlp.down_proj",
43
- "k_proj",
44
- "layers.8.mlp.down_proj",
45
- "q_proj",
46
- "gate_up_proj",
47
- "layers.10.mlp.down_proj",
48
- "layers.6.mlp.down_proj",
49
- "layers.13.mlp.down_proj",
50
- "layers.1.mlp.down_proj",
51
- "layers.5.mlp.down_proj",
52
- "layers.12.mlp.down_proj"
53
- ],
54
- "target_parameters": null,
55
- "task_type": "CAUSAL_LM",
56
- "trainable_token_indices": null,
57
- "use_dora": false,
58
- "use_qalora": false,
59
- "use_rslora": false
60
- }