ebadhussain20 commited on
Commit
39a2213
·
verified ·
1 Parent(s): 4d3248e

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ checkpoint-1000/tokenizer.json filter=lfs diff=lfs merge=lfs -text
37
+ checkpoint-500/tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: unsloth/qwen2-vl-7b-instruct-unsloth-bnb-4bit
3
+ library_name: transformers
4
+ model_name: outputs
5
+ tags:
6
+ - generated_from_trainer
7
+ - unsloth
8
+ - trl
9
+ - sft
10
+ licence: license
11
+ ---
12
+
13
+ # Model Card for outputs
14
+
15
+ This model is a fine-tuned version of [unsloth/qwen2-vl-7b-instruct-unsloth-bnb-4bit](https://huggingface.co/unsloth/qwen2-vl-7b-instruct-unsloth-bnb-4bit).
16
+ It has been trained using [TRL](https://github.com/huggingface/trl).
17
+
18
+ ## Quick start
19
+
20
+ ```python
21
+ from transformers import pipeline
22
+
23
+ question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
24
+ generator = pipeline("text-generation", model="None", device="cuda")
25
+ output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
26
+ print(output["generated_text"])
27
+ ```
28
+
29
+ ## Training procedure
30
+
31
+
32
+
33
+
34
+ This model was trained with SFT.
35
+
36
+ ### Framework versions
37
+
38
+ - TRL: 0.24.0
39
+ - Transformers: 5.5.0
40
+ - Pytorch: 2.10.0+cu128
41
+ - Datasets: 4.3.0
42
+ - Tokenizers: 0.22.2
43
+
44
+ ## Citations
45
+
46
+
47
+
48
+ Cite TRL as:
49
+
50
+ ```bibtex
51
+ @misc{vonwerra2022trl,
52
+ title = {{TRL: Transformer Reinforcement Learning}},
53
+ author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallou{\'e}dec},
54
+ year = 2020,
55
+ journal = {GitHub repository},
56
+ publisher = {GitHub},
57
+ howpublished = {\url{https://github.com/huggingface/trl}}
58
+ }
59
+ ```
checkpoint-1000/README.md ADDED
@@ -0,0 +1,210 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: unsloth/qwen2-vl-7b-instruct-unsloth-bnb-4bit
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:unsloth/qwen2-vl-7b-instruct-unsloth-bnb-4bit
7
+ - lora
8
+ - sft
9
+ - transformers
10
+ - trl
11
+ - unsloth
12
+ ---
13
+
14
+ # Model Card for Model ID
15
+
16
+ <!-- Provide a quick summary of what the model is/does. -->
17
+
18
+
19
+
20
+ ## Model Details
21
+
22
+ ### Model Description
23
+
24
+ <!-- Provide a longer summary of what this model is. -->
25
+
26
+
27
+
28
+ - **Developed by:** [More Information Needed]
29
+ - **Funded by [optional]:** [More Information Needed]
30
+ - **Shared by [optional]:** [More Information Needed]
31
+ - **Model type:** [More Information Needed]
32
+ - **Language(s) (NLP):** [More Information Needed]
33
+ - **License:** [More Information Needed]
34
+ - **Finetuned from model [optional]:** [More Information Needed]
35
+
36
+ ### Model Sources [optional]
37
+
38
+ <!-- Provide the basic links for the model. -->
39
+
40
+ - **Repository:** [More Information Needed]
41
+ - **Paper [optional]:** [More Information Needed]
42
+ - **Demo [optional]:** [More Information Needed]
43
+
44
+ ## Uses
45
+
46
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
47
+
48
+ ### Direct Use
49
+
50
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
51
+
52
+ [More Information Needed]
53
+
54
+ ### Downstream Use [optional]
55
+
56
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
57
+
58
+ [More Information Needed]
59
+
60
+ ### Out-of-Scope Use
61
+
62
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
63
+
64
+ [More Information Needed]
65
+
66
+ ## Bias, Risks, and Limitations
67
+
68
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
69
+
70
+ [More Information Needed]
71
+
72
+ ### Recommendations
73
+
74
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
75
+
76
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
77
+
78
+ ## How to Get Started with the Model
79
+
80
+ Use the code below to get started with the model.
81
+
82
+ [More Information Needed]
83
+
84
+ ## Training Details
85
+
86
+ ### Training Data
87
+
88
+ <!-- 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. -->
89
+
90
+ [More Information Needed]
91
+
92
+ ### Training Procedure
93
+
94
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
95
+
96
+ #### Preprocessing [optional]
97
+
98
+ [More Information Needed]
99
+
100
+
101
+ #### Training Hyperparameters
102
+
103
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
104
+
105
+ #### Speeds, Sizes, Times [optional]
106
+
107
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
108
+
109
+ [More Information Needed]
110
+
111
+ ## Evaluation
112
+
113
+ <!-- This section describes the evaluation protocols and provides the results. -->
114
+
115
+ ### Testing Data, Factors & Metrics
116
+
117
+ #### Testing Data
118
+
119
+ <!-- This should link to a Dataset Card if possible. -->
120
+
121
+ [More Information Needed]
122
+
123
+ #### Factors
124
+
125
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
126
+
127
+ [More Information Needed]
128
+
129
+ #### Metrics
130
+
131
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
132
+
133
+ [More Information Needed]
134
+
135
+ ### Results
136
+
137
+ [More Information Needed]
138
+
139
+ #### Summary
140
+
141
+
142
+
143
+ ## Model Examination [optional]
144
+
145
+ <!-- Relevant interpretability work for the model goes here -->
146
+
147
+ [More Information Needed]
148
+
149
+ ## Environmental Impact
150
+
151
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
152
+
153
+ 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).
154
+
155
+ - **Hardware Type:** [More Information Needed]
156
+ - **Hours used:** [More Information Needed]
157
+ - **Cloud Provider:** [More Information Needed]
158
+ - **Compute Region:** [More Information Needed]
159
+ - **Carbon Emitted:** [More Information Needed]
160
+
161
+ ## Technical Specifications [optional]
162
+
163
+ ### Model Architecture and Objective
164
+
165
+ [More Information Needed]
166
+
167
+ ### Compute Infrastructure
168
+
169
+ [More Information Needed]
170
+
171
+ #### Hardware
172
+
173
+ [More Information Needed]
174
+
175
+ #### Software
176
+
177
+ [More Information Needed]
178
+
179
+ ## Citation [optional]
180
+
181
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
182
+
183
+ **BibTeX:**
184
+
185
+ [More Information Needed]
186
+
187
+ **APA:**
188
+
189
+ [More Information Needed]
190
+
191
+ ## Glossary [optional]
192
+
193
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
194
+
195
+ [More Information Needed]
196
+
197
+ ## More Information [optional]
198
+
199
+ [More Information Needed]
200
+
201
+ ## Model Card Authors [optional]
202
+
203
+ [More Information Needed]
204
+
205
+ ## Model Card Contact
206
+
207
+ [More Information Needed]
208
+ ### Framework versions
209
+
210
+ - PEFT 0.18.1
checkpoint-1000/adapter_config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": {
6
+ "base_model_class": "Qwen2VLForConditionalGeneration",
7
+ "parent_library": "transformers.models.qwen2_vl.modeling_qwen2_vl",
8
+ "unsloth_fixed": true
9
+ },
10
+ "base_model_name_or_path": "unsloth/qwen2-vl-7b-instruct-unsloth-bnb-4bit",
11
+ "bias": "none",
12
+ "corda_config": null,
13
+ "ensure_weight_tying": false,
14
+ "eva_config": null,
15
+ "exclude_modules": null,
16
+ "fan_in_fan_out": false,
17
+ "inference_mode": true,
18
+ "init_lora_weights": true,
19
+ "layer_replication": null,
20
+ "layers_pattern": null,
21
+ "layers_to_transform": null,
22
+ "loftq_config": {},
23
+ "lora_alpha": 32,
24
+ "lora_bias": false,
25
+ "lora_dropout": 0.05,
26
+ "megatron_config": null,
27
+ "megatron_core": "megatron.core",
28
+ "modules_to_save": null,
29
+ "peft_type": "LORA",
30
+ "peft_version": "0.18.1",
31
+ "qalora_group_size": 16,
32
+ "r": 32,
33
+ "rank_pattern": {},
34
+ "revision": null,
35
+ "target_modules": "(?:.*?(?:vision|image|visual|patch|language|text).*?(?:self_attn|attention|attn|mlp|feed_forward|ffn|dense).*?(?:qkv|proj|fc1|fc2|q_proj|k_proj|v_proj|o_proj|gate_proj|up_proj|down_proj).*?)|(?:\\bmodel\\.layers\\.[\\d]{1,}\\.(?:self_attn|attention|attn|mlp|feed_forward|ffn|dense)\\.(?:(?:qkv|proj|fc1|fc2|q_proj|k_proj|v_proj|o_proj|gate_proj|up_proj|down_proj)))",
36
+ "target_parameters": null,
37
+ "task_type": "CAUSAL_LM",
38
+ "trainable_token_indices": null,
39
+ "use_dora": false,
40
+ "use_qalora": false,
41
+ "use_rslora": true
42
+ }
checkpoint-1000/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:474d3d1e58569ec2f4b79957cc98c210785c5842d7a6fa2d13b8a282329516e7
3
+ size 406940800
checkpoint-1000/chat_template.jinja ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {% set image_count = namespace(value=0) %}{% set video_count = namespace(value=0) %}{% for message in messages %}{% if loop.first and message['role'] != 'system' %}<|im_start|>system
2
+ You are a helpful assistant.<|im_end|>
3
+ {% endif %}<|im_start|>{{ message['role'] }}
4
+ {% if message['content'] is string %}{{ message['content'] }}<|im_end|>
5
+ {% else %}{% for content in message['content'] %}{% if content['type'] == 'image' or 'image' in content or 'image_url' in content %}{% set image_count.value = image_count.value + 1 %}{% if add_vision_id %}Picture {{ image_count.value }}: {% endif %}<|vision_start|><|image_pad|><|vision_end|>{% elif content['type'] == 'video' or 'video' in content %}{% set video_count.value = video_count.value + 1 %}{% if add_vision_id %}Video {{ video_count.value }}: {% endif %}<|vision_start|><|video_pad|><|vision_end|>{% elif 'text' in content %}{{ content['text'] }}{% endif %}{% endfor %}<|im_end|>
6
+ {% endif %}{% endfor %}{% if add_generation_prompt %}<|im_start|>assistant
7
+ {% endif %}
checkpoint-1000/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:75556381ef5d191e0746bc4a71748c2b9b59b52f98b2baa548ef0beaf60b37b9
3
+ size 207370053
checkpoint-1000/processor_config.json ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "image_processor": {
3
+ "do_convert_rgb": true,
4
+ "do_normalize": true,
5
+ "do_rescale": true,
6
+ "do_resize": true,
7
+ "image_mean": [
8
+ 0.48145466,
9
+ 0.4578275,
10
+ 0.40821073
11
+ ],
12
+ "image_processor_type": "Qwen2VLImageProcessor",
13
+ "image_std": [
14
+ 0.26862954,
15
+ 0.26130258,
16
+ 0.27577711
17
+ ],
18
+ "merge_size": 2,
19
+ "patch_size": 14,
20
+ "resample": 3,
21
+ "rescale_factor": 0.00392156862745098,
22
+ "size": {
23
+ "longest_edge": 12845056,
24
+ "shortest_edge": 3136
25
+ },
26
+ "temporal_patch_size": 2
27
+ },
28
+ "processor_class": "Qwen2VLProcessor",
29
+ "video_processor": {
30
+ "do_convert_rgb": true,
31
+ "do_normalize": true,
32
+ "do_rescale": true,
33
+ "do_resize": true,
34
+ "do_sample_frames": false,
35
+ "image_mean": [
36
+ 0.48145466,
37
+ 0.4578275,
38
+ 0.40821073
39
+ ],
40
+ "image_std": [
41
+ 0.26862954,
42
+ 0.26130258,
43
+ 0.27577711
44
+ ],
45
+ "max_frames": 768,
46
+ "merge_size": 2,
47
+ "min_frames": 4,
48
+ "patch_size": 14,
49
+ "resample": 3,
50
+ "rescale_factor": 0.00392156862745098,
51
+ "return_metadata": false,
52
+ "size": {
53
+ "longest_edge": 12845056,
54
+ "shortest_edge": 3136
55
+ },
56
+ "temporal_patch_size": 2,
57
+ "video_processor_type": "Qwen2VLVideoProcessor"
58
+ }
59
+ }
checkpoint-1000/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:86a6d38aa76faf25886c5a519652a6e7d52485aacebed4b2829334ce697567f2
3
+ size 14645
checkpoint-1000/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0ca29ceaa1ac87639bc24d09680a228e1ce164b6f4aa0b5f1189196aad30d93f
3
+ size 1383
checkpoint-1000/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0370e98dcbbb78a1ab8df351489ef9d954ac3d692209d59f0769a680f7d16ce0
3
+ size 1465
checkpoint-1000/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aa6cece1f053a10ac3c40f3291915abf22aad42f24c687143a79250a9b138186
3
+ size 11420635
checkpoint-1000/tokenizer_config.json ADDED
@@ -0,0 +1,130 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": null,
5
+ "clean_up_tokenization_spaces": false,
6
+ "eos_token": "<|im_end|>",
7
+ "errors": "replace",
8
+ "is_local": false,
9
+ "model_max_length": 32768,
10
+ "pad_token": "<|vision_pad|>",
11
+ "padding_side": "right",
12
+ "processor_class": "Qwen2VLProcessor",
13
+ "split_special_tokens": false,
14
+ "tokenizer_class": "Qwen2Tokenizer",
15
+ "unk_token": null,
16
+ "added_tokens_decoder": {
17
+ "151643": {
18
+ "content": "<|endoftext|>",
19
+ "single_word": false,
20
+ "lstrip": false,
21
+ "rstrip": false,
22
+ "normalized": false,
23
+ "special": true
24
+ },
25
+ "151644": {
26
+ "content": "<|im_start|>",
27
+ "single_word": false,
28
+ "lstrip": false,
29
+ "rstrip": false,
30
+ "normalized": false,
31
+ "special": true
32
+ },
33
+ "151645": {
34
+ "content": "<|im_end|>",
35
+ "single_word": false,
36
+ "lstrip": false,
37
+ "rstrip": false,
38
+ "normalized": false,
39
+ "special": true
40
+ },
41
+ "151646": {
42
+ "content": "<|object_ref_start|>",
43
+ "single_word": false,
44
+ "lstrip": false,
45
+ "rstrip": false,
46
+ "normalized": false,
47
+ "special": true
48
+ },
49
+ "151647": {
50
+ "content": "<|object_ref_end|>",
51
+ "single_word": false,
52
+ "lstrip": false,
53
+ "rstrip": false,
54
+ "normalized": false,
55
+ "special": true
56
+ },
57
+ "151648": {
58
+ "content": "<|box_start|>",
59
+ "single_word": false,
60
+ "lstrip": false,
61
+ "rstrip": false,
62
+ "normalized": false,
63
+ "special": true
64
+ },
65
+ "151649": {
66
+ "content": "<|box_end|>",
67
+ "single_word": false,
68
+ "lstrip": false,
69
+ "rstrip": false,
70
+ "normalized": false,
71
+ "special": true
72
+ },
73
+ "151650": {
74
+ "content": "<|quad_start|>",
75
+ "single_word": false,
76
+ "lstrip": false,
77
+ "rstrip": false,
78
+ "normalized": false,
79
+ "special": true
80
+ },
81
+ "151651": {
82
+ "content": "<|quad_end|>",
83
+ "single_word": false,
84
+ "lstrip": false,
85
+ "rstrip": false,
86
+ "normalized": false,
87
+ "special": true
88
+ },
89
+ "151652": {
90
+ "content": "<|vision_start|>",
91
+ "single_word": false,
92
+ "lstrip": false,
93
+ "rstrip": false,
94
+ "normalized": false,
95
+ "special": true
96
+ },
97
+ "151653": {
98
+ "content": "<|vision_end|>",
99
+ "single_word": false,
100
+ "lstrip": false,
101
+ "rstrip": false,
102
+ "normalized": false,
103
+ "special": true
104
+ },
105
+ "151654": {
106
+ "content": "<|vision_pad|>",
107
+ "single_word": false,
108
+ "lstrip": false,
109
+ "rstrip": false,
110
+ "normalized": false,
111
+ "special": true
112
+ },
113
+ "151655": {
114
+ "content": "<|image_pad|>",
115
+ "single_word": false,
116
+ "lstrip": false,
117
+ "rstrip": false,
118
+ "normalized": false,
119
+ "special": true
120
+ },
121
+ "151656": {
122
+ "content": "<|video_pad|>",
123
+ "single_word": false,
124
+ "lstrip": false,
125
+ "rstrip": false,
126
+ "normalized": false,
127
+ "special": true
128
+ }
129
+ }
130
+ }
checkpoint-1000/trainer_state.json ADDED
@@ -0,0 +1,750 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 0.3066073892380806,
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.0030660738923808063,
14
+ "grad_norm": 6.463604927062988,
15
+ "learning_rate": 3e-05,
16
+ "loss": 2.0649938583374023,
17
+ "step": 10
18
+ },
19
+ {
20
+ "epoch": 0.006132147784761613,
21
+ "grad_norm": 2.519343376159668,
22
+ "learning_rate": 6.333333333333333e-05,
23
+ "loss": 0.6487368106842041,
24
+ "step": 20
25
+ },
26
+ {
27
+ "epoch": 0.00919822167714242,
28
+ "grad_norm": 2.0815188884735107,
29
+ "learning_rate": 9.666666666666667e-05,
30
+ "loss": 0.4268790245056152,
31
+ "step": 30
32
+ },
33
+ {
34
+ "epoch": 0.012264295569523225,
35
+ "grad_norm": 2.200076103210449,
36
+ "learning_rate": 9.997876019358084e-05,
37
+ "loss": 0.4950988292694092,
38
+ "step": 40
39
+ },
40
+ {
41
+ "epoch": 0.015330369461904032,
42
+ "grad_norm": NaN,
43
+ "learning_rate": 9.990536180750725e-05,
44
+ "loss": 0.38702518939971925,
45
+ "step": 50
46
+ },
47
+ {
48
+ "epoch": 0.01839644335428484,
49
+ "grad_norm": 3.5303149223327637,
50
+ "learning_rate": 9.979454595377594e-05,
51
+ "loss": 0.38945512771606444,
52
+ "step": 60
53
+ },
54
+ {
55
+ "epoch": 0.021462517246665643,
56
+ "grad_norm": 2.4383182525634766,
57
+ "learning_rate": 9.962180548552812e-05,
58
+ "loss": 0.347108793258667,
59
+ "step": 70
60
+ },
61
+ {
62
+ "epoch": 0.02452859113904645,
63
+ "grad_norm": 2.1036343574523926,
64
+ "learning_rate": 9.93970185956522e-05,
65
+ "loss": 0.3986814498901367,
66
+ "step": 80
67
+ },
68
+ {
69
+ "epoch": 0.027594665031427257,
70
+ "grad_norm": 1.6441606283187866,
71
+ "learning_rate": 9.912042105455463e-05,
72
+ "loss": 0.37169671058654785,
73
+ "step": 90
74
+ },
75
+ {
76
+ "epoch": 0.030660738923808065,
77
+ "grad_norm": 2.6629977226257324,
78
+ "learning_rate": 9.879230297486034e-05,
79
+ "loss": 0.34605844020843507,
80
+ "step": 100
81
+ },
82
+ {
83
+ "epoch": 0.03372681281618887,
84
+ "grad_norm": 2.6391377449035645,
85
+ "learning_rate": 9.84130085071248e-05,
86
+ "loss": 0.36542038917541503,
87
+ "step": 110
88
+ },
89
+ {
90
+ "epoch": 0.03679288670856968,
91
+ "grad_norm": 3.362105369567871,
92
+ "learning_rate": 9.798293547886748e-05,
93
+ "loss": 0.3803835391998291,
94
+ "step": 120
95
+ },
96
+ {
97
+ "epoch": 0.03985896060095048,
98
+ "grad_norm": 2.1621932983398438,
99
+ "learning_rate": 9.75025349773058e-05,
100
+ "loss": 0.4530525207519531,
101
+ "step": 130
102
+ },
103
+ {
104
+ "epoch": 0.042925034493331286,
105
+ "grad_norm": 2.627958059310913,
106
+ "learning_rate": 9.697231087622691e-05,
107
+ "loss": 0.36589229106903076,
108
+ "step": 140
109
+ },
110
+ {
111
+ "epoch": 0.0459911083857121,
112
+ "grad_norm": 1.6088377237319946,
113
+ "learning_rate": 9.639281930749362e-05,
114
+ "loss": 0.31213700771331787,
115
+ "step": 150
116
+ },
117
+ {
118
+ "epoch": 0.0490571822780929,
119
+ "grad_norm": 1.5474679470062256,
120
+ "learning_rate": 9.576466807773899e-05,
121
+ "loss": 0.3281474351882935,
122
+ "step": 160
123
+ },
124
+ {
125
+ "epoch": 0.05212325617047371,
126
+ "grad_norm": 1.3999106884002686,
127
+ "learning_rate": 9.508851603086093e-05,
128
+ "loss": 0.35131995677947997,
129
+ "step": 170
130
+ },
131
+ {
132
+ "epoch": 0.055189330062854515,
133
+ "grad_norm": 1.9967105388641357,
134
+ "learning_rate": 9.436507235698612e-05,
135
+ "loss": 0.31531903743743894,
136
+ "step": 180
137
+ },
138
+ {
139
+ "epoch": 0.05825540395523532,
140
+ "grad_norm": 2.9993176460266113,
141
+ "learning_rate": 9.359509584862736e-05,
142
+ "loss": 0.26261985301971436,
143
+ "step": 190
144
+ },
145
+ {
146
+ "epoch": 0.06132147784761613,
147
+ "grad_norm": 1.4354274272918701,
148
+ "learning_rate": 9.277939410481507e-05,
149
+ "loss": 0.3162971258163452,
150
+ "step": 200
151
+ },
152
+ {
153
+ "epoch": 0.06438755173999694,
154
+ "grad_norm": 2.0348236560821533,
155
+ "learning_rate": 9.191882268403743e-05,
156
+ "loss": 0.26198928356170653,
157
+ "step": 210
158
+ },
159
+ {
160
+ "epoch": 0.06745362563237774,
161
+ "grad_norm": 2.0107932090759277,
162
+ "learning_rate": 9.101428420687759e-05,
163
+ "loss": 0.288555383682251,
164
+ "step": 220
165
+ },
166
+ {
167
+ "epoch": 0.07051969952475855,
168
+ "grad_norm": 1.9315687417984009,
169
+ "learning_rate": 9.006672740928952e-05,
170
+ "loss": 0.35857889652252195,
171
+ "step": 230
172
+ },
173
+ {
174
+ "epoch": 0.07358577341713936,
175
+ "grad_norm": 1.3544338941574097,
176
+ "learning_rate": 8.907714614750473e-05,
177
+ "loss": 0.25970749855041503,
178
+ "step": 240
179
+ },
180
+ {
181
+ "epoch": 0.07665184730952015,
182
+ "grad_norm": 1.7664729356765747,
183
+ "learning_rate": 8.804657835561456e-05,
184
+ "loss": 0.29544668197631835,
185
+ "step": 250
186
+ },
187
+ {
188
+ "epoch": 0.07971792120190097,
189
+ "grad_norm": 1.9215457439422607,
190
+ "learning_rate": 8.697610495692054e-05,
191
+ "loss": 0.33899190425872805,
192
+ "step": 260
193
+ },
194
+ {
195
+ "epoch": 0.08278399509428178,
196
+ "grad_norm": 1.5529381036758423,
197
+ "learning_rate": 8.586684873019513e-05,
198
+ "loss": 0.2658397674560547,
199
+ "step": 270
200
+ },
201
+ {
202
+ "epoch": 0.08585006898666257,
203
+ "grad_norm": 2.47896409034729,
204
+ "learning_rate": 8.471997313204181e-05,
205
+ "loss": 0.3443256139755249,
206
+ "step": 280
207
+ },
208
+ {
209
+ "epoch": 0.08891614287904338,
210
+ "grad_norm": 1.9302890300750732,
211
+ "learning_rate": 8.353668107658984e-05,
212
+ "loss": 0.3534022331237793,
213
+ "step": 290
214
+ },
215
+ {
216
+ "epoch": 0.0919822167714242,
217
+ "grad_norm": 2.2252399921417236,
218
+ "learning_rate": 8.231821367380335e-05,
219
+ "loss": 0.35457937717437743,
220
+ "step": 300
221
+ },
222
+ {
223
+ "epoch": 0.095048290663805,
224
+ "grad_norm": 2.3081650733947754,
225
+ "learning_rate": 8.106584892772844e-05,
226
+ "loss": 0.3248718738555908,
227
+ "step": 310
228
+ },
229
+ {
230
+ "epoch": 0.0981143645561858,
231
+ "grad_norm": 3.013239622116089,
232
+ "learning_rate": 7.978090039604341e-05,
233
+ "loss": 0.26280434131622316,
234
+ "step": 320
235
+ },
236
+ {
237
+ "epoch": 0.10118043844856661,
238
+ "grad_norm": 1.452308177947998,
239
+ "learning_rate": 7.846471581231814e-05,
240
+ "loss": 0.33978819847106934,
241
+ "step": 330
242
+ },
243
+ {
244
+ "epoch": 0.10424651234094742,
245
+ "grad_norm": 1.2837029695510864,
246
+ "learning_rate": 7.711867567242768e-05,
247
+ "loss": 0.23912310600280762,
248
+ "step": 340
249
+ },
250
+ {
251
+ "epoch": 0.10731258623332822,
252
+ "grad_norm": 2.579188108444214,
253
+ "learning_rate": 7.574419178660268e-05,
254
+ "loss": 0.2820066213607788,
255
+ "step": 350
256
+ },
257
+ {
258
+ "epoch": 0.11037866012570903,
259
+ "grad_norm": 2.5270886421203613,
260
+ "learning_rate": 7.434270579863548e-05,
261
+ "loss": 0.24370906352996827,
262
+ "step": 360
263
+ },
264
+ {
265
+ "epoch": 0.11344473401808984,
266
+ "grad_norm": 2.0890889167785645,
267
+ "learning_rate": 7.291568767379484e-05,
268
+ "loss": 0.3170176029205322,
269
+ "step": 370
270
+ },
271
+ {
272
+ "epoch": 0.11651080791047064,
273
+ "grad_norm": 2.405902624130249,
274
+ "learning_rate": 7.146463415703531e-05,
275
+ "loss": 0.27828273773193357,
276
+ "step": 380
277
+ },
278
+ {
279
+ "epoch": 0.11957688180285145,
280
+ "grad_norm": 2.189697265625,
281
+ "learning_rate": 6.999106720311845e-05,
282
+ "loss": 0.314092755317688,
283
+ "step": 390
284
+ },
285
+ {
286
+ "epoch": 0.12264295569523226,
287
+ "grad_norm": 2.0553412437438965,
288
+ "learning_rate": 6.84965323802926e-05,
289
+ "loss": 0.26720592975616453,
290
+ "step": 400
291
+ },
292
+ {
293
+ "epoch": 0.12570902958761307,
294
+ "grad_norm": 2.0308573246002197,
295
+ "learning_rate": 6.698259724920502e-05,
296
+ "loss": 0.3254187822341919,
297
+ "step": 410
298
+ },
299
+ {
300
+ "epoch": 0.12877510347999388,
301
+ "grad_norm": 1.630265712738037,
302
+ "learning_rate": 6.545084971874738e-05,
303
+ "loss": 0.2610015392303467,
304
+ "step": 420
305
+ },
306
+ {
307
+ "epoch": 0.13184117737237466,
308
+ "grad_norm": 2.0344221591949463,
309
+ "learning_rate": 6.390289638055851e-05,
310
+ "loss": 0.28308250904083254,
311
+ "step": 430
312
+ },
313
+ {
314
+ "epoch": 0.13490725126475547,
315
+ "grad_norm": 2.0541603565216064,
316
+ "learning_rate": 6.23403608239317e-05,
317
+ "loss": 0.2070929765701294,
318
+ "step": 440
319
+ },
320
+ {
321
+ "epoch": 0.13797332515713628,
322
+ "grad_norm": 2.5127923488616943,
323
+ "learning_rate": 6.076488193289375e-05,
324
+ "loss": 0.2679222583770752,
325
+ "step": 450
326
+ },
327
+ {
328
+ "epoch": 0.1410393990495171,
329
+ "grad_norm": 2.1392829418182373,
330
+ "learning_rate": 5.9178112167241805e-05,
331
+ "loss": 0.24761030673980713,
332
+ "step": 460
333
+ },
334
+ {
335
+ "epoch": 0.1441054729418979,
336
+ "grad_norm": 2.3210294246673584,
337
+ "learning_rate": 5.7581715829341396e-05,
338
+ "loss": 0.28495547771453855,
339
+ "step": 470
340
+ },
341
+ {
342
+ "epoch": 0.14717154683427872,
343
+ "grad_norm": 1.6785489320755005,
344
+ "learning_rate": 5.597736731850295e-05,
345
+ "loss": 0.2784212350845337,
346
+ "step": 480
347
+ },
348
+ {
349
+ "epoch": 0.1502376207266595,
350
+ "grad_norm": 1.5526974201202393,
351
+ "learning_rate": 5.43667493747682e-05,
352
+ "loss": 0.2551900625228882,
353
+ "step": 490
354
+ },
355
+ {
356
+ "epoch": 0.1533036946190403,
357
+ "grad_norm": 1.2199642658233643,
358
+ "learning_rate": 5.2751551313948246e-05,
359
+ "loss": 0.30306425094604494,
360
+ "step": 500
361
+ },
362
+ {
363
+ "epoch": 0.1533036946190403,
364
+ "eval_loss": 0.23486825823783875,
365
+ "eval_runtime": 720.2367,
366
+ "eval_samples_per_second": 4.529,
367
+ "eval_steps_per_second": 1.133,
368
+ "step": 500
369
+ },
370
+ {
371
+ "epoch": 0.15636976851142112,
372
+ "grad_norm": 1.990034818649292,
373
+ "learning_rate": 5.11334672557645e-05,
374
+ "loss": 0.3440114498138428,
375
+ "step": 510
376
+ },
377
+ {
378
+ "epoch": 0.15943584240380193,
379
+ "grad_norm": 1.5372368097305298,
380
+ "learning_rate": 4.9514194346951144e-05,
381
+ "loss": 0.24309706687927246,
382
+ "step": 520
383
+ },
384
+ {
385
+ "epoch": 0.16250191629618274,
386
+ "grad_norm": 1.322731614112854,
387
+ "learning_rate": 4.789543098118241e-05,
388
+ "loss": 0.201008939743042,
389
+ "step": 530
390
+ },
391
+ {
392
+ "epoch": 0.16556799018856355,
393
+ "grad_norm": 1.1007425785064697,
394
+ "learning_rate": 4.627887501769231e-05,
395
+ "loss": 0.20892457962036132,
396
+ "step": 540
397
+ },
398
+ {
399
+ "epoch": 0.16863406408094436,
400
+ "grad_norm": 1.8466931581497192,
401
+ "learning_rate": 4.4666222000454683e-05,
402
+ "loss": 0.21571614742279052,
403
+ "step": 550
404
+ },
405
+ {
406
+ "epoch": 0.17170013797332515,
407
+ "grad_norm": 1.787662386894226,
408
+ "learning_rate": 4.305916337979168e-05,
409
+ "loss": 0.2760319709777832,
410
+ "step": 560
411
+ },
412
+ {
413
+ "epoch": 0.17476621186570596,
414
+ "grad_norm": 2.7805094718933105,
415
+ "learning_rate": 4.145938473827598e-05,
416
+ "loss": 0.2237948179244995,
417
+ "step": 570
418
+ },
419
+ {
420
+ "epoch": 0.17783228575808677,
421
+ "grad_norm": 2.6648364067077637,
422
+ "learning_rate": 3.9868564022787505e-05,
423
+ "loss": 0.27178542613983153,
424
+ "step": 580
425
+ },
426
+ {
427
+ "epoch": 0.18089835965046758,
428
+ "grad_norm": 1.3236916065216064,
429
+ "learning_rate": 3.828836978457867e-05,
430
+ "loss": 0.27682058811187743,
431
+ "step": 590
432
+ },
433
+ {
434
+ "epoch": 0.1839644335428484,
435
+ "grad_norm": 1.7249999046325684,
436
+ "learning_rate": 3.672045942919474e-05,
437
+ "loss": 0.2845304489135742,
438
+ "step": 600
439
+ },
440
+ {
441
+ "epoch": 0.1870305074352292,
442
+ "grad_norm": 1.3326154947280884,
443
+ "learning_rate": 3.516647747808417e-05,
444
+ "loss": 0.21187899112701417,
445
+ "step": 610
446
+ },
447
+ {
448
+ "epoch": 0.19009658132761,
449
+ "grad_norm": 1.4286417961120605,
450
+ "learning_rate": 3.362805384372267e-05,
451
+ "loss": 0.22964024543762207,
452
+ "step": 620
453
+ },
454
+ {
455
+ "epoch": 0.1931626552199908,
456
+ "grad_norm": 2.164684295654297,
457
+ "learning_rate": 3.21068021200602e-05,
458
+ "loss": 0.17934327125549315,
459
+ "step": 630
460
+ },
461
+ {
462
+ "epoch": 0.1962287291123716,
463
+ "grad_norm": 2.1438677310943604,
464
+ "learning_rate": 3.0604317890083676e-05,
465
+ "loss": 0.2531175374984741,
466
+ "step": 640
467
+ },
468
+ {
469
+ "epoch": 0.1992948030047524,
470
+ "grad_norm": 1.4356688261032104,
471
+ "learning_rate": 2.912217705227075e-05,
472
+ "loss": 0.26515884399414064,
473
+ "step": 650
474
+ },
475
+ {
476
+ "epoch": 0.20236087689713322,
477
+ "grad_norm": 1.807127833366394,
478
+ "learning_rate": 2.7661934167689884e-05,
479
+ "loss": 0.24942197799682617,
480
+ "step": 660
481
+ },
482
+ {
483
+ "epoch": 0.20542695078951403,
484
+ "grad_norm": 1.8968759775161743,
485
+ "learning_rate": 2.622512082948063e-05,
486
+ "loss": 0.2712698221206665,
487
+ "step": 670
488
+ },
489
+ {
490
+ "epoch": 0.20849302468189485,
491
+ "grad_norm": 1.8927373886108398,
492
+ "learning_rate": 2.481324405642369e-05,
493
+ "loss": 0.24021413326263427,
494
+ "step": 680
495
+ },
496
+ {
497
+ "epoch": 0.21155909857427563,
498
+ "grad_norm": 1.8488682508468628,
499
+ "learning_rate": 2.3427784712286478e-05,
500
+ "loss": 0.19302772283554076,
501
+ "step": 690
502
+ },
503
+ {
504
+ "epoch": 0.21462517246665644,
505
+ "grad_norm": 1.5054166316986084,
506
+ "learning_rate": 2.207019595260154e-05,
507
+ "loss": 0.31353542804718015,
508
+ "step": 700
509
+ },
510
+ {
511
+ "epoch": 0.21769124635903725,
512
+ "grad_norm": 2.528918981552124,
513
+ "learning_rate": 2.0741901700506898e-05,
514
+ "loss": 0.2113438844680786,
515
+ "step": 710
516
+ },
517
+ {
518
+ "epoch": 0.22075732025141806,
519
+ "grad_norm": 2.6033072471618652,
520
+ "learning_rate": 1.9444295153247487e-05,
521
+ "loss": 0.18061747550964355,
522
+ "step": 720
523
+ },
524
+ {
525
+ "epoch": 0.22382339414379887,
526
+ "grad_norm": 1.308701515197754,
527
+ "learning_rate": 1.81787373209036e-05,
528
+ "loss": 0.22383267879486085,
529
+ "step": 730
530
+ },
531
+ {
532
+ "epoch": 0.22688946803617968,
533
+ "grad_norm": 1.5697062015533447,
534
+ "learning_rate": 1.694655559887914e-05,
535
+ "loss": 0.1717965841293335,
536
+ "step": 740
537
+ },
538
+ {
539
+ "epoch": 0.2299555419285605,
540
+ "grad_norm": 1.9184072017669678,
541
+ "learning_rate": 1.574904237564726e-05,
542
+ "loss": 0.15803247690200806,
543
+ "step": 750
544
+ },
545
+ {
546
+ "epoch": 0.23302161582094127,
547
+ "grad_norm": 1.8374502658843994,
548
+ "learning_rate": 1.4587453677213348e-05,
549
+ "loss": 0.21386642456054689,
550
+ "step": 760
551
+ },
552
+ {
553
+ "epoch": 0.23608768971332209,
554
+ "grad_norm": 1.2857649326324463,
555
+ "learning_rate": 1.3463007849717036e-05,
556
+ "loss": 0.19522521495819092,
557
+ "step": 770
558
+ },
559
+ {
560
+ "epoch": 0.2391537636057029,
561
+ "grad_norm": 1.4956154823303223,
562
+ "learning_rate": 1.2376884281555484e-05,
563
+ "loss": 0.27701401710510254,
564
+ "step": 780
565
+ },
566
+ {
567
+ "epoch": 0.2422198374980837,
568
+ "grad_norm": 0.9590563178062439,
569
+ "learning_rate": 1.133022216636781e-05,
570
+ "loss": 0.17113418579101564,
571
+ "step": 790
572
+ },
573
+ {
574
+ "epoch": 0.24528591139046452,
575
+ "grad_norm": 1.5088719129562378,
576
+ "learning_rate": 1.0324119308178166e-05,
577
+ "loss": 0.18702689409255982,
578
+ "step": 800
579
+ },
580
+ {
581
+ "epoch": 0.24835198528284533,
582
+ "grad_norm": 1.6661988496780396,
583
+ "learning_rate": 9.35963096995101e-06,
584
+ "loss": 0.20452842712402344,
585
+ "step": 810
586
+ },
587
+ {
588
+ "epoch": 0.25141805917522614,
589
+ "grad_norm": 2.5167958736419678,
590
+ "learning_rate": 8.437768766765974e-06,
591
+ "loss": 0.21355221271514893,
592
+ "step": 820
593
+ },
594
+ {
595
+ "epoch": 0.2544841330676069,
596
+ "grad_norm": 0.9480271935462952,
597
+ "learning_rate": 7.559499604773279e-06,
598
+ "loss": 0.17018674612045287,
599
+ "step": 830
600
+ },
601
+ {
602
+ "epoch": 0.25755020695998776,
603
+ "grad_norm": 1.52168607711792,
604
+ "learning_rate": 6.725744667042777e-06,
605
+ "loss": 0.22344567775726318,
606
+ "step": 840
607
+ },
608
+ {
609
+ "epoch": 0.26061628085236854,
610
+ "grad_norm": 2.0799217224121094,
611
+ "learning_rate": 5.937378447370067e-06,
612
+ "loss": 0.2001579523086548,
613
+ "step": 850
614
+ },
615
+ {
616
+ "epoch": 0.2636823547447493,
617
+ "grad_norm": 1.9504276514053345,
618
+ "learning_rate": 5.195227833053274e-06,
619
+ "loss": 0.24842050075531005,
620
+ "step": 860
621
+ },
622
+ {
623
+ "epoch": 0.26674842863713016,
624
+ "grad_norm": 1.4846616983413696,
625
+ "learning_rate": 4.500071237602482e-06,
626
+ "loss": 0.21435370445251464,
627
+ "step": 870
628
+ },
629
+ {
630
+ "epoch": 0.26981450252951095,
631
+ "grad_norm": 2.049562692642212,
632
+ "learning_rate": 3.852637784291424e-06,
633
+ "loss": 0.20631463527679444,
634
+ "step": 880
635
+ },
636
+ {
637
+ "epoch": 0.2728805764218918,
638
+ "grad_norm": 1.7582942247390747,
639
+ "learning_rate": 3.253606541407872e-06,
640
+ "loss": 0.19504842758178711,
641
+ "step": 890
642
+ },
643
+ {
644
+ "epoch": 0.27594665031427257,
645
+ "grad_norm": 1.2518376111984253,
646
+ "learning_rate": 2.703605810004772e-06,
647
+ "loss": 0.23498003482818602,
648
+ "step": 900
649
+ },
650
+ {
651
+ "epoch": 0.2790127242066534,
652
+ "grad_norm": 1.8193014860153198,
653
+ "learning_rate": 2.2032124648992015e-06,
654
+ "loss": 0.19879570007324218,
655
+ "step": 910
656
+ },
657
+ {
658
+ "epoch": 0.2820787980990342,
659
+ "grad_norm": 1.9319647550582886,
660
+ "learning_rate": 1.7529513496103323e-06,
661
+ "loss": 0.23327455520629883,
662
+ "step": 920
663
+ },
664
+ {
665
+ "epoch": 0.28514487199141497,
666
+ "grad_norm": 1.8357402086257935,
667
+ "learning_rate": 1.3532947258710904e-06,
668
+ "loss": 0.2018765926361084,
669
+ "step": 930
670
+ },
671
+ {
672
+ "epoch": 0.2882109458837958,
673
+ "grad_norm": 1.994150996208191,
674
+ "learning_rate": 1.004661778290783e-06,
675
+ "loss": 0.24911184310913087,
676
+ "step": 940
677
+ },
678
+ {
679
+ "epoch": 0.2912770197761766,
680
+ "grad_norm": 1.6936302185058594,
681
+ "learning_rate": 7.074181746883401e-07,
682
+ "loss": 0.19159953594207763,
683
+ "step": 950
684
+ },
685
+ {
686
+ "epoch": 0.29434309366855743,
687
+ "grad_norm": 1.817285418510437,
688
+ "learning_rate": 4.6187568255726124e-07,
689
+ "loss": 0.2285438060760498,
690
+ "step": 960
691
+ },
692
+ {
693
+ "epoch": 0.2974091675609382,
694
+ "grad_norm": 1.893558382987976,
695
+ "learning_rate": 2.682918420645719e-07,
696
+ "loss": 0.18837826251983641,
697
+ "step": 970
698
+ },
699
+ {
700
+ "epoch": 0.300475241453319,
701
+ "grad_norm": 1.6001790761947632,
702
+ "learning_rate": 1.268696959267679e-07,
703
+ "loss": 0.1773859143257141,
704
+ "step": 980
705
+ },
706
+ {
707
+ "epoch": 0.30354131534569984,
708
+ "grad_norm": 1.5270576477050781,
709
+ "learning_rate": 3.775757644601807e-08,
710
+ "loss": 0.2449805974960327,
711
+ "step": 990
712
+ },
713
+ {
714
+ "epoch": 0.3066073892380806,
715
+ "grad_norm": 1.5449198484420776,
716
+ "learning_rate": 1.0489499300603278e-09,
717
+ "loss": 0.254788875579834,
718
+ "step": 1000
719
+ },
720
+ {
721
+ "epoch": 0.3066073892380806,
722
+ "eval_loss": 0.2000984400510788,
723
+ "eval_runtime": 719.1886,
724
+ "eval_samples_per_second": 4.536,
725
+ "eval_steps_per_second": 1.135,
726
+ "step": 1000
727
+ }
728
+ ],
729
+ "logging_steps": 10,
730
+ "max_steps": 1000,
731
+ "num_input_tokens_seen": 0,
732
+ "num_train_epochs": 1,
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": true
742
+ },
743
+ "attributes": {}
744
+ }
745
+ },
746
+ "total_flos": 5.67354758223913e+16,
747
+ "train_batch_size": 2,
748
+ "trial_name": null,
749
+ "trial_params": null
750
+ }
checkpoint-1000/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:279871ddb6f5dc5b8e6aed5a5d659449b11e4e6a0fbb67ccd435699a97d73c64
3
+ size 5713
checkpoint-500/README.md ADDED
@@ -0,0 +1,210 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: unsloth/qwen2-vl-7b-instruct-unsloth-bnb-4bit
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:unsloth/qwen2-vl-7b-instruct-unsloth-bnb-4bit
7
+ - lora
8
+ - sft
9
+ - transformers
10
+ - trl
11
+ - unsloth
12
+ ---
13
+
14
+ # Model Card for Model ID
15
+
16
+ <!-- Provide a quick summary of what the model is/does. -->
17
+
18
+
19
+
20
+ ## Model Details
21
+
22
+ ### Model Description
23
+
24
+ <!-- Provide a longer summary of what this model is. -->
25
+
26
+
27
+
28
+ - **Developed by:** [More Information Needed]
29
+ - **Funded by [optional]:** [More Information Needed]
30
+ - **Shared by [optional]:** [More Information Needed]
31
+ - **Model type:** [More Information Needed]
32
+ - **Language(s) (NLP):** [More Information Needed]
33
+ - **License:** [More Information Needed]
34
+ - **Finetuned from model [optional]:** [More Information Needed]
35
+
36
+ ### Model Sources [optional]
37
+
38
+ <!-- Provide the basic links for the model. -->
39
+
40
+ - **Repository:** [More Information Needed]
41
+ - **Paper [optional]:** [More Information Needed]
42
+ - **Demo [optional]:** [More Information Needed]
43
+
44
+ ## Uses
45
+
46
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
47
+
48
+ ### Direct Use
49
+
50
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
51
+
52
+ [More Information Needed]
53
+
54
+ ### Downstream Use [optional]
55
+
56
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
57
+
58
+ [More Information Needed]
59
+
60
+ ### Out-of-Scope Use
61
+
62
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
63
+
64
+ [More Information Needed]
65
+
66
+ ## Bias, Risks, and Limitations
67
+
68
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
69
+
70
+ [More Information Needed]
71
+
72
+ ### Recommendations
73
+
74
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
75
+
76
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
77
+
78
+ ## How to Get Started with the Model
79
+
80
+ Use the code below to get started with the model.
81
+
82
+ [More Information Needed]
83
+
84
+ ## Training Details
85
+
86
+ ### Training Data
87
+
88
+ <!-- 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. -->
89
+
90
+ [More Information Needed]
91
+
92
+ ### Training Procedure
93
+
94
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
95
+
96
+ #### Preprocessing [optional]
97
+
98
+ [More Information Needed]
99
+
100
+
101
+ #### Training Hyperparameters
102
+
103
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
104
+
105
+ #### Speeds, Sizes, Times [optional]
106
+
107
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
108
+
109
+ [More Information Needed]
110
+
111
+ ## Evaluation
112
+
113
+ <!-- This section describes the evaluation protocols and provides the results. -->
114
+
115
+ ### Testing Data, Factors & Metrics
116
+
117
+ #### Testing Data
118
+
119
+ <!-- This should link to a Dataset Card if possible. -->
120
+
121
+ [More Information Needed]
122
+
123
+ #### Factors
124
+
125
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
126
+
127
+ [More Information Needed]
128
+
129
+ #### Metrics
130
+
131
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
132
+
133
+ [More Information Needed]
134
+
135
+ ### Results
136
+
137
+ [More Information Needed]
138
+
139
+ #### Summary
140
+
141
+
142
+
143
+ ## Model Examination [optional]
144
+
145
+ <!-- Relevant interpretability work for the model goes here -->
146
+
147
+ [More Information Needed]
148
+
149
+ ## Environmental Impact
150
+
151
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
152
+
153
+ 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).
154
+
155
+ - **Hardware Type:** [More Information Needed]
156
+ - **Hours used:** [More Information Needed]
157
+ - **Cloud Provider:** [More Information Needed]
158
+ - **Compute Region:** [More Information Needed]
159
+ - **Carbon Emitted:** [More Information Needed]
160
+
161
+ ## Technical Specifications [optional]
162
+
163
+ ### Model Architecture and Objective
164
+
165
+ [More Information Needed]
166
+
167
+ ### Compute Infrastructure
168
+
169
+ [More Information Needed]
170
+
171
+ #### Hardware
172
+
173
+ [More Information Needed]
174
+
175
+ #### Software
176
+
177
+ [More Information Needed]
178
+
179
+ ## Citation [optional]
180
+
181
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
182
+
183
+ **BibTeX:**
184
+
185
+ [More Information Needed]
186
+
187
+ **APA:**
188
+
189
+ [More Information Needed]
190
+
191
+ ## Glossary [optional]
192
+
193
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
194
+
195
+ [More Information Needed]
196
+
197
+ ## More Information [optional]
198
+
199
+ [More Information Needed]
200
+
201
+ ## Model Card Authors [optional]
202
+
203
+ [More Information Needed]
204
+
205
+ ## Model Card Contact
206
+
207
+ [More Information Needed]
208
+ ### Framework versions
209
+
210
+ - PEFT 0.18.1
checkpoint-500/adapter_config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": {
6
+ "base_model_class": "Qwen2VLForConditionalGeneration",
7
+ "parent_library": "transformers.models.qwen2_vl.modeling_qwen2_vl",
8
+ "unsloth_fixed": true
9
+ },
10
+ "base_model_name_or_path": "unsloth/qwen2-vl-7b-instruct-unsloth-bnb-4bit",
11
+ "bias": "none",
12
+ "corda_config": null,
13
+ "ensure_weight_tying": false,
14
+ "eva_config": null,
15
+ "exclude_modules": null,
16
+ "fan_in_fan_out": false,
17
+ "inference_mode": true,
18
+ "init_lora_weights": true,
19
+ "layer_replication": null,
20
+ "layers_pattern": null,
21
+ "layers_to_transform": null,
22
+ "loftq_config": {},
23
+ "lora_alpha": 32,
24
+ "lora_bias": false,
25
+ "lora_dropout": 0.05,
26
+ "megatron_config": null,
27
+ "megatron_core": "megatron.core",
28
+ "modules_to_save": null,
29
+ "peft_type": "LORA",
30
+ "peft_version": "0.18.1",
31
+ "qalora_group_size": 16,
32
+ "r": 32,
33
+ "rank_pattern": {},
34
+ "revision": null,
35
+ "target_modules": "(?:.*?(?:vision|image|visual|patch|language|text).*?(?:self_attn|attention|attn|mlp|feed_forward|ffn|dense).*?(?:qkv|proj|fc1|fc2|q_proj|k_proj|v_proj|o_proj|gate_proj|up_proj|down_proj).*?)|(?:\\bmodel\\.layers\\.[\\d]{1,}\\.(?:self_attn|attention|attn|mlp|feed_forward|ffn|dense)\\.(?:(?:qkv|proj|fc1|fc2|q_proj|k_proj|v_proj|o_proj|gate_proj|up_proj|down_proj)))",
36
+ "target_parameters": null,
37
+ "task_type": "CAUSAL_LM",
38
+ "trainable_token_indices": null,
39
+ "use_dora": false,
40
+ "use_qalora": false,
41
+ "use_rslora": true
42
+ }
checkpoint-500/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a4cbed3a66ee76549f70e2670057f299e089ed49f77e480add85162073d01c07
3
+ size 406940800
checkpoint-500/chat_template.jinja ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {% set image_count = namespace(value=0) %}{% set video_count = namespace(value=0) %}{% for message in messages %}{% if loop.first and message['role'] != 'system' %}<|im_start|>system
2
+ You are a helpful assistant.<|im_end|>
3
+ {% endif %}<|im_start|>{{ message['role'] }}
4
+ {% if message['content'] is string %}{{ message['content'] }}<|im_end|>
5
+ {% else %}{% for content in message['content'] %}{% if content['type'] == 'image' or 'image' in content or 'image_url' in content %}{% set image_count.value = image_count.value + 1 %}{% if add_vision_id %}Picture {{ image_count.value }}: {% endif %}<|vision_start|><|image_pad|><|vision_end|>{% elif content['type'] == 'video' or 'video' in content %}{% set video_count.value = video_count.value + 1 %}{% if add_vision_id %}Video {{ video_count.value }}: {% endif %}<|vision_start|><|video_pad|><|vision_end|>{% elif 'text' in content %}{{ content['text'] }}{% endif %}{% endfor %}<|im_end|>
6
+ {% endif %}{% endfor %}{% if add_generation_prompt %}<|im_start|>assistant
7
+ {% endif %}
checkpoint-500/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3755f39069bb8e20728bd74cfb690bcbf27400a23da41ea28a6cf13eebb3380d
3
+ size 207370053
checkpoint-500/processor_config.json ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "image_processor": {
3
+ "do_convert_rgb": true,
4
+ "do_normalize": true,
5
+ "do_rescale": true,
6
+ "do_resize": true,
7
+ "image_mean": [
8
+ 0.48145466,
9
+ 0.4578275,
10
+ 0.40821073
11
+ ],
12
+ "image_processor_type": "Qwen2VLImageProcessor",
13
+ "image_std": [
14
+ 0.26862954,
15
+ 0.26130258,
16
+ 0.27577711
17
+ ],
18
+ "merge_size": 2,
19
+ "patch_size": 14,
20
+ "resample": 3,
21
+ "rescale_factor": 0.00392156862745098,
22
+ "size": {
23
+ "longest_edge": 12845056,
24
+ "shortest_edge": 3136
25
+ },
26
+ "temporal_patch_size": 2
27
+ },
28
+ "processor_class": "Qwen2VLProcessor",
29
+ "video_processor": {
30
+ "do_convert_rgb": true,
31
+ "do_normalize": true,
32
+ "do_rescale": true,
33
+ "do_resize": true,
34
+ "do_sample_frames": false,
35
+ "image_mean": [
36
+ 0.48145466,
37
+ 0.4578275,
38
+ 0.40821073
39
+ ],
40
+ "image_std": [
41
+ 0.26862954,
42
+ 0.26130258,
43
+ 0.27577711
44
+ ],
45
+ "max_frames": 768,
46
+ "merge_size": 2,
47
+ "min_frames": 4,
48
+ "patch_size": 14,
49
+ "resample": 3,
50
+ "rescale_factor": 0.00392156862745098,
51
+ "return_metadata": false,
52
+ "size": {
53
+ "longest_edge": 12845056,
54
+ "shortest_edge": 3136
55
+ },
56
+ "temporal_patch_size": 2,
57
+ "video_processor_type": "Qwen2VLVideoProcessor"
58
+ }
59
+ }
checkpoint-500/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:61bea98e30eeec20a4ee437ca3517f6aef49ee0bfd3eee1a106b4eee3011b9d6
3
+ size 14645
checkpoint-500/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:52bcd4548a3d363d7003cd39e77f8aec59cff045e80f5ae9959a84886e615b4c
3
+ size 1383
checkpoint-500/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:071ac03e66582d7df1ef76361efdf79d37dcaf8e55e92fca5a06ae6205f105c6
3
+ size 1465
checkpoint-500/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aa6cece1f053a10ac3c40f3291915abf22aad42f24c687143a79250a9b138186
3
+ size 11420635
checkpoint-500/tokenizer_config.json ADDED
@@ -0,0 +1,130 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": null,
5
+ "clean_up_tokenization_spaces": false,
6
+ "eos_token": "<|im_end|>",
7
+ "errors": "replace",
8
+ "is_local": false,
9
+ "model_max_length": 32768,
10
+ "pad_token": "<|vision_pad|>",
11
+ "padding_side": "right",
12
+ "processor_class": "Qwen2VLProcessor",
13
+ "split_special_tokens": false,
14
+ "tokenizer_class": "Qwen2Tokenizer",
15
+ "unk_token": null,
16
+ "added_tokens_decoder": {
17
+ "151643": {
18
+ "content": "<|endoftext|>",
19
+ "single_word": false,
20
+ "lstrip": false,
21
+ "rstrip": false,
22
+ "normalized": false,
23
+ "special": true
24
+ },
25
+ "151644": {
26
+ "content": "<|im_start|>",
27
+ "single_word": false,
28
+ "lstrip": false,
29
+ "rstrip": false,
30
+ "normalized": false,
31
+ "special": true
32
+ },
33
+ "151645": {
34
+ "content": "<|im_end|>",
35
+ "single_word": false,
36
+ "lstrip": false,
37
+ "rstrip": false,
38
+ "normalized": false,
39
+ "special": true
40
+ },
41
+ "151646": {
42
+ "content": "<|object_ref_start|>",
43
+ "single_word": false,
44
+ "lstrip": false,
45
+ "rstrip": false,
46
+ "normalized": false,
47
+ "special": true
48
+ },
49
+ "151647": {
50
+ "content": "<|object_ref_end|>",
51
+ "single_word": false,
52
+ "lstrip": false,
53
+ "rstrip": false,
54
+ "normalized": false,
55
+ "special": true
56
+ },
57
+ "151648": {
58
+ "content": "<|box_start|>",
59
+ "single_word": false,
60
+ "lstrip": false,
61
+ "rstrip": false,
62
+ "normalized": false,
63
+ "special": true
64
+ },
65
+ "151649": {
66
+ "content": "<|box_end|>",
67
+ "single_word": false,
68
+ "lstrip": false,
69
+ "rstrip": false,
70
+ "normalized": false,
71
+ "special": true
72
+ },
73
+ "151650": {
74
+ "content": "<|quad_start|>",
75
+ "single_word": false,
76
+ "lstrip": false,
77
+ "rstrip": false,
78
+ "normalized": false,
79
+ "special": true
80
+ },
81
+ "151651": {
82
+ "content": "<|quad_end|>",
83
+ "single_word": false,
84
+ "lstrip": false,
85
+ "rstrip": false,
86
+ "normalized": false,
87
+ "special": true
88
+ },
89
+ "151652": {
90
+ "content": "<|vision_start|>",
91
+ "single_word": false,
92
+ "lstrip": false,
93
+ "rstrip": false,
94
+ "normalized": false,
95
+ "special": true
96
+ },
97
+ "151653": {
98
+ "content": "<|vision_end|>",
99
+ "single_word": false,
100
+ "lstrip": false,
101
+ "rstrip": false,
102
+ "normalized": false,
103
+ "special": true
104
+ },
105
+ "151654": {
106
+ "content": "<|vision_pad|>",
107
+ "single_word": false,
108
+ "lstrip": false,
109
+ "rstrip": false,
110
+ "normalized": false,
111
+ "special": true
112
+ },
113
+ "151655": {
114
+ "content": "<|image_pad|>",
115
+ "single_word": false,
116
+ "lstrip": false,
117
+ "rstrip": false,
118
+ "normalized": false,
119
+ "special": true
120
+ },
121
+ "151656": {
122
+ "content": "<|video_pad|>",
123
+ "single_word": false,
124
+ "lstrip": false,
125
+ "rstrip": false,
126
+ "normalized": false,
127
+ "special": true
128
+ }
129
+ }
130
+ }
checkpoint-500/trainer_state.json ADDED
@@ -0,0 +1,392 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 0.1533036946190403,
6
+ "eval_steps": 500,
7
+ "global_step": 500,
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.0030660738923808063,
14
+ "grad_norm": 6.463604927062988,
15
+ "learning_rate": 3e-05,
16
+ "loss": 2.0649938583374023,
17
+ "step": 10
18
+ },
19
+ {
20
+ "epoch": 0.006132147784761613,
21
+ "grad_norm": 2.519343376159668,
22
+ "learning_rate": 6.333333333333333e-05,
23
+ "loss": 0.6487368106842041,
24
+ "step": 20
25
+ },
26
+ {
27
+ "epoch": 0.00919822167714242,
28
+ "grad_norm": 2.0815188884735107,
29
+ "learning_rate": 9.666666666666667e-05,
30
+ "loss": 0.4268790245056152,
31
+ "step": 30
32
+ },
33
+ {
34
+ "epoch": 0.012264295569523225,
35
+ "grad_norm": 2.200076103210449,
36
+ "learning_rate": 9.997876019358084e-05,
37
+ "loss": 0.4950988292694092,
38
+ "step": 40
39
+ },
40
+ {
41
+ "epoch": 0.015330369461904032,
42
+ "grad_norm": NaN,
43
+ "learning_rate": 9.990536180750725e-05,
44
+ "loss": 0.38702518939971925,
45
+ "step": 50
46
+ },
47
+ {
48
+ "epoch": 0.01839644335428484,
49
+ "grad_norm": 3.5303149223327637,
50
+ "learning_rate": 9.979454595377594e-05,
51
+ "loss": 0.38945512771606444,
52
+ "step": 60
53
+ },
54
+ {
55
+ "epoch": 0.021462517246665643,
56
+ "grad_norm": 2.4383182525634766,
57
+ "learning_rate": 9.962180548552812e-05,
58
+ "loss": 0.347108793258667,
59
+ "step": 70
60
+ },
61
+ {
62
+ "epoch": 0.02452859113904645,
63
+ "grad_norm": 2.1036343574523926,
64
+ "learning_rate": 9.93970185956522e-05,
65
+ "loss": 0.3986814498901367,
66
+ "step": 80
67
+ },
68
+ {
69
+ "epoch": 0.027594665031427257,
70
+ "grad_norm": 1.6441606283187866,
71
+ "learning_rate": 9.912042105455463e-05,
72
+ "loss": 0.37169671058654785,
73
+ "step": 90
74
+ },
75
+ {
76
+ "epoch": 0.030660738923808065,
77
+ "grad_norm": 2.6629977226257324,
78
+ "learning_rate": 9.879230297486034e-05,
79
+ "loss": 0.34605844020843507,
80
+ "step": 100
81
+ },
82
+ {
83
+ "epoch": 0.03372681281618887,
84
+ "grad_norm": 2.6391377449035645,
85
+ "learning_rate": 9.84130085071248e-05,
86
+ "loss": 0.36542038917541503,
87
+ "step": 110
88
+ },
89
+ {
90
+ "epoch": 0.03679288670856968,
91
+ "grad_norm": 3.362105369567871,
92
+ "learning_rate": 9.798293547886748e-05,
93
+ "loss": 0.3803835391998291,
94
+ "step": 120
95
+ },
96
+ {
97
+ "epoch": 0.03985896060095048,
98
+ "grad_norm": 2.1621932983398438,
99
+ "learning_rate": 9.75025349773058e-05,
100
+ "loss": 0.4530525207519531,
101
+ "step": 130
102
+ },
103
+ {
104
+ "epoch": 0.042925034493331286,
105
+ "grad_norm": 2.627958059310913,
106
+ "learning_rate": 9.697231087622691e-05,
107
+ "loss": 0.36589229106903076,
108
+ "step": 140
109
+ },
110
+ {
111
+ "epoch": 0.0459911083857121,
112
+ "grad_norm": 1.6088377237319946,
113
+ "learning_rate": 9.639281930749362e-05,
114
+ "loss": 0.31213700771331787,
115
+ "step": 150
116
+ },
117
+ {
118
+ "epoch": 0.0490571822780929,
119
+ "grad_norm": 1.5474679470062256,
120
+ "learning_rate": 9.576466807773899e-05,
121
+ "loss": 0.3281474351882935,
122
+ "step": 160
123
+ },
124
+ {
125
+ "epoch": 0.05212325617047371,
126
+ "grad_norm": 1.3999106884002686,
127
+ "learning_rate": 9.508851603086093e-05,
128
+ "loss": 0.35131995677947997,
129
+ "step": 170
130
+ },
131
+ {
132
+ "epoch": 0.055189330062854515,
133
+ "grad_norm": 1.9967105388641357,
134
+ "learning_rate": 9.436507235698612e-05,
135
+ "loss": 0.31531903743743894,
136
+ "step": 180
137
+ },
138
+ {
139
+ "epoch": 0.05825540395523532,
140
+ "grad_norm": 2.9993176460266113,
141
+ "learning_rate": 9.359509584862736e-05,
142
+ "loss": 0.26261985301971436,
143
+ "step": 190
144
+ },
145
+ {
146
+ "epoch": 0.06132147784761613,
147
+ "grad_norm": 1.4354274272918701,
148
+ "learning_rate": 9.277939410481507e-05,
149
+ "loss": 0.3162971258163452,
150
+ "step": 200
151
+ },
152
+ {
153
+ "epoch": 0.06438755173999694,
154
+ "grad_norm": 2.0348236560821533,
155
+ "learning_rate": 9.191882268403743e-05,
156
+ "loss": 0.26198928356170653,
157
+ "step": 210
158
+ },
159
+ {
160
+ "epoch": 0.06745362563237774,
161
+ "grad_norm": 2.0107932090759277,
162
+ "learning_rate": 9.101428420687759e-05,
163
+ "loss": 0.288555383682251,
164
+ "step": 220
165
+ },
166
+ {
167
+ "epoch": 0.07051969952475855,
168
+ "grad_norm": 1.9315687417984009,
169
+ "learning_rate": 9.006672740928952e-05,
170
+ "loss": 0.35857889652252195,
171
+ "step": 230
172
+ },
173
+ {
174
+ "epoch": 0.07358577341713936,
175
+ "grad_norm": 1.3544338941574097,
176
+ "learning_rate": 8.907714614750473e-05,
177
+ "loss": 0.25970749855041503,
178
+ "step": 240
179
+ },
180
+ {
181
+ "epoch": 0.07665184730952015,
182
+ "grad_norm": 1.7664729356765747,
183
+ "learning_rate": 8.804657835561456e-05,
184
+ "loss": 0.29544668197631835,
185
+ "step": 250
186
+ },
187
+ {
188
+ "epoch": 0.07971792120190097,
189
+ "grad_norm": 1.9215457439422607,
190
+ "learning_rate": 8.697610495692054e-05,
191
+ "loss": 0.33899190425872805,
192
+ "step": 260
193
+ },
194
+ {
195
+ "epoch": 0.08278399509428178,
196
+ "grad_norm": 1.5529381036758423,
197
+ "learning_rate": 8.586684873019513e-05,
198
+ "loss": 0.2658397674560547,
199
+ "step": 270
200
+ },
201
+ {
202
+ "epoch": 0.08585006898666257,
203
+ "grad_norm": 2.47896409034729,
204
+ "learning_rate": 8.471997313204181e-05,
205
+ "loss": 0.3443256139755249,
206
+ "step": 280
207
+ },
208
+ {
209
+ "epoch": 0.08891614287904338,
210
+ "grad_norm": 1.9302890300750732,
211
+ "learning_rate": 8.353668107658984e-05,
212
+ "loss": 0.3534022331237793,
213
+ "step": 290
214
+ },
215
+ {
216
+ "epoch": 0.0919822167714242,
217
+ "grad_norm": 2.2252399921417236,
218
+ "learning_rate": 8.231821367380335e-05,
219
+ "loss": 0.35457937717437743,
220
+ "step": 300
221
+ },
222
+ {
223
+ "epoch": 0.095048290663805,
224
+ "grad_norm": 2.3081650733947754,
225
+ "learning_rate": 8.106584892772844e-05,
226
+ "loss": 0.3248718738555908,
227
+ "step": 310
228
+ },
229
+ {
230
+ "epoch": 0.0981143645561858,
231
+ "grad_norm": 3.013239622116089,
232
+ "learning_rate": 7.978090039604341e-05,
233
+ "loss": 0.26280434131622316,
234
+ "step": 320
235
+ },
236
+ {
237
+ "epoch": 0.10118043844856661,
238
+ "grad_norm": 1.452308177947998,
239
+ "learning_rate": 7.846471581231814e-05,
240
+ "loss": 0.33978819847106934,
241
+ "step": 330
242
+ },
243
+ {
244
+ "epoch": 0.10424651234094742,
245
+ "grad_norm": 1.2837029695510864,
246
+ "learning_rate": 7.711867567242768e-05,
247
+ "loss": 0.23912310600280762,
248
+ "step": 340
249
+ },
250
+ {
251
+ "epoch": 0.10731258623332822,
252
+ "grad_norm": 2.579188108444214,
253
+ "learning_rate": 7.574419178660268e-05,
254
+ "loss": 0.2820066213607788,
255
+ "step": 350
256
+ },
257
+ {
258
+ "epoch": 0.11037866012570903,
259
+ "grad_norm": 2.5270886421203613,
260
+ "learning_rate": 7.434270579863548e-05,
261
+ "loss": 0.24370906352996827,
262
+ "step": 360
263
+ },
264
+ {
265
+ "epoch": 0.11344473401808984,
266
+ "grad_norm": 2.0890889167785645,
267
+ "learning_rate": 7.291568767379484e-05,
268
+ "loss": 0.3170176029205322,
269
+ "step": 370
270
+ },
271
+ {
272
+ "epoch": 0.11651080791047064,
273
+ "grad_norm": 2.405902624130249,
274
+ "learning_rate": 7.146463415703531e-05,
275
+ "loss": 0.27828273773193357,
276
+ "step": 380
277
+ },
278
+ {
279
+ "epoch": 0.11957688180285145,
280
+ "grad_norm": 2.189697265625,
281
+ "learning_rate": 6.999106720311845e-05,
282
+ "loss": 0.314092755317688,
283
+ "step": 390
284
+ },
285
+ {
286
+ "epoch": 0.12264295569523226,
287
+ "grad_norm": 2.0553412437438965,
288
+ "learning_rate": 6.84965323802926e-05,
289
+ "loss": 0.26720592975616453,
290
+ "step": 400
291
+ },
292
+ {
293
+ "epoch": 0.12570902958761307,
294
+ "grad_norm": 2.0308573246002197,
295
+ "learning_rate": 6.698259724920502e-05,
296
+ "loss": 0.3254187822341919,
297
+ "step": 410
298
+ },
299
+ {
300
+ "epoch": 0.12877510347999388,
301
+ "grad_norm": 1.630265712738037,
302
+ "learning_rate": 6.545084971874738e-05,
303
+ "loss": 0.2610015392303467,
304
+ "step": 420
305
+ },
306
+ {
307
+ "epoch": 0.13184117737237466,
308
+ "grad_norm": 2.0344221591949463,
309
+ "learning_rate": 6.390289638055851e-05,
310
+ "loss": 0.28308250904083254,
311
+ "step": 430
312
+ },
313
+ {
314
+ "epoch": 0.13490725126475547,
315
+ "grad_norm": 2.0541603565216064,
316
+ "learning_rate": 6.23403608239317e-05,
317
+ "loss": 0.2070929765701294,
318
+ "step": 440
319
+ },
320
+ {
321
+ "epoch": 0.13797332515713628,
322
+ "grad_norm": 2.5127923488616943,
323
+ "learning_rate": 6.076488193289375e-05,
324
+ "loss": 0.2679222583770752,
325
+ "step": 450
326
+ },
327
+ {
328
+ "epoch": 0.1410393990495171,
329
+ "grad_norm": 2.1392829418182373,
330
+ "learning_rate": 5.9178112167241805e-05,
331
+ "loss": 0.24761030673980713,
332
+ "step": 460
333
+ },
334
+ {
335
+ "epoch": 0.1441054729418979,
336
+ "grad_norm": 2.3210294246673584,
337
+ "learning_rate": 5.7581715829341396e-05,
338
+ "loss": 0.28495547771453855,
339
+ "step": 470
340
+ },
341
+ {
342
+ "epoch": 0.14717154683427872,
343
+ "grad_norm": 1.6785489320755005,
344
+ "learning_rate": 5.597736731850295e-05,
345
+ "loss": 0.2784212350845337,
346
+ "step": 480
347
+ },
348
+ {
349
+ "epoch": 0.1502376207266595,
350
+ "grad_norm": 1.5526974201202393,
351
+ "learning_rate": 5.43667493747682e-05,
352
+ "loss": 0.2551900625228882,
353
+ "step": 490
354
+ },
355
+ {
356
+ "epoch": 0.1533036946190403,
357
+ "grad_norm": 1.2199642658233643,
358
+ "learning_rate": 5.2751551313948246e-05,
359
+ "loss": 0.30306425094604494,
360
+ "step": 500
361
+ },
362
+ {
363
+ "epoch": 0.1533036946190403,
364
+ "eval_loss": 0.23486825823783875,
365
+ "eval_runtime": 720.2367,
366
+ "eval_samples_per_second": 4.529,
367
+ "eval_steps_per_second": 1.133,
368
+ "step": 500
369
+ }
370
+ ],
371
+ "logging_steps": 10,
372
+ "max_steps": 1000,
373
+ "num_input_tokens_seen": 0,
374
+ "num_train_epochs": 1,
375
+ "save_steps": 500,
376
+ "stateful_callbacks": {
377
+ "TrainerControl": {
378
+ "args": {
379
+ "should_epoch_stop": false,
380
+ "should_evaluate": false,
381
+ "should_log": false,
382
+ "should_save": true,
383
+ "should_training_stop": false
384
+ },
385
+ "attributes": {}
386
+ }
387
+ },
388
+ "total_flos": 2.831292684985344e+16,
389
+ "train_batch_size": 2,
390
+ "trial_name": null,
391
+ "trial_params": null
392
+ }
checkpoint-500/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:279871ddb6f5dc5b8e6aed5a5d659449b11e4e6a0fbb67ccd435699a97d73c64
3
+ size 5713