AbdoTW commited on
Commit
be60469
·
verified ·
1 Parent(s): 9b6ba16

Upload checkpoint-1100

Browse files
checkpoints-ocr-only/checkpoint-1100/README.md ADDED
@@ -0,0 +1,208 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: google/gemma-3-4b-it
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:google/gemma-3-4b-it
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
checkpoints-ocr-only/checkpoint-1100/adapter_config.json ADDED
@@ -0,0 +1,145 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "google/gemma-3-4b-it",
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": 192,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.0,
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": 96,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "language_model.layers.3.self_attn.q_proj",
33
+ "language_model.layers.10.self_attn.q_proj",
34
+ "language_model.layers.8.self_attn.q_proj",
35
+ "language_model.layers.21.self_attn.q_proj",
36
+ "language_model.layers.17.self_attn.v_proj",
37
+ "language_model.layers.15.self_attn.k_proj",
38
+ "language_model.layers.14.self_attn.v_proj",
39
+ "language_model.layers.22.self_attn.v_proj",
40
+ "language_model.layers.16.self_attn.v_proj",
41
+ "language_model.layers.26.self_attn.q_proj",
42
+ "language_model.layers.10.self_attn.k_proj",
43
+ "language_model.layers.0.self_attn.q_proj",
44
+ "language_model.layers.17.self_attn.q_proj",
45
+ "language_model.layers.11.self_attn.k_proj",
46
+ "31.self_attn.v_proj",
47
+ "up_proj",
48
+ "language_model.layers.4.self_attn.q_proj",
49
+ "language_model.layers.25.self_attn.q_proj",
50
+ "language_model.layers.23.self_attn.q_proj",
51
+ "30.self_attn.v_proj",
52
+ "language_model.layers.5.self_attn.v_proj",
53
+ "27.self_attn.k_proj",
54
+ "29.self_attn.v_proj",
55
+ "language_model.layers.19.self_attn.q_proj",
56
+ "language_model.layers.20.self_attn.v_proj",
57
+ "language_model.layers.14.self_attn.k_proj",
58
+ "29.self_attn.k_proj",
59
+ "language_model.layers.15.self_attn.q_proj",
60
+ "language_model.layers.13.self_attn.v_proj",
61
+ "33.self_attn.q_proj",
62
+ "language_model.layers.25.self_attn.k_proj",
63
+ "language_model.layers.1.self_attn.q_proj",
64
+ "language_model.layers.24.self_attn.q_proj",
65
+ "language_model.layers.20.self_attn.q_proj",
66
+ "28.self_attn.k_proj",
67
+ "31.self_attn.q_proj",
68
+ "33.self_attn.k_proj",
69
+ "language_model.layers.16.self_attn.k_proj",
70
+ "31.self_attn.k_proj",
71
+ "32.self_attn.k_proj",
72
+ "language_model.layers.9.self_attn.q_proj",
73
+ "language_model.layers.0.self_attn.v_proj",
74
+ "language_model.layers.0.self_attn.k_proj",
75
+ "language_model.layers.12.self_attn.v_proj",
76
+ "language_model.layers.11.self_attn.v_proj",
77
+ "language_model.layers.7.self_attn.q_proj",
78
+ "language_model.layers.21.self_attn.k_proj",
79
+ "language_model.layers.24.self_attn.k_proj",
80
+ "language_model.layers.2.self_attn.k_proj",
81
+ "language_model.layers.19.self_attn.k_proj",
82
+ "language_model.layers.9.self_attn.k_proj",
83
+ "language_model.layers.16.self_attn.q_proj",
84
+ "language_model.layers.6.self_attn.q_proj",
85
+ "language_model.layers.23.self_attn.v_proj",
86
+ "language_model.layers.4.self_attn.k_proj",
87
+ "language_model.layers.10.self_attn.v_proj",
88
+ "down_proj",
89
+ "language_model.layers.8.self_attn.v_proj",
90
+ "language_model.layers.22.self_attn.q_proj",
91
+ "o_proj",
92
+ "language_model.layers.22.self_attn.k_proj",
93
+ "language_model.layers.15.self_attn.v_proj",
94
+ "language_model.layers.2.self_attn.v_proj",
95
+ "language_model.layers.17.self_attn.k_proj",
96
+ "language_model.layers.1.self_attn.v_proj",
97
+ "29.self_attn.q_proj",
98
+ "28.self_attn.v_proj",
99
+ "language_model.layers.6.self_attn.k_proj",
100
+ "language_model.layers.18.self_attn.k_proj",
101
+ "language_model.layers.7.self_attn.v_proj",
102
+ "27.self_attn.v_proj",
103
+ "language_model.layers.9.self_attn.v_proj",
104
+ "language_model.layers.12.self_attn.k_proj",
105
+ "language_model.layers.7.self_attn.k_proj",
106
+ "28.self_attn.q_proj",
107
+ "language_model.layers.3.self_attn.k_proj",
108
+ "language_model.layers.21.self_attn.v_proj",
109
+ "language_model.layers.20.self_attn.k_proj",
110
+ "language_model.layers.3.self_attn.v_proj",
111
+ "language_model.layers.4.self_attn.v_proj",
112
+ "language_model.layers.25.self_attn.v_proj",
113
+ "language_model.layers.23.self_attn.k_proj",
114
+ "language_model.layers.6.self_attn.v_proj",
115
+ "language_model.layers.8.self_attn.k_proj",
116
+ "language_model.layers.13.self_attn.k_proj",
117
+ "language_model.layers.13.self_attn.q_proj",
118
+ "language_model.layers.24.self_attn.v_proj",
119
+ "30.self_attn.q_proj",
120
+ "language_model.layers.26.self_attn.v_proj",
121
+ "language_model.layers.12.self_attn.q_proj",
122
+ "language_model.layers.5.self_attn.q_proj",
123
+ "language_model.layers.19.self_attn.v_proj",
124
+ "gate_proj",
125
+ "language_model.layers.2.self_attn.q_proj",
126
+ "language_model.layers.11.self_attn.q_proj",
127
+ "32.self_attn.v_proj",
128
+ "32.self_attn.q_proj",
129
+ "language_model.layers.18.self_attn.q_proj",
130
+ "27.self_attn.q_proj",
131
+ "language_model.layers.1.self_attn.k_proj",
132
+ "language_model.layers.26.self_attn.k_proj",
133
+ "language_model.layers.18.self_attn.v_proj",
134
+ "30.self_attn.k_proj",
135
+ "33.self_attn.v_proj",
136
+ "language_model.layers.14.self_attn.q_proj",
137
+ "language_model.layers.5.self_attn.k_proj"
138
+ ],
139
+ "target_parameters": null,
140
+ "task_type": "CAUSAL_LM",
141
+ "trainable_token_indices": null,
142
+ "use_dora": false,
143
+ "use_qalora": false,
144
+ "use_rslora": false
145
+ }
checkpoints-ocr-only/checkpoint-1100/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:459d9cc73d7ed51c847b8eae5dda40f6ad57b249363ff2266ad32a15b78f3958
3
+ size 715331368
checkpoints-ocr-only/checkpoint-1100/added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<image_soft_token>": 262144
3
+ }
checkpoints-ocr-only/checkpoint-1100/chat_template.jinja ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {{ bos_token }}
2
+ {%- if messages[0]['role'] == 'system' -%}
3
+ {%- if messages[0]['content'] is string -%}
4
+ {%- set first_user_prefix = messages[0]['content'] + '
5
+
6
+ ' -%}
7
+ {%- else -%}
8
+ {%- set first_user_prefix = messages[0]['content'][0]['text'] + '
9
+
10
+ ' -%}
11
+ {%- endif -%}
12
+ {%- set loop_messages = messages[1:] -%}
13
+ {%- else -%}
14
+ {%- set first_user_prefix = "" -%}
15
+ {%- set loop_messages = messages -%}
16
+ {%- endif -%}
17
+ {%- for message in loop_messages -%}
18
+ {%- if (message['role'] == 'user') != (loop.index0 % 2 == 0) -%}
19
+ {{ raise_exception("Conversation roles must alternate user/assistant/user/assistant/...") }}
20
+ {%- endif -%}
21
+ {%- if (message['role'] == 'assistant') -%}
22
+ {%- set role = "model" -%}
23
+ {%- else -%}
24
+ {%- set role = message['role'] -%}
25
+ {%- endif -%}
26
+ {{ '<start_of_turn>' + role + '
27
+ ' + (first_user_prefix if loop.first else "") }}
28
+ {%- if message['content'] is string -%}
29
+ {{ message['content'] | trim }}
30
+ {%- elif message['content'] is iterable -%}
31
+ {%- for item in message['content'] -%}
32
+ {%- if item['type'] == 'image' -%}
33
+ {{ '<start_of_image>' }}
34
+ {%- elif item['type'] == 'text' -%}
35
+ {{ item['text'] | trim }}
36
+ {%- endif -%}
37
+ {%- endfor -%}
38
+ {%- else -%}
39
+ {{ raise_exception("Invalid content type") }}
40
+ {%- endif -%}
41
+ {{ '<end_of_turn>
42
+ ' }}
43
+ {%- endfor -%}
44
+ {%- if add_generation_prompt -%}
45
+ {{'<start_of_turn>model
46
+ '}}
47
+ {%- endif -%}
checkpoints-ocr-only/checkpoint-1100/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:672f2ff9cdb85ebfdccb37703b74dffa26713df5800a3388278e32110c3e3943
3
+ size 1430929015
checkpoints-ocr-only/checkpoint-1100/preprocessor_config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_convert_rgb": null,
3
+ "do_normalize": true,
4
+ "do_pan_and_scan": null,
5
+ "do_rescale": true,
6
+ "do_resize": true,
7
+ "image_mean": [
8
+ 0.5,
9
+ 0.5,
10
+ 0.5
11
+ ],
12
+ "image_processor_type": "Gemma3ImageProcessor",
13
+ "image_seq_length": 256,
14
+ "image_std": [
15
+ 0.5,
16
+ 0.5,
17
+ 0.5
18
+ ],
19
+ "pan_and_scan_max_num_crops": null,
20
+ "pan_and_scan_min_crop_size": null,
21
+ "pan_and_scan_min_ratio_to_activate": null,
22
+ "processor_class": "Gemma3Processor",
23
+ "resample": 2,
24
+ "rescale_factor": 0.00392156862745098,
25
+ "size": {
26
+ "height": 896,
27
+ "width": 896
28
+ }
29
+ }
checkpoints-ocr-only/checkpoint-1100/processor_config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "image_seq_length": 256,
3
+ "processor_class": "Gemma3Processor"
4
+ }
checkpoints-ocr-only/checkpoint-1100/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c29adc3f04b16f4ac7f5b1dc3d9fcb19c78040ad671c4b2bf4a3cc4d244df933
3
+ size 14645
checkpoints-ocr-only/checkpoint-1100/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b8afa6838ad951b65a970b1167b9bfe70b16d835f5414fd9e456b83b44548a3b
3
+ size 1465
checkpoints-ocr-only/checkpoint-1100/special_tokens_map.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "boi_token": "<start_of_image>",
3
+ "bos_token": {
4
+ "content": "<bos>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false
9
+ },
10
+ "eoi_token": "<end_of_image>",
11
+ "eos_token": {
12
+ "content": "<end_of_turn>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false
17
+ },
18
+ "image_token": "<image_soft_token>",
19
+ "pad_token": {
20
+ "content": "<pad>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false
25
+ },
26
+ "unk_token": {
27
+ "content": "<unk>",
28
+ "lstrip": false,
29
+ "normalized": false,
30
+ "rstrip": false,
31
+ "single_word": false
32
+ }
33
+ }
checkpoints-ocr-only/checkpoint-1100/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1299c11d7cf632ef3b4e11937501358ada021bbdf7c47638d13c0ee982f2e79c
3
+ size 4689074
checkpoints-ocr-only/checkpoint-1100/tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoints-ocr-only/checkpoint-1100/trainer_state.json ADDED
@@ -0,0 +1,518 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 8.732338308457711,
6
+ "eval_steps": 50,
7
+ "global_step": 1100,
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.19900497512437812,
14
+ "grad_norm": 1.7990126609802246,
15
+ "learning_rate": 9.523809523809523e-06,
16
+ "loss": 0.793,
17
+ "step": 25
18
+ },
19
+ {
20
+ "epoch": 0.39800995024875624,
21
+ "grad_norm": 0.8365816473960876,
22
+ "learning_rate": 1.9444444444444445e-05,
23
+ "loss": 0.4716,
24
+ "step": 50
25
+ },
26
+ {
27
+ "epoch": 0.39800995024875624,
28
+ "eval_loss": 0.4320129156112671,
29
+ "eval_runtime": 6.7601,
30
+ "eval_samples_per_second": 6.213,
31
+ "eval_steps_per_second": 3.106,
32
+ "step": 50
33
+ },
34
+ {
35
+ "epoch": 0.5970149253731343,
36
+ "grad_norm": 0.7775853872299194,
37
+ "learning_rate": 2.9365079365079366e-05,
38
+ "loss": 0.3361,
39
+ "step": 75
40
+ },
41
+ {
42
+ "epoch": 0.7960199004975125,
43
+ "grad_norm": 0.6636790633201599,
44
+ "learning_rate": 3.928571428571429e-05,
45
+ "loss": 0.2948,
46
+ "step": 100
47
+ },
48
+ {
49
+ "epoch": 0.7960199004975125,
50
+ "eval_loss": 0.33022385835647583,
51
+ "eval_runtime": 6.6898,
52
+ "eval_samples_per_second": 6.278,
53
+ "eval_steps_per_second": 3.139,
54
+ "step": 100
55
+ },
56
+ {
57
+ "epoch": 0.9950248756218906,
58
+ "grad_norm": 1.2261595726013184,
59
+ "learning_rate": 4.9206349206349204e-05,
60
+ "loss": 0.2676,
61
+ "step": 125
62
+ },
63
+ {
64
+ "epoch": 1.191044776119403,
65
+ "grad_norm": 0.7317036986351013,
66
+ "learning_rate": 5.912698412698413e-05,
67
+ "loss": 0.2117,
68
+ "step": 150
69
+ },
70
+ {
71
+ "epoch": 1.191044776119403,
72
+ "eval_loss": 0.29277661442756653,
73
+ "eval_runtime": 6.7738,
74
+ "eval_samples_per_second": 6.2,
75
+ "eval_steps_per_second": 3.1,
76
+ "step": 150
77
+ },
78
+ {
79
+ "epoch": 1.390049751243781,
80
+ "grad_norm": 0.6499411463737488,
81
+ "learning_rate": 6.904761904761905e-05,
82
+ "loss": 0.2012,
83
+ "step": 175
84
+ },
85
+ {
86
+ "epoch": 1.5890547263681594,
87
+ "grad_norm": 0.5185657143592834,
88
+ "learning_rate": 7.896825396825397e-05,
89
+ "loss": 0.2078,
90
+ "step": 200
91
+ },
92
+ {
93
+ "epoch": 1.5890547263681594,
94
+ "eval_loss": 0.2523292899131775,
95
+ "eval_runtime": 6.7163,
96
+ "eval_samples_per_second": 6.253,
97
+ "eval_steps_per_second": 3.127,
98
+ "step": 200
99
+ },
100
+ {
101
+ "epoch": 1.7880597014925375,
102
+ "grad_norm": 0.5884851217269897,
103
+ "learning_rate": 8.888888888888889e-05,
104
+ "loss": 0.1881,
105
+ "step": 225
106
+ },
107
+ {
108
+ "epoch": 1.9870646766169155,
109
+ "grad_norm": 0.6400936841964722,
110
+ "learning_rate": 9.880952380952381e-05,
111
+ "loss": 0.1796,
112
+ "step": 250
113
+ },
114
+ {
115
+ "epoch": 1.9870646766169155,
116
+ "eval_loss": 0.2420523464679718,
117
+ "eval_runtime": 6.7416,
118
+ "eval_samples_per_second": 6.23,
119
+ "eval_steps_per_second": 3.115,
120
+ "step": 250
121
+ },
122
+ {
123
+ "epoch": 2.183084577114428,
124
+ "grad_norm": 0.6703982949256897,
125
+ "learning_rate": 9.997678517546382e-05,
126
+ "loss": 0.1139,
127
+ "step": 275
128
+ },
129
+ {
130
+ "epoch": 2.382089552238806,
131
+ "grad_norm": 0.6321631669998169,
132
+ "learning_rate": 9.989407561073525e-05,
133
+ "loss": 0.1172,
134
+ "step": 300
135
+ },
136
+ {
137
+ "epoch": 2.382089552238806,
138
+ "eval_loss": 0.2354932576417923,
139
+ "eval_runtime": 6.7603,
140
+ "eval_samples_per_second": 6.213,
141
+ "eval_steps_per_second": 3.106,
142
+ "step": 300
143
+ },
144
+ {
145
+ "epoch": 2.581094527363184,
146
+ "grad_norm": 0.8059718608856201,
147
+ "learning_rate": 9.975153876827008e-05,
148
+ "loss": 0.1069,
149
+ "step": 325
150
+ },
151
+ {
152
+ "epoch": 2.780099502487562,
153
+ "grad_norm": 0.4948858916759491,
154
+ "learning_rate": 9.954934556197257e-05,
155
+ "loss": 0.1151,
156
+ "step": 350
157
+ },
158
+ {
159
+ "epoch": 2.780099502487562,
160
+ "eval_loss": 0.21575972437858582,
161
+ "eval_runtime": 6.7672,
162
+ "eval_samples_per_second": 6.206,
163
+ "eval_steps_per_second": 3.103,
164
+ "step": 350
165
+ },
166
+ {
167
+ "epoch": 2.97910447761194,
168
+ "grad_norm": 0.6088687777519226,
169
+ "learning_rate": 9.928773843884593e-05,
170
+ "loss": 0.1119,
171
+ "step": 375
172
+ },
173
+ {
174
+ "epoch": 3.175124378109453,
175
+ "grad_norm": 0.4257402718067169,
176
+ "learning_rate": 9.896703108827759e-05,
177
+ "loss": 0.0685,
178
+ "step": 400
179
+ },
180
+ {
181
+ "epoch": 3.175124378109453,
182
+ "eval_loss": 0.22026698291301727,
183
+ "eval_runtime": 6.7778,
184
+ "eval_samples_per_second": 6.197,
185
+ "eval_steps_per_second": 3.098,
186
+ "step": 400
187
+ },
188
+ {
189
+ "epoch": 3.374129353233831,
190
+ "grad_norm": 0.7841633558273315,
191
+ "learning_rate": 9.85876080658986e-05,
192
+ "loss": 0.0618,
193
+ "step": 425
194
+ },
195
+ {
196
+ "epoch": 3.573134328358209,
197
+ "grad_norm": 0.49762266874313354,
198
+ "learning_rate": 9.814992433246858e-05,
199
+ "loss": 0.0674,
200
+ "step": 450
201
+ },
202
+ {
203
+ "epoch": 3.573134328358209,
204
+ "eval_loss": 0.22196471691131592,
205
+ "eval_runtime": 6.7554,
206
+ "eval_samples_per_second": 6.217,
207
+ "eval_steps_per_second": 3.109,
208
+ "step": 450
209
+ },
210
+ {
211
+ "epoch": 3.772139303482587,
212
+ "grad_norm": 0.4496731758117676,
213
+ "learning_rate": 9.765450470833865e-05,
214
+ "loss": 0.0669,
215
+ "step": 475
216
+ },
217
+ {
218
+ "epoch": 3.9711442786069653,
219
+ "grad_norm": 0.6780857443809509,
220
+ "learning_rate": 9.710194324414683e-05,
221
+ "loss": 0.0731,
222
+ "step": 500
223
+ },
224
+ {
225
+ "epoch": 3.9711442786069653,
226
+ "eval_loss": 0.2176351547241211,
227
+ "eval_runtime": 6.8114,
228
+ "eval_samples_per_second": 6.166,
229
+ "eval_steps_per_second": 3.083,
230
+ "step": 500
231
+ },
232
+ {
233
+ "epoch": 4.167164179104478,
234
+ "grad_norm": 0.5854173898696899,
235
+ "learning_rate": 9.649290250850029e-05,
236
+ "loss": 0.0452,
237
+ "step": 525
238
+ },
239
+ {
240
+ "epoch": 4.366169154228856,
241
+ "grad_norm": 0.6070399284362793,
242
+ "learning_rate": 9.582811279349882e-05,
243
+ "loss": 0.0426,
244
+ "step": 550
245
+ },
246
+ {
247
+ "epoch": 4.366169154228856,
248
+ "eval_loss": 0.24056479334831238,
249
+ "eval_runtime": 6.7662,
250
+ "eval_samples_per_second": 6.207,
251
+ "eval_steps_per_second": 3.104,
252
+ "step": 550
253
+ },
254
+ {
255
+ "epoch": 4.565174129353234,
256
+ "grad_norm": 0.4359109103679657,
257
+ "learning_rate": 9.51083712390519e-05,
258
+ "loss": 0.047,
259
+ "step": 575
260
+ },
261
+ {
262
+ "epoch": 4.764179104477612,
263
+ "grad_norm": 0.6713975071907043,
264
+ "learning_rate": 9.433454087703954e-05,
265
+ "loss": 0.0489,
266
+ "step": 600
267
+ },
268
+ {
269
+ "epoch": 4.764179104477612,
270
+ "eval_loss": 0.23347003757953644,
271
+ "eval_runtime": 6.83,
272
+ "eval_samples_per_second": 6.149,
273
+ "eval_steps_per_second": 3.075,
274
+ "step": 600
275
+ },
276
+ {
277
+ "epoch": 4.96318407960199,
278
+ "grad_norm": 0.4408963918685913,
279
+ "learning_rate": 9.350754959646306e-05,
280
+ "loss": 0.0482,
281
+ "step": 625
282
+ },
283
+ {
284
+ "epoch": 5.159203980099503,
285
+ "grad_norm": 0.6063380241394043,
286
+ "learning_rate": 9.26283890308265e-05,
287
+ "loss": 0.0329,
288
+ "step": 650
289
+ },
290
+ {
291
+ "epoch": 5.159203980099503,
292
+ "eval_loss": 0.2555783689022064,
293
+ "eval_runtime": 6.7811,
294
+ "eval_samples_per_second": 6.194,
295
+ "eval_steps_per_second": 3.097,
296
+ "step": 650
297
+ },
298
+ {
299
+ "epoch": 5.358208955223881,
300
+ "grad_norm": 0.3942003846168518,
301
+ "learning_rate": 9.169811336908296e-05,
302
+ "loss": 0.0307,
303
+ "step": 675
304
+ },
305
+ {
306
+ "epoch": 5.557213930348259,
307
+ "grad_norm": 0.44800761342048645,
308
+ "learning_rate": 9.071783809157167e-05,
309
+ "loss": 0.0298,
310
+ "step": 700
311
+ },
312
+ {
313
+ "epoch": 5.557213930348259,
314
+ "eval_loss": 0.253120094537735,
315
+ "eval_runtime": 6.763,
316
+ "eval_samples_per_second": 6.21,
317
+ "eval_steps_per_second": 3.105,
318
+ "step": 700
319
+ },
320
+ {
321
+ "epoch": 5.756218905472637,
322
+ "grad_norm": 0.2204218953847885,
323
+ "learning_rate": 8.968873863246128e-05,
324
+ "loss": 0.0325,
325
+ "step": 725
326
+ },
327
+ {
328
+ "epoch": 5.955223880597015,
329
+ "grad_norm": 0.3857346773147583,
330
+ "learning_rate": 8.861204897030346e-05,
331
+ "loss": 0.033,
332
+ "step": 750
333
+ },
334
+ {
335
+ "epoch": 5.955223880597015,
336
+ "eval_loss": 0.2424595206975937,
337
+ "eval_runtime": 6.7501,
338
+ "eval_samples_per_second": 6.222,
339
+ "eval_steps_per_second": 3.111,
340
+ "step": 750
341
+ },
342
+ {
343
+ "epoch": 6.151243781094528,
344
+ "grad_norm": 0.4148959517478943,
345
+ "learning_rate": 8.748906014838672e-05,
346
+ "loss": 0.0234,
347
+ "step": 775
348
+ },
349
+ {
350
+ "epoch": 6.350248756218906,
351
+ "grad_norm": 0.32743915915489197,
352
+ "learning_rate": 8.632111872666475e-05,
353
+ "loss": 0.021,
354
+ "step": 800
355
+ },
356
+ {
357
+ "epoch": 6.350248756218906,
358
+ "eval_loss": 0.2568890154361725,
359
+ "eval_runtime": 6.7623,
360
+ "eval_samples_per_second": 6.211,
361
+ "eval_steps_per_second": 3.105,
362
+ "step": 800
363
+ },
364
+ {
365
+ "epoch": 6.549253731343284,
366
+ "grad_norm": 0.3489019274711609,
367
+ "learning_rate": 8.510962516711546e-05,
368
+ "loss": 0.0213,
369
+ "step": 825
370
+ },
371
+ {
372
+ "epoch": 6.748258706467662,
373
+ "grad_norm": 0.3466608226299286,
374
+ "learning_rate": 8.385603215446704e-05,
375
+ "loss": 0.0237,
376
+ "step": 850
377
+ },
378
+ {
379
+ "epoch": 6.748258706467662,
380
+ "eval_loss": 0.26632529497146606,
381
+ "eval_runtime": 6.7153,
382
+ "eval_samples_per_second": 6.254,
383
+ "eval_steps_per_second": 3.127,
384
+ "step": 850
385
+ },
386
+ {
387
+ "epoch": 6.94726368159204,
388
+ "grad_norm": 0.3111066222190857,
389
+ "learning_rate": 8.256184285430409e-05,
390
+ "loss": 0.0245,
391
+ "step": 875
392
+ },
393
+ {
394
+ "epoch": 7.143283582089552,
395
+ "grad_norm": 0.22405096888542175,
396
+ "learning_rate": 8.122860911064333e-05,
397
+ "loss": 0.0179,
398
+ "step": 900
399
+ },
400
+ {
401
+ "epoch": 7.143283582089552,
402
+ "eval_loss": 0.285622239112854,
403
+ "eval_runtime": 6.7714,
404
+ "eval_samples_per_second": 6.203,
405
+ "eval_steps_per_second": 3.101,
406
+ "step": 900
407
+ },
408
+ {
409
+ "epoch": 7.34228855721393,
410
+ "grad_norm": 0.21382500231266022,
411
+ "learning_rate": 7.985792958513931e-05,
412
+ "loss": 0.0163,
413
+ "step": 925
414
+ },
415
+ {
416
+ "epoch": 7.541293532338308,
417
+ "grad_norm": 0.29507020115852356,
418
+ "learning_rate": 7.845144784015203e-05,
419
+ "loss": 0.0165,
420
+ "step": 950
421
+ },
422
+ {
423
+ "epoch": 7.541293532338308,
424
+ "eval_loss": 0.2754693627357483,
425
+ "eval_runtime": 6.8303,
426
+ "eval_samples_per_second": 6.149,
427
+ "eval_steps_per_second": 3.075,
428
+ "step": 950
429
+ },
430
+ {
431
+ "epoch": 7.740298507462686,
432
+ "grad_norm": 0.320900022983551,
433
+ "learning_rate": 7.701085036797461e-05,
434
+ "loss": 0.0171,
435
+ "step": 975
436
+ },
437
+ {
438
+ "epoch": 7.939303482587064,
439
+ "grad_norm": 0.1665511578321457,
440
+ "learning_rate": 7.553786456858429e-05,
441
+ "loss": 0.0173,
442
+ "step": 1000
443
+ },
444
+ {
445
+ "epoch": 7.939303482587064,
446
+ "eval_loss": 0.2736968398094177,
447
+ "eval_runtime": 6.7238,
448
+ "eval_samples_per_second": 6.247,
449
+ "eval_steps_per_second": 3.123,
450
+ "step": 1000
451
+ },
452
+ {
453
+ "epoch": 8.135323383084577,
454
+ "grad_norm": 0.3113134503364563,
455
+ "learning_rate": 7.403425667834164e-05,
456
+ "loss": 0.0133,
457
+ "step": 1025
458
+ },
459
+ {
460
+ "epoch": 8.334328358208955,
461
+ "grad_norm": 0.2369716763496399,
462
+ "learning_rate": 7.250182965212168e-05,
463
+ "loss": 0.0123,
464
+ "step": 1050
465
+ },
466
+ {
467
+ "epoch": 8.334328358208955,
468
+ "eval_loss": 0.28673774003982544,
469
+ "eval_runtime": 6.851,
470
+ "eval_samples_per_second": 6.131,
471
+ "eval_steps_per_second": 3.065,
472
+ "step": 1050
473
+ },
474
+ {
475
+ "epoch": 8.533333333333333,
476
+ "grad_norm": 0.1607227623462677,
477
+ "learning_rate": 7.094242100141625e-05,
478
+ "loss": 0.0128,
479
+ "step": 1075
480
+ },
481
+ {
482
+ "epoch": 8.732338308457711,
483
+ "grad_norm": 0.18972866237163544,
484
+ "learning_rate": 6.935790059100003e-05,
485
+ "loss": 0.0124,
486
+ "step": 1100
487
+ },
488
+ {
489
+ "epoch": 8.732338308457711,
490
+ "eval_loss": 0.2650262713432312,
491
+ "eval_runtime": 6.7801,
492
+ "eval_samples_per_second": 6.195,
493
+ "eval_steps_per_second": 3.097,
494
+ "step": 1100
495
+ }
496
+ ],
497
+ "logging_steps": 25,
498
+ "max_steps": 2520,
499
+ "num_input_tokens_seen": 0,
500
+ "num_train_epochs": 20,
501
+ "save_steps": 50,
502
+ "stateful_callbacks": {
503
+ "TrainerControl": {
504
+ "args": {
505
+ "should_epoch_stop": false,
506
+ "should_evaluate": false,
507
+ "should_log": false,
508
+ "should_save": true,
509
+ "should_training_stop": false
510
+ },
511
+ "attributes": {}
512
+ }
513
+ },
514
+ "total_flos": 3.537091121936978e+17,
515
+ "train_batch_size": 2,
516
+ "trial_name": null,
517
+ "trial_params": null
518
+ }
checkpoints-ocr-only/checkpoint-1100/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07baa04e423886873e69f97242e133a08112d8355ffd13914f2af0b6219a235d
3
+ size 6289