FrancoisFormation commited on
Commit
111d7ba
·
verified ·
1 Parent(s): 54f4c5c

Upload folder using huggingface_hub

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +5 -0
  2. README.md +68 -0
  3. chat_template.jinja +47 -0
  4. checkpoint-100/README.md +209 -0
  5. checkpoint-100/adapter_config.json +43 -0
  6. checkpoint-100/adapter_model.safetensors +3 -0
  7. checkpoint-100/chat_template.jinja +47 -0
  8. checkpoint-100/optimizer.pt +3 -0
  9. checkpoint-100/rng_state.pth +3 -0
  10. checkpoint-100/scheduler.pt +3 -0
  11. checkpoint-100/tokenizer.json +3 -0
  12. checkpoint-100/tokenizer_config.json +25 -0
  13. checkpoint-100/trainer_state.json +394 -0
  14. checkpoint-100/training_args.bin +3 -0
  15. checkpoint-135/README.md +209 -0
  16. checkpoint-135/adapter_config.json +43 -0
  17. checkpoint-135/adapter_model.safetensors +3 -0
  18. checkpoint-135/chat_template.jinja +47 -0
  19. checkpoint-135/optimizer.pt +3 -0
  20. checkpoint-135/rng_state.pth +3 -0
  21. checkpoint-135/scheduler.pt +3 -0
  22. checkpoint-135/tokenizer.json +3 -0
  23. checkpoint-135/tokenizer_config.json +25 -0
  24. checkpoint-135/trainer_state.json +520 -0
  25. checkpoint-135/training_args.bin +3 -0
  26. checkpoint-50/README.md +209 -0
  27. checkpoint-50/adapter_config.json +43 -0
  28. checkpoint-50/adapter_model.safetensors +3 -0
  29. checkpoint-50/chat_template.jinja +47 -0
  30. checkpoint-50/optimizer.pt +3 -0
  31. checkpoint-50/rng_state.pth +3 -0
  32. checkpoint-50/scheduler.pt +3 -0
  33. checkpoint-50/tokenizer.json +3 -0
  34. checkpoint-50/tokenizer_config.json +25 -0
  35. checkpoint-50/trainer_state.json +214 -0
  36. checkpoint-50/training_args.bin +3 -0
  37. checkpoint-60/README.md +209 -0
  38. checkpoint-60/adapter_config.json +43 -0
  39. checkpoint-60/adapter_model.safetensors +3 -0
  40. checkpoint-60/chat_template.jinja +47 -0
  41. checkpoint-60/optimizer.pt +3 -0
  42. checkpoint-60/rng_state.pth +3 -0
  43. checkpoint-60/scheduler.pt +3 -0
  44. checkpoint-60/tokenizer.json +3 -0
  45. checkpoint-60/tokenizer_config.json +25 -0
  46. checkpoint-60/trainer_state.json +250 -0
  47. checkpoint-60/training_args.bin +3 -0
  48. config.json +109 -0
  49. generation_config.json +10 -0
  50. model.safetensors +3 -0
.gitattributes CHANGED
@@ -33,3 +33,8 @@ 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-100/tokenizer.json filter=lfs diff=lfs merge=lfs -text
37
+ checkpoint-135/tokenizer.json filter=lfs diff=lfs merge=lfs -text
38
+ checkpoint-50/tokenizer.json filter=lfs diff=lfs merge=lfs -text
39
+ checkpoint-60/tokenizer.json filter=lfs diff=lfs merge=lfs -text
40
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ model_name: aria-ft-dpo
4
+ tags:
5
+ - generated_from_trainer
6
+ - dpo
7
+ - trl
8
+ licence: license
9
+ ---
10
+
11
+ # Model Card for aria-ft-dpo
12
+
13
+ This model is a fine-tuned version of [None](https://huggingface.co/None).
14
+ It has been trained using [TRL](https://github.com/huggingface/trl).
15
+
16
+ ## Quick start
17
+
18
+ ```python
19
+ from transformers import pipeline
20
+
21
+ 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?"
22
+ generator = pipeline("text-generation", model="None", device="cuda")
23
+ output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
24
+ print(output["generated_text"])
25
+ ```
26
+
27
+ ## Training procedure
28
+
29
+
30
+
31
+
32
+
33
+ This model was trained with DPO, a method introduced in [Direct Preference Optimization: Your Language Model is Secretly a Reward Model](https://huggingface.co/papers/2305.18290).
34
+
35
+ ### Framework versions
36
+
37
+ - TRL: 1.3.0
38
+ - Transformers: 5.7.0
39
+ - Pytorch: 2.11.0
40
+ - Datasets: 4.8.5
41
+ - Tokenizers: 0.22.2
42
+
43
+ ## Citations
44
+
45
+ Cite DPO as:
46
+
47
+ ```bibtex
48
+ @inproceedings{rafailov2023direct,
49
+ title = {{Direct Preference Optimization: Your Language Model is Secretly a Reward Model}},
50
+ author = {Rafael Rafailov and Archit Sharma and Eric Mitchell and Christopher D. Manning and Stefano Ermon and Chelsea Finn},
51
+ year = 2023,
52
+ booktitle = {Advances in Neural Information Processing Systems 36: Annual Conference on Neural Information Processing Systems 2023, NeurIPS 2023, New Orleans, LA, USA, December 10 - 16, 2023},
53
+ url = {http://papers.nips.cc/paper_files/paper/2023/hash/a85b405ed65c6477a4fe8302b5e06ce7-Abstract-Conference.html},
54
+ editor = {Alice Oh and Tristan Naumann and Amir Globerson and Kate Saenko and Moritz Hardt and Sergey Levine},
55
+ }
56
+ ```
57
+
58
+ Cite TRL as:
59
+
60
+ ```bibtex
61
+ @software{vonwerra2020trl,
62
+ title = {{TRL: Transformers Reinforcement Learning}},
63
+ author = {von Werra, Leandro and Belkada, Younes and Tunstall, Lewis and Beeching, Edward and Thrush, Tristan and Lambert, Nathan and Huang, Shengyi and Rasul, Kashif and Gallouédec, Quentin},
64
+ license = {Apache-2.0},
65
+ url = {https://github.com/huggingface/trl},
66
+ year = {2020}
67
+ }
68
+ ```
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 -%}
checkpoint-100/README.md ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: data/models/aria-ft-sft
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:data/models/aria-ft-sft
7
+ - dpo
8
+ - lora
9
+ - transformers
10
+ - trl
11
+ ---
12
+
13
+ # Model Card for Model ID
14
+
15
+ <!-- Provide a quick summary of what the model is/does. -->
16
+
17
+
18
+
19
+ ## Model Details
20
+
21
+ ### Model Description
22
+
23
+ <!-- Provide a longer summary of what this model is. -->
24
+
25
+
26
+
27
+ - **Developed by:** [More Information Needed]
28
+ - **Funded by [optional]:** [More Information Needed]
29
+ - **Shared by [optional]:** [More Information Needed]
30
+ - **Model type:** [More Information Needed]
31
+ - **Language(s) (NLP):** [More Information Needed]
32
+ - **License:** [More Information Needed]
33
+ - **Finetuned from model [optional]:** [More Information Needed]
34
+
35
+ ### Model Sources [optional]
36
+
37
+ <!-- Provide the basic links for the model. -->
38
+
39
+ - **Repository:** [More Information Needed]
40
+ - **Paper [optional]:** [More Information Needed]
41
+ - **Demo [optional]:** [More Information Needed]
42
+
43
+ ## Uses
44
+
45
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
46
+
47
+ ### Direct Use
48
+
49
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
50
+
51
+ [More Information Needed]
52
+
53
+ ### Downstream Use [optional]
54
+
55
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
56
+
57
+ [More Information Needed]
58
+
59
+ ### Out-of-Scope Use
60
+
61
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
62
+
63
+ [More Information Needed]
64
+
65
+ ## Bias, Risks, and Limitations
66
+
67
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
68
+
69
+ [More Information Needed]
70
+
71
+ ### Recommendations
72
+
73
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
74
+
75
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
76
+
77
+ ## How to Get Started with the Model
78
+
79
+ Use the code below to get started with the model.
80
+
81
+ [More Information Needed]
82
+
83
+ ## Training Details
84
+
85
+ ### Training Data
86
+
87
+ <!-- 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. -->
88
+
89
+ [More Information Needed]
90
+
91
+ ### Training Procedure
92
+
93
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
94
+
95
+ #### Preprocessing [optional]
96
+
97
+ [More Information Needed]
98
+
99
+
100
+ #### Training Hyperparameters
101
+
102
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
103
+
104
+ #### Speeds, Sizes, Times [optional]
105
+
106
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
107
+
108
+ [More Information Needed]
109
+
110
+ ## Evaluation
111
+
112
+ <!-- This section describes the evaluation protocols and provides the results. -->
113
+
114
+ ### Testing Data, Factors & Metrics
115
+
116
+ #### Testing Data
117
+
118
+ <!-- This should link to a Dataset Card if possible. -->
119
+
120
+ [More Information Needed]
121
+
122
+ #### Factors
123
+
124
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
125
+
126
+ [More Information Needed]
127
+
128
+ #### Metrics
129
+
130
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
131
+
132
+ [More Information Needed]
133
+
134
+ ### Results
135
+
136
+ [More Information Needed]
137
+
138
+ #### Summary
139
+
140
+
141
+
142
+ ## Model Examination [optional]
143
+
144
+ <!-- Relevant interpretability work for the model goes here -->
145
+
146
+ [More Information Needed]
147
+
148
+ ## Environmental Impact
149
+
150
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
151
+
152
+ 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).
153
+
154
+ - **Hardware Type:** [More Information Needed]
155
+ - **Hours used:** [More Information Needed]
156
+ - **Cloud Provider:** [More Information Needed]
157
+ - **Compute Region:** [More Information Needed]
158
+ - **Carbon Emitted:** [More Information Needed]
159
+
160
+ ## Technical Specifications [optional]
161
+
162
+ ### Model Architecture and Objective
163
+
164
+ [More Information Needed]
165
+
166
+ ### Compute Infrastructure
167
+
168
+ [More Information Needed]
169
+
170
+ #### Hardware
171
+
172
+ [More Information Needed]
173
+
174
+ #### Software
175
+
176
+ [More Information Needed]
177
+
178
+ ## Citation [optional]
179
+
180
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
181
+
182
+ **BibTeX:**
183
+
184
+ [More Information Needed]
185
+
186
+ **APA:**
187
+
188
+ [More Information Needed]
189
+
190
+ ## Glossary [optional]
191
+
192
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
193
+
194
+ [More Information Needed]
195
+
196
+ ## More Information [optional]
197
+
198
+ [More Information Needed]
199
+
200
+ ## Model Card Authors [optional]
201
+
202
+ [More Information Needed]
203
+
204
+ ## Model Card Contact
205
+
206
+ [More Information Needed]
207
+ ### Framework versions
208
+
209
+ - PEFT 0.19.1
checkpoint-100/adapter_config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "data/models/aria-ft-sft",
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": 32,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "lora_ga_config": null,
23
+ "megatron_config": null,
24
+ "megatron_core": "megatron.core",
25
+ "modules_to_save": null,
26
+ "peft_type": "LORA",
27
+ "peft_version": "0.19.1",
28
+ "qalora_group_size": 16,
29
+ "r": 16,
30
+ "rank_pattern": {},
31
+ "revision": null,
32
+ "target_modules": [
33
+ "v_proj",
34
+ "q_proj"
35
+ ],
36
+ "target_parameters": null,
37
+ "task_type": "CAUSAL_LM",
38
+ "trainable_token_indices": null,
39
+ "use_bdlora": null,
40
+ "use_dora": false,
41
+ "use_qalora": false,
42
+ "use_rslora": false
43
+ }
checkpoint-100/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0efd89cc970fc0908572e2f25348eb8a00174db6e4282feddb428b58c46c199b
3
+ size 12931296
checkpoint-100/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 -%}
checkpoint-100/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa6278a3cd6ebf1b1208a057d4557901895e98c85343bfe03892e9a114407bae
3
+ size 17942731
checkpoint-100/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f196323d7423b60f8e4ceb7dbf8715ee326c0d068e5ff164f13c63b279b9f1a0
3
+ size 14645
checkpoint-100/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5c4e44404b58ce3af1b46c3d4a85a59edbbc386f340c476e894715a1199e1aed
3
+ size 1465
checkpoint-100/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:daab2354f8a74e70d70b4d1f804939b68a8c9624dd06cb7858e52dd8970e9726
3
+ size 33384567
checkpoint-100/tokenizer_config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "boi_token": "<start_of_image>",
4
+ "bos_token": "<bos>",
5
+ "clean_up_tokenization_spaces": false,
6
+ "eoi_token": "<end_of_image>",
7
+ "eos_token": "<eos>",
8
+ "image_token": "<image_soft_token>",
9
+ "is_local": true,
10
+ "local_files_only": false,
11
+ "mask_token": "<mask>",
12
+ "model_max_length": 1000000000000000019884624838656,
13
+ "model_specific_special_tokens": {
14
+ "boi_token": "<start_of_image>",
15
+ "eoi_token": "<end_of_image>",
16
+ "image_token": "<image_soft_token>"
17
+ },
18
+ "pad_token": "<pad>",
19
+ "processor_class": "Gemma3Processor",
20
+ "sp_model_kwargs": null,
21
+ "spaces_between_special_tokens": false,
22
+ "tokenizer_class": "GemmaTokenizer",
23
+ "unk_token": "<unk>",
24
+ "use_default_system_prompt": false
25
+ }
checkpoint-100/trainer_state.json ADDED
@@ -0,0 +1,394 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 6.689655172413794,
6
+ "eval_steps": 500,
7
+ "global_step": 100,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "entropy": 0.7935861229896546,
14
+ "epoch": 0.3448275862068966,
15
+ "grad_norm": 5.0625,
16
+ "learning_rate": 4.8e-05,
17
+ "logits/chosen": -4.007446998194211,
18
+ "logits/rejected": -4.111432883182067,
19
+ "logps/chosen": -471.74893646240236,
20
+ "logps/rejected": -173.62605743408204,
21
+ "loss": 0.5125677108764648,
22
+ "mean_token_accuracy": 0.5682478994131088,
23
+ "num_tokens": 11659.0,
24
+ "rewards/accuracies": 0.75,
25
+ "rewards/chosen": 0.6584509511245414,
26
+ "rewards/margins": 0.46967237079516055,
27
+ "rewards/rejected": 0.18877857606858015,
28
+ "step": 5
29
+ },
30
+ {
31
+ "entropy": 0.8235619857907295,
32
+ "epoch": 0.6896551724137931,
33
+ "grad_norm": 0.703125,
34
+ "learning_rate": 4.55e-05,
35
+ "logits/chosen": -3.770766021141263,
36
+ "logits/rejected": -3.977053060466863,
37
+ "logps/chosen": -428.3692001342773,
38
+ "logps/rejected": -166.3092363357544,
39
+ "loss": 0.09679355025291443,
40
+ "mean_token_accuracy": 0.5847053378820419,
41
+ "num_tokens": 23174.0,
42
+ "rewards/accuracies": 1.0,
43
+ "rewards/chosen": 3.5914027988910675,
44
+ "rewards/margins": 2.6518951922655107,
45
+ "rewards/rejected": 0.9395075976848603,
46
+ "step": 10
47
+ },
48
+ {
49
+ "entropy": 0.8904998931619856,
50
+ "epoch": 1.0,
51
+ "grad_norm": 0.1171875,
52
+ "learning_rate": 4.3e-05,
53
+ "logits/chosen": -3.701669782430722,
54
+ "logits/rejected": -4.094562449373758,
55
+ "logps/chosen": -413.61048210991754,
56
+ "logps/rejected": -158.8006969028049,
57
+ "loss": 0.009873698651790618,
58
+ "mean_token_accuracy": 0.588409294684728,
59
+ "num_tokens": 33972.0,
60
+ "rewards/accuracies": 1.0,
61
+ "rewards/chosen": 7.163314024607341,
62
+ "rewards/margins": 4.957976659138997,
63
+ "rewards/rejected": 2.2053373638126583,
64
+ "step": 15
65
+ },
66
+ {
67
+ "entropy": 0.93388631939888,
68
+ "epoch": 1.3448275862068966,
69
+ "grad_norm": 0.01708984375,
70
+ "learning_rate": 4.05e-05,
71
+ "logits/chosen": -3.515498939129551,
72
+ "logits/rejected": -3.9057978357629892,
73
+ "logps/chosen": -385.5538497924805,
74
+ "logps/rejected": -148.66188621520996,
75
+ "loss": 0.0015057120472192764,
76
+ "mean_token_accuracy": 0.5857352793216706,
77
+ "num_tokens": 45734.0,
78
+ "rewards/accuracies": 1.0,
79
+ "rewards/chosen": 9.765967106819152,
80
+ "rewards/margins": 6.95135418176651,
81
+ "rewards/rejected": 2.8146128758788107,
82
+ "step": 20
83
+ },
84
+ {
85
+ "entropy": 0.9550707444548607,
86
+ "epoch": 1.6896551724137931,
87
+ "grad_norm": 0.0234375,
88
+ "learning_rate": 3.8e-05,
89
+ "logits/chosen": -3.4727558104574365,
90
+ "logits/rejected": -3.84623566928028,
91
+ "logps/chosen": -361.4485481262207,
92
+ "logps/rejected": -146.26134338378907,
93
+ "loss": 0.000905947107821703,
94
+ "mean_token_accuracy": 0.591161236166954,
95
+ "num_tokens": 57498.0,
96
+ "rewards/accuracies": 1.0,
97
+ "rewards/chosen": 11.036408770084382,
98
+ "rewards/margins": 7.591825819015503,
99
+ "rewards/rejected": 3.4445829778909682,
100
+ "step": 25
101
+ },
102
+ {
103
+ "entropy": 1.000456228852272,
104
+ "epoch": 2.0,
105
+ "grad_norm": 0.0081787109375,
106
+ "learning_rate": 3.55e-05,
107
+ "logits/chosen": -3.3968431508762134,
108
+ "logits/rejected": -3.7621962730840672,
109
+ "logps/chosen": -359.68355136447485,
110
+ "logps/rejected": -141.86985800001355,
111
+ "loss": 0.0007186151575297117,
112
+ "mean_token_accuracy": 0.5946498264869055,
113
+ "num_tokens": 67944.0,
114
+ "rewards/accuracies": 1.0,
115
+ "rewards/chosen": 11.177175945705837,
116
+ "rewards/margins": 7.978424787521362,
117
+ "rewards/rejected": 3.198751082022985,
118
+ "step": 30
119
+ },
120
+ {
121
+ "entropy": 0.9751293674111366,
122
+ "epoch": 2.344827586206897,
123
+ "grad_norm": 0.00860595703125,
124
+ "learning_rate": 3.3e-05,
125
+ "logits/chosen": -3.380549045012162,
126
+ "logits/rejected": -3.7619534125984417,
127
+ "logps/chosen": -359.2783546447754,
128
+ "logps/rejected": -143.991379737854,
129
+ "loss": 0.0005051379092037677,
130
+ "mean_token_accuracy": 0.5927061937749386,
131
+ "num_tokens": 79630.0,
132
+ "rewards/accuracies": 1.0,
133
+ "rewards/chosen": 11.851354885101319,
134
+ "rewards/margins": 8.312449264526368,
135
+ "rewards/rejected": 3.538905668258667,
136
+ "step": 35
137
+ },
138
+ {
139
+ "entropy": 0.9894796743988991,
140
+ "epoch": 2.689655172413793,
141
+ "grad_norm": 0.00836181640625,
142
+ "learning_rate": 3.05e-05,
143
+ "logits/chosen": -3.4094987648490958,
144
+ "logits/rejected": -3.8709906737963586,
145
+ "logps/chosen": -355.86348724365234,
146
+ "logps/rejected": -142.16433296203613,
147
+ "loss": 0.0003436990547925234,
148
+ "mean_token_accuracy": 0.5933584332466125,
149
+ "num_tokens": 91583.0,
150
+ "rewards/accuracies": 1.0,
151
+ "rewards/chosen": 12.51960310935974,
152
+ "rewards/margins": 8.580410575866699,
153
+ "rewards/rejected": 3.939192494750023,
154
+ "step": 40
155
+ },
156
+ {
157
+ "entropy": 1.0504967404736414,
158
+ "epoch": 3.0,
159
+ "grad_norm": 0.01080322265625,
160
+ "learning_rate": 2.8000000000000003e-05,
161
+ "logits/chosen": -3.36502425275768,
162
+ "logits/rejected": -3.7324026401684187,
163
+ "logps/chosen": -346.72445593939887,
164
+ "logps/rejected": -136.11718813578287,
165
+ "loss": 0.0003958356101065874,
166
+ "mean_token_accuracy": 0.5880120148261389,
167
+ "num_tokens": 101916.0,
168
+ "rewards/accuracies": 1.0,
169
+ "rewards/chosen": 12.048056178622776,
170
+ "rewards/margins": 8.65420545472039,
171
+ "rewards/rejected": 3.393850710656908,
172
+ "step": 45
173
+ },
174
+ {
175
+ "entropy": 1.01220805644989,
176
+ "epoch": 3.344827586206897,
177
+ "grad_norm": 0.006805419921875,
178
+ "learning_rate": 2.5500000000000003e-05,
179
+ "logits/chosen": -3.3868815911927768,
180
+ "logits/rejected": -3.742613550857216,
181
+ "logps/chosen": -355.06092681884763,
182
+ "logps/rejected": -136.23973789215088,
183
+ "loss": 0.000314924237318337,
184
+ "mean_token_accuracy": 0.5929604865610599,
185
+ "num_tokens": 113677.0,
186
+ "rewards/accuracies": 1.0,
187
+ "rewards/chosen": 12.345191144943238,
188
+ "rewards/margins": 8.660565280914307,
189
+ "rewards/rejected": 3.6846258997917176,
190
+ "step": 50
191
+ },
192
+ {
193
+ "entropy": 0.9930158525705337,
194
+ "epoch": 3.689655172413793,
195
+ "grad_norm": 0.00958251953125,
196
+ "learning_rate": 2.3000000000000003e-05,
197
+ "logits/chosen": -3.3474578022314185,
198
+ "logits/rejected": -3.7326277215029195,
199
+ "logps/chosen": -347.77015380859376,
200
+ "logps/rejected": -142.32026901245118,
201
+ "loss": 0.00043723396956920626,
202
+ "mean_token_accuracy": 0.600645287334919,
203
+ "num_tokens": 125383.0,
204
+ "rewards/accuracies": 1.0,
205
+ "rewards/chosen": 12.202914929389953,
206
+ "rewards/margins": 8.495901811122895,
207
+ "rewards/rejected": 3.707013100385666,
208
+ "step": 55
209
+ },
210
+ {
211
+ "entropy": 1.0284520834684372,
212
+ "epoch": 4.0,
213
+ "grad_norm": 0.0159912109375,
214
+ "learning_rate": 2.05e-05,
215
+ "logits/chosen": -3.3911868677866988,
216
+ "logits/rejected": -3.879937585420405,
217
+ "logps/chosen": -353.35245090060766,
218
+ "logps/rejected": -142.19803449842664,
219
+ "loss": 0.00034696566872298716,
220
+ "mean_token_accuracy": 0.5808572901619805,
221
+ "num_tokens": 135888.0,
222
+ "rewards/accuracies": 1.0,
223
+ "rewards/chosen": 12.55628784497579,
224
+ "rewards/margins": 8.83048865530226,
225
+ "rewards/rejected": 3.725799196296268,
226
+ "step": 60
227
+ },
228
+ {
229
+ "entropy": 0.9992264002561569,
230
+ "epoch": 4.344827586206897,
231
+ "grad_norm": 0.004302978515625,
232
+ "learning_rate": 1.8e-05,
233
+ "logits/chosen": -3.347245438745982,
234
+ "logits/rejected": -3.777001193182941,
235
+ "logps/chosen": -347.93334274291993,
236
+ "logps/rejected": -139.33049812316895,
237
+ "loss": 0.0003306626807898283,
238
+ "mean_token_accuracy": 0.5913299791514873,
239
+ "num_tokens": 147560.0,
240
+ "rewards/accuracies": 1.0,
241
+ "rewards/chosen": 12.145365619659424,
242
+ "rewards/margins": 8.691704177856446,
243
+ "rewards/rejected": 3.4536614298820494,
244
+ "step": 65
245
+ },
246
+ {
247
+ "entropy": 1.0325676158070565,
248
+ "epoch": 4.689655172413794,
249
+ "grad_norm": 0.006927490234375,
250
+ "learning_rate": 1.55e-05,
251
+ "logits/chosen": -3.3495644466137042,
252
+ "logits/rejected": -3.7736230068284753,
253
+ "logps/chosen": -355.5695266723633,
254
+ "logps/rejected": -140.7855079650879,
255
+ "loss": 0.0003685819683596492,
256
+ "mean_token_accuracy": 0.5904536455869674,
257
+ "num_tokens": 159219.0,
258
+ "rewards/accuracies": 1.0,
259
+ "rewards/chosen": 12.21111993789673,
260
+ "rewards/margins": 8.628398954868317,
261
+ "rewards/rejected": 3.582720997929573,
262
+ "step": 70
263
+ },
264
+ {
265
+ "entropy": 0.998895494474305,
266
+ "epoch": 5.0,
267
+ "grad_norm": 0.0025177001953125,
268
+ "learning_rate": 1.3000000000000001e-05,
269
+ "logits/chosen": -3.4303033975940433,
270
+ "logits/rejected": -3.7985490847090535,
271
+ "logps/chosen": -352.206903245714,
272
+ "logps/rejected": -140.3814148373074,
273
+ "loss": 0.00032770405523478984,
274
+ "mean_token_accuracy": 0.5949484490685992,
275
+ "num_tokens": 169860.0,
276
+ "rewards/accuracies": 1.0,
277
+ "rewards/chosen": 12.80911119778951,
278
+ "rewards/margins": 8.679809384875828,
279
+ "rewards/rejected": 4.12930182284779,
280
+ "step": 75
281
+ },
282
+ {
283
+ "entropy": 0.9812990128993988,
284
+ "epoch": 5.344827586206897,
285
+ "grad_norm": 0.003173828125,
286
+ "learning_rate": 1.05e-05,
287
+ "logits/chosen": -3.420436977397286,
288
+ "logits/rejected": -3.745464290129913,
289
+ "logps/chosen": -354.4942123413086,
290
+ "logps/rejected": -141.51624279022218,
291
+ "loss": 0.00027657533064484596,
292
+ "mean_token_accuracy": 0.601226168870926,
293
+ "num_tokens": 181770.0,
294
+ "rewards/accuracies": 1.0,
295
+ "rewards/chosen": 12.855251288414001,
296
+ "rewards/margins": 9.028668785095215,
297
+ "rewards/rejected": 3.826582506299019,
298
+ "step": 80
299
+ },
300
+ {
301
+ "entropy": 1.0137892261147499,
302
+ "epoch": 5.689655172413794,
303
+ "grad_norm": 0.0093994140625,
304
+ "learning_rate": 8.000000000000001e-06,
305
+ "logits/chosen": -3.3323429011829147,
306
+ "logits/rejected": -3.851841452987793,
307
+ "logps/chosen": -347.1164161682129,
308
+ "logps/rejected": -139.89001064300538,
309
+ "loss": 0.000323146372102201,
310
+ "mean_token_accuracy": 0.5889961808919907,
311
+ "num_tokens": 193375.0,
312
+ "rewards/accuracies": 1.0,
313
+ "rewards/chosen": 12.292453861236572,
314
+ "rewards/margins": 8.635055756568908,
315
+ "rewards/rejected": 3.6573980897665024,
316
+ "step": 85
317
+ },
318
+ {
319
+ "entropy": 1.0396647685103946,
320
+ "epoch": 6.0,
321
+ "grad_norm": 0.0179443359375,
322
+ "learning_rate": 5.500000000000001e-06,
323
+ "logits/chosen": -3.372452634571764,
324
+ "logits/rejected": -3.7438357628088963,
325
+ "logps/chosen": -354.4196319580078,
326
+ "logps/rejected": -139.0562195248074,
327
+ "loss": 0.0004979531280696392,
328
+ "mean_token_accuracy": 0.5837964490056038,
329
+ "num_tokens": 203832.0,
330
+ "rewards/accuracies": 1.0,
331
+ "rewards/chosen": 11.918954292933146,
332
+ "rewards/margins": 8.29782505830129,
333
+ "rewards/rejected": 3.621129294236501,
334
+ "step": 90
335
+ },
336
+ {
337
+ "entropy": 1.0393116056919098,
338
+ "epoch": 6.344827586206897,
339
+ "grad_norm": 0.00518798828125,
340
+ "learning_rate": 3e-06,
341
+ "logits/chosen": -3.360836368420224,
342
+ "logits/rejected": -3.734754671897479,
343
+ "logps/chosen": -356.809147644043,
344
+ "logps/rejected": -140.77989463806153,
345
+ "loss": 0.00042734318412840366,
346
+ "mean_token_accuracy": 0.5832010932266712,
347
+ "num_tokens": 215382.0,
348
+ "rewards/accuracies": 1.0,
349
+ "rewards/chosen": 12.140155410766601,
350
+ "rewards/margins": 8.665791845321655,
351
+ "rewards/rejected": 3.4743634849786758,
352
+ "step": 95
353
+ },
354
+ {
355
+ "entropy": 0.9969131574034691,
356
+ "epoch": 6.689655172413794,
357
+ "grad_norm": 0.004150390625,
358
+ "learning_rate": 5.000000000000001e-07,
359
+ "logits/chosen": -3.350688554334807,
360
+ "logits/rejected": -3.8668883818162825,
361
+ "logps/chosen": -354.6611267089844,
362
+ "logps/rejected": -138.6419864654541,
363
+ "loss": 0.0003045067191123962,
364
+ "mean_token_accuracy": 0.5958905071020126,
365
+ "num_tokens": 227310.0,
366
+ "rewards/accuracies": 1.0,
367
+ "rewards/chosen": 12.683370137214661,
368
+ "rewards/margins": 8.687329852581025,
369
+ "rewards/rejected": 3.996040293574333,
370
+ "step": 100
371
+ }
372
+ ],
373
+ "logging_steps": 5,
374
+ "max_steps": 100,
375
+ "num_input_tokens_seen": 0,
376
+ "num_train_epochs": 7,
377
+ "save_steps": 100,
378
+ "stateful_callbacks": {
379
+ "TrainerControl": {
380
+ "args": {
381
+ "should_epoch_stop": false,
382
+ "should_evaluate": false,
383
+ "should_log": false,
384
+ "should_save": true,
385
+ "should_training_stop": true
386
+ },
387
+ "attributes": {}
388
+ }
389
+ },
390
+ "total_flos": 6729220104441984.0,
391
+ "train_batch_size": 1,
392
+ "trial_name": null,
393
+ "trial_params": null
394
+ }
checkpoint-100/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eecdd7063df6d938396a107c5c6396d070a154f2fb363182000b92d366e0a7f4
3
+ size 5905
checkpoint-135/README.md ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: data/models/aria-ft-sft
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:data/models/aria-ft-sft
7
+ - dpo
8
+ - lora
9
+ - transformers
10
+ - trl
11
+ ---
12
+
13
+ # Model Card for Model ID
14
+
15
+ <!-- Provide a quick summary of what the model is/does. -->
16
+
17
+
18
+
19
+ ## Model Details
20
+
21
+ ### Model Description
22
+
23
+ <!-- Provide a longer summary of what this model is. -->
24
+
25
+
26
+
27
+ - **Developed by:** [More Information Needed]
28
+ - **Funded by [optional]:** [More Information Needed]
29
+ - **Shared by [optional]:** [More Information Needed]
30
+ - **Model type:** [More Information Needed]
31
+ - **Language(s) (NLP):** [More Information Needed]
32
+ - **License:** [More Information Needed]
33
+ - **Finetuned from model [optional]:** [More Information Needed]
34
+
35
+ ### Model Sources [optional]
36
+
37
+ <!-- Provide the basic links for the model. -->
38
+
39
+ - **Repository:** [More Information Needed]
40
+ - **Paper [optional]:** [More Information Needed]
41
+ - **Demo [optional]:** [More Information Needed]
42
+
43
+ ## Uses
44
+
45
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
46
+
47
+ ### Direct Use
48
+
49
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
50
+
51
+ [More Information Needed]
52
+
53
+ ### Downstream Use [optional]
54
+
55
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
56
+
57
+ [More Information Needed]
58
+
59
+ ### Out-of-Scope Use
60
+
61
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
62
+
63
+ [More Information Needed]
64
+
65
+ ## Bias, Risks, and Limitations
66
+
67
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
68
+
69
+ [More Information Needed]
70
+
71
+ ### Recommendations
72
+
73
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
74
+
75
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
76
+
77
+ ## How to Get Started with the Model
78
+
79
+ Use the code below to get started with the model.
80
+
81
+ [More Information Needed]
82
+
83
+ ## Training Details
84
+
85
+ ### Training Data
86
+
87
+ <!-- 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. -->
88
+
89
+ [More Information Needed]
90
+
91
+ ### Training Procedure
92
+
93
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
94
+
95
+ #### Preprocessing [optional]
96
+
97
+ [More Information Needed]
98
+
99
+
100
+ #### Training Hyperparameters
101
+
102
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
103
+
104
+ #### Speeds, Sizes, Times [optional]
105
+
106
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
107
+
108
+ [More Information Needed]
109
+
110
+ ## Evaluation
111
+
112
+ <!-- This section describes the evaluation protocols and provides the results. -->
113
+
114
+ ### Testing Data, Factors & Metrics
115
+
116
+ #### Testing Data
117
+
118
+ <!-- This should link to a Dataset Card if possible. -->
119
+
120
+ [More Information Needed]
121
+
122
+ #### Factors
123
+
124
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
125
+
126
+ [More Information Needed]
127
+
128
+ #### Metrics
129
+
130
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
131
+
132
+ [More Information Needed]
133
+
134
+ ### Results
135
+
136
+ [More Information Needed]
137
+
138
+ #### Summary
139
+
140
+
141
+
142
+ ## Model Examination [optional]
143
+
144
+ <!-- Relevant interpretability work for the model goes here -->
145
+
146
+ [More Information Needed]
147
+
148
+ ## Environmental Impact
149
+
150
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
151
+
152
+ 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).
153
+
154
+ - **Hardware Type:** [More Information Needed]
155
+ - **Hours used:** [More Information Needed]
156
+ - **Cloud Provider:** [More Information Needed]
157
+ - **Compute Region:** [More Information Needed]
158
+ - **Carbon Emitted:** [More Information Needed]
159
+
160
+ ## Technical Specifications [optional]
161
+
162
+ ### Model Architecture and Objective
163
+
164
+ [More Information Needed]
165
+
166
+ ### Compute Infrastructure
167
+
168
+ [More Information Needed]
169
+
170
+ #### Hardware
171
+
172
+ [More Information Needed]
173
+
174
+ #### Software
175
+
176
+ [More Information Needed]
177
+
178
+ ## Citation [optional]
179
+
180
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
181
+
182
+ **BibTeX:**
183
+
184
+ [More Information Needed]
185
+
186
+ **APA:**
187
+
188
+ [More Information Needed]
189
+
190
+ ## Glossary [optional]
191
+
192
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
193
+
194
+ [More Information Needed]
195
+
196
+ ## More Information [optional]
197
+
198
+ [More Information Needed]
199
+
200
+ ## Model Card Authors [optional]
201
+
202
+ [More Information Needed]
203
+
204
+ ## Model Card Contact
205
+
206
+ [More Information Needed]
207
+ ### Framework versions
208
+
209
+ - PEFT 0.19.1
checkpoint-135/adapter_config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "data/models/aria-ft-sft",
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": 32,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "lora_ga_config": null,
23
+ "megatron_config": null,
24
+ "megatron_core": "megatron.core",
25
+ "modules_to_save": null,
26
+ "peft_type": "LORA",
27
+ "peft_version": "0.19.1",
28
+ "qalora_group_size": 16,
29
+ "r": 16,
30
+ "rank_pattern": {},
31
+ "revision": null,
32
+ "target_modules": [
33
+ "q_proj",
34
+ "v_proj"
35
+ ],
36
+ "target_parameters": null,
37
+ "task_type": "CAUSAL_LM",
38
+ "trainable_token_indices": null,
39
+ "use_bdlora": null,
40
+ "use_dora": false,
41
+ "use_qalora": false,
42
+ "use_rslora": false
43
+ }
checkpoint-135/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e449aece674300bf0e196eb2915ba3072b22335be8173f33af845d287aebd341
3
+ size 12931296
checkpoint-135/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 -%}
checkpoint-135/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c38cdd4430bc66fb6bcc6a26a112705365a2af2b7c0d407d6f39215a161ecbca
3
+ size 17942731
checkpoint-135/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4a9f217e852f439efa6bd32fde98d6867f11aa6ea13ddc021ba10af6a0b0934
3
+ size 14645
checkpoint-135/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a1cc3a4ab8801dd76de1fb4bc5a1bab0900b2f86bee30058e7c5e95f519ebfcf
3
+ size 1465
checkpoint-135/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:daab2354f8a74e70d70b4d1f804939b68a8c9624dd06cb7858e52dd8970e9726
3
+ size 33384567
checkpoint-135/tokenizer_config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "boi_token": "<start_of_image>",
4
+ "bos_token": "<bos>",
5
+ "clean_up_tokenization_spaces": false,
6
+ "eoi_token": "<end_of_image>",
7
+ "eos_token": "<eos>",
8
+ "image_token": "<image_soft_token>",
9
+ "is_local": true,
10
+ "local_files_only": false,
11
+ "mask_token": "<mask>",
12
+ "model_max_length": 1000000000000000019884624838656,
13
+ "model_specific_special_tokens": {
14
+ "boi_token": "<start_of_image>",
15
+ "eoi_token": "<end_of_image>",
16
+ "image_token": "<image_soft_token>"
17
+ },
18
+ "pad_token": "<pad>",
19
+ "processor_class": "Gemma3Processor",
20
+ "sp_model_kwargs": null,
21
+ "spaces_between_special_tokens": false,
22
+ "tokenizer_class": "GemmaTokenizer",
23
+ "unk_token": "<unk>",
24
+ "use_default_system_prompt": false
25
+ }
checkpoint-135/trainer_state.json ADDED
@@ -0,0 +1,520 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 3.0,
6
+ "eval_steps": 500,
7
+ "global_step": 135,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "entropy": 0.3847092197276652,
14
+ "epoch": 0.1111111111111111,
15
+ "grad_norm": 9.125,
16
+ "learning_rate": 1.9407407407407407e-05,
17
+ "logits/chosen": -4.885123966774574,
18
+ "logits/rejected": -5.1270562646178774,
19
+ "logps/chosen": -158.49386949539183,
20
+ "logps/rejected": -121.08237323760986,
21
+ "loss": 0.6680909156799316,
22
+ "mean_token_accuracy": 0.7906534194946289,
23
+ "num_tokens": 9886.0,
24
+ "rewards/accuracies": 0.525,
25
+ "rewards/chosen": 0.005077153391175671,
26
+ "rewards/margins": 0.05780954551883042,
27
+ "rewards/rejected": -0.052732392022153365,
28
+ "step": 5
29
+ },
30
+ {
31
+ "entropy": 0.3929780837148428,
32
+ "epoch": 0.2222222222222222,
33
+ "grad_norm": 7.65625,
34
+ "learning_rate": 1.866666666666667e-05,
35
+ "logits/chosen": -4.828267853297093,
36
+ "logits/rejected": -5.127053542949903,
37
+ "logps/chosen": -156.8652853012085,
38
+ "logps/rejected": -134.7806537628174,
39
+ "loss": 0.42449655532836916,
40
+ "mean_token_accuracy": 0.7939460828900338,
41
+ "num_tokens": 19712.0,
42
+ "rewards/accuracies": 1.0,
43
+ "rewards/chosen": 0.2097376121673733,
44
+ "rewards/margins": 0.6777558078989386,
45
+ "rewards/rejected": -0.468018195554032,
46
+ "step": 10
47
+ },
48
+ {
49
+ "entropy": 0.338850056566298,
50
+ "epoch": 0.3333333333333333,
51
+ "grad_norm": 5.15625,
52
+ "learning_rate": 1.7925925925925927e-05,
53
+ "logits/chosen": -5.028701342243549,
54
+ "logits/rejected": -5.435351208367371,
55
+ "logps/chosen": -131.43772993087768,
56
+ "logps/rejected": -127.4791706085205,
57
+ "loss": 0.24627490043640138,
58
+ "mean_token_accuracy": 0.8101926892995834,
59
+ "num_tokens": 29323.0,
60
+ "rewards/accuracies": 1.0,
61
+ "rewards/chosen": 0.3851022788323462,
62
+ "rewards/margins": 1.4705152098089456,
63
+ "rewards/rejected": -1.0854129238054155,
64
+ "step": 15
65
+ },
66
+ {
67
+ "entropy": 0.26730762515217066,
68
+ "epoch": 0.4444444444444444,
69
+ "grad_norm": 1.625,
70
+ "learning_rate": 1.7185185185185185e-05,
71
+ "logits/chosen": -5.2203684086809305,
72
+ "logits/rejected": -5.50024154494532,
73
+ "logps/chosen": -110.35588598251343,
74
+ "logps/rejected": -139.20155849456788,
75
+ "loss": 0.11154030561447144,
76
+ "mean_token_accuracy": 0.8486447870731354,
77
+ "num_tokens": 38958.0,
78
+ "rewards/accuracies": 1.0,
79
+ "rewards/chosen": 0.628392239799723,
80
+ "rewards/margins": 2.5915900975465775,
81
+ "rewards/rejected": -1.9631978537887336,
82
+ "step": 20
83
+ },
84
+ {
85
+ "entropy": 0.38323604678735135,
86
+ "epoch": 0.5555555555555556,
87
+ "grad_norm": 1.3671875,
88
+ "learning_rate": 1.6444444444444444e-05,
89
+ "logits/chosen": -5.028822769720685,
90
+ "logits/rejected": -5.223528454144411,
91
+ "logps/chosen": -158.7658320426941,
92
+ "logps/rejected": -128.570237159729,
93
+ "loss": 0.07294961810112,
94
+ "mean_token_accuracy": 0.8030859053134918,
95
+ "num_tokens": 49048.0,
96
+ "rewards/accuracies": 1.0,
97
+ "rewards/chosen": 1.5944283031858504,
98
+ "rewards/margins": 3.1330706253647804,
99
+ "rewards/rejected": -1.538642304390669,
100
+ "step": 25
101
+ },
102
+ {
103
+ "entropy": 0.380564391054213,
104
+ "epoch": 0.6666666666666666,
105
+ "grad_norm": 0.8828125,
106
+ "learning_rate": 1.5703703703703705e-05,
107
+ "logits/chosen": -4.957261663249699,
108
+ "logits/rejected": -5.23616631647916,
109
+ "logps/chosen": -141.71369543075562,
110
+ "logps/rejected": -136.54375,
111
+ "loss": 0.05011730194091797,
112
+ "mean_token_accuracy": 0.8009175747632981,
113
+ "num_tokens": 58939.0,
114
+ "rewards/accuracies": 1.0,
115
+ "rewards/chosen": 2.2282287888228893,
116
+ "rewards/margins": 3.826947730779648,
117
+ "rewards/rejected": -1.5987189412117004,
118
+ "step": 30
119
+ },
120
+ {
121
+ "entropy": 0.5169597734697163,
122
+ "epoch": 0.7777777777777778,
123
+ "grad_norm": 3.671875,
124
+ "learning_rate": 1.4962962962962964e-05,
125
+ "logits/chosen": -4.6997975165115635,
126
+ "logits/rejected": -5.029099791034667,
127
+ "logps/chosen": -181.9060929298401,
128
+ "logps/rejected": -138.3939012527466,
129
+ "loss": 0.03964149057865143,
130
+ "mean_token_accuracy": 0.7527312003076077,
131
+ "num_tokens": 69119.0,
132
+ "rewards/accuracies": 1.0,
133
+ "rewards/chosen": 3.5208606626838446,
134
+ "rewards/margins": 4.38912188410759,
135
+ "rewards/rejected": -0.8682612210512162,
136
+ "step": 35
137
+ },
138
+ {
139
+ "entropy": 0.3221268252469599,
140
+ "epoch": 0.8888888888888888,
141
+ "grad_norm": 0.2255859375,
142
+ "learning_rate": 1.4222222222222224e-05,
143
+ "logits/chosen": -5.15146982525422,
144
+ "logits/rejected": -5.51558997221156,
145
+ "logps/chosen": -126.08706741333008,
146
+ "logps/rejected": -130.62417697906494,
147
+ "loss": 0.02573828101158142,
148
+ "mean_token_accuracy": 0.8234837621450424,
149
+ "num_tokens": 79017.0,
150
+ "rewards/accuracies": 1.0,
151
+ "rewards/chosen": 2.930635741353035,
152
+ "rewards/margins": 5.160017335414887,
153
+ "rewards/rejected": -2.22938157916069,
154
+ "step": 40
155
+ },
156
+ {
157
+ "entropy": 0.3421414390206337,
158
+ "epoch": 1.0,
159
+ "grad_norm": 0.1083984375,
160
+ "learning_rate": 1.3481481481481482e-05,
161
+ "logits/chosen": -5.156180893981231,
162
+ "logits/rejected": -5.384254451849773,
163
+ "logps/chosen": -138.75859479904176,
164
+ "logps/rejected": -139.98251609802247,
165
+ "loss": 0.01194305494427681,
166
+ "mean_token_accuracy": 0.8202281922101975,
167
+ "num_tokens": 89078.0,
168
+ "rewards/accuracies": 1.0,
169
+ "rewards/chosen": 3.1425785372965036,
170
+ "rewards/margins": 5.660494846105576,
171
+ "rewards/rejected": -2.5179163038730623,
172
+ "step": 45
173
+ },
174
+ {
175
+ "entropy": 0.30250622164458035,
176
+ "epoch": 1.1111111111111112,
177
+ "grad_norm": 0.70703125,
178
+ "learning_rate": 1.2740740740740742e-05,
179
+ "logits/chosen": -5.289744471980145,
180
+ "logits/rejected": -5.602541218371521,
181
+ "logps/chosen": -114.58103532791138,
182
+ "logps/rejected": -139.44555015563964,
183
+ "loss": 0.007524536550045013,
184
+ "mean_token_accuracy": 0.8363645195960998,
185
+ "num_tokens": 98826.0,
186
+ "rewards/accuracies": 1.0,
187
+ "rewards/chosen": 2.5273715522140265,
188
+ "rewards/margins": 5.879914045333862,
189
+ "rewards/rejected": -3.35254248380661,
190
+ "step": 50
191
+ },
192
+ {
193
+ "entropy": 0.35719655752182006,
194
+ "epoch": 1.2222222222222223,
195
+ "grad_norm": 0.1328125,
196
+ "learning_rate": 1.2e-05,
197
+ "logits/chosen": -5.1927954861206524,
198
+ "logits/rejected": -5.204662941880118,
199
+ "logps/chosen": -137.08301887512206,
200
+ "logps/rejected": -131.85167694091797,
201
+ "loss": 0.009242907166481018,
202
+ "mean_token_accuracy": 0.8156318858265876,
203
+ "num_tokens": 108732.0,
204
+ "rewards/accuracies": 1.0,
205
+ "rewards/chosen": 3.8932553085498514,
206
+ "rewards/margins": 5.934962052106857,
207
+ "rewards/rejected": -2.041706770658493,
208
+ "step": 55
209
+ },
210
+ {
211
+ "entropy": 0.37963976208120587,
212
+ "epoch": 1.3333333333333333,
213
+ "grad_norm": 0.11181640625,
214
+ "learning_rate": 1.125925925925926e-05,
215
+ "logits/chosen": -5.041228718573622,
216
+ "logits/rejected": -5.33423051260696,
217
+ "logps/chosen": -141.2979410171509,
218
+ "logps/rejected": -142.37700386047362,
219
+ "loss": 0.0046984534710645676,
220
+ "mean_token_accuracy": 0.8114737182855606,
221
+ "num_tokens": 118755.0,
222
+ "rewards/accuracies": 1.0,
223
+ "rewards/chosen": 3.4130684825591744,
224
+ "rewards/margins": 6.152735310792923,
225
+ "rewards/rejected": -2.73966683447361,
226
+ "step": 60
227
+ },
228
+ {
229
+ "entropy": 0.46611395105719566,
230
+ "epoch": 1.4444444444444444,
231
+ "grad_norm": 0.34375,
232
+ "learning_rate": 1.0518518518518519e-05,
233
+ "logits/chosen": -4.849528463953343,
234
+ "logits/rejected": -5.256960167783497,
235
+ "logps/chosen": -147.61933441162108,
236
+ "logps/rejected": -140.91876430511473,
237
+ "loss": 0.006713083386421204,
238
+ "mean_token_accuracy": 0.7804476261138916,
239
+ "num_tokens": 128631.0,
240
+ "rewards/accuracies": 1.0,
241
+ "rewards/chosen": 3.9182209906168284,
242
+ "rewards/margins": 5.857921981811524,
243
+ "rewards/rejected": -1.9397010073065757,
244
+ "step": 65
245
+ },
246
+ {
247
+ "entropy": 0.2871916053816676,
248
+ "epoch": 1.5555555555555556,
249
+ "grad_norm": 0.059326171875,
250
+ "learning_rate": 9.777777777777779e-06,
251
+ "logits/chosen": -5.2217503776900935,
252
+ "logits/rejected": -5.593685073313231,
253
+ "logps/chosen": -102.35045728683471,
254
+ "logps/rejected": -145.3573398590088,
255
+ "loss": 0.003894594311714172,
256
+ "mean_token_accuracy": 0.8443350821733475,
257
+ "num_tokens": 138274.0,
258
+ "rewards/accuracies": 1.0,
259
+ "rewards/chosen": 2.543359859660268,
260
+ "rewards/margins": 6.292724764347076,
261
+ "rewards/rejected": -3.7493649244308473,
262
+ "step": 70
263
+ },
264
+ {
265
+ "entropy": 0.4787766240537167,
266
+ "epoch": 1.6666666666666665,
267
+ "grad_norm": 0.06640625,
268
+ "learning_rate": 9.037037037037037e-06,
269
+ "logits/chosen": -4.776332851292631,
270
+ "logits/rejected": -5.186666890664824,
271
+ "logps/chosen": -157.0829038619995,
272
+ "logps/rejected": -139.26881351470948,
273
+ "loss": 0.005699554830789566,
274
+ "mean_token_accuracy": 0.782428502291441,
275
+ "num_tokens": 148499.0,
276
+ "rewards/accuracies": 1.0,
277
+ "rewards/chosen": 4.594912226591259,
278
+ "rewards/margins": 6.162280440330505,
279
+ "rewards/rejected": -1.5673681855201722,
280
+ "step": 75
281
+ },
282
+ {
283
+ "entropy": 0.44437767583876847,
284
+ "epoch": 1.7777777777777777,
285
+ "grad_norm": 0.11181640625,
286
+ "learning_rate": 8.296296296296297e-06,
287
+ "logits/chosen": -4.855933510461718,
288
+ "logits/rejected": -5.266161387721932,
289
+ "logps/chosen": -159.03973083496095,
290
+ "logps/rejected": -134.62970504760742,
291
+ "loss": 0.005957455560564995,
292
+ "mean_token_accuracy": 0.7810968108475208,
293
+ "num_tokens": 158605.0,
294
+ "rewards/accuracies": 1.0,
295
+ "rewards/chosen": 4.2852000228129326,
296
+ "rewards/margins": 6.133232879638672,
297
+ "rewards/rejected": -1.8480328619480133,
298
+ "step": 80
299
+ },
300
+ {
301
+ "entropy": 0.37488885726779697,
302
+ "epoch": 1.8888888888888888,
303
+ "grad_norm": 0.05712890625,
304
+ "learning_rate": 7.555555555555556e-06,
305
+ "logits/chosen": -5.033377405184649,
306
+ "logits/rejected": -5.268708712912721,
307
+ "logps/chosen": -130.94030866622924,
308
+ "logps/rejected": -136.1019260406494,
309
+ "loss": 0.003259475901722908,
310
+ "mean_token_accuracy": 0.8084902346134186,
311
+ "num_tokens": 168481.0,
312
+ "rewards/accuracies": 1.0,
313
+ "rewards/chosen": 3.99751735040918,
314
+ "rewards/margins": 6.223078119754791,
315
+ "rewards/rejected": -2.2255607724189757,
316
+ "step": 85
317
+ },
318
+ {
319
+ "entropy": 0.3812096565961838,
320
+ "epoch": 2.0,
321
+ "grad_norm": 0.1748046875,
322
+ "learning_rate": 6.814814814814815e-06,
323
+ "logits/chosen": -5.115266960797761,
324
+ "logits/rejected": -5.4317961796590755,
325
+ "logps/chosen": -123.69483127593995,
326
+ "logps/rejected": -134.99574127197266,
327
+ "loss": 0.005838125199079514,
328
+ "mean_token_accuracy": 0.8094184212386608,
329
+ "num_tokens": 178156.0,
330
+ "rewards/accuracies": 1.0,
331
+ "rewards/chosen": 3.6110342731699347,
332
+ "rewards/margins": 6.127008867263794,
333
+ "rewards/rejected": -2.515974608063698,
334
+ "step": 90
335
+ },
336
+ {
337
+ "entropy": 0.48049051789566877,
338
+ "epoch": 2.111111111111111,
339
+ "grad_norm": 0.06298828125,
340
+ "learning_rate": 6.0740740740740745e-06,
341
+ "logits/chosen": -4.754851989808321,
342
+ "logits/rejected": -5.108402855816343,
343
+ "logps/chosen": -150.79896955490113,
344
+ "logps/rejected": -137.2414821624756,
345
+ "loss": 0.0049744863063097,
346
+ "mean_token_accuracy": 0.7772506453096867,
347
+ "num_tokens": 188087.0,
348
+ "rewards/accuracies": 1.0,
349
+ "rewards/chosen": 4.416545544657856,
350
+ "rewards/margins": 6.014387732744217,
351
+ "rewards/rejected": -1.5978421807289123,
352
+ "step": 95
353
+ },
354
+ {
355
+ "entropy": 0.3937450809404254,
356
+ "epoch": 2.2222222222222223,
357
+ "grad_norm": 0.04931640625,
358
+ "learning_rate": 5.333333333333334e-06,
359
+ "logits/chosen": -4.987015212180383,
360
+ "logits/rejected": -5.31882650873857,
361
+ "logps/chosen": -147.39776992797852,
362
+ "logps/rejected": -140.32675018310547,
363
+ "loss": 0.0032551392912864687,
364
+ "mean_token_accuracy": 0.8052853919565678,
365
+ "num_tokens": 198181.0,
366
+ "rewards/accuracies": 1.0,
367
+ "rewards/chosen": 4.012734616734088,
368
+ "rewards/margins": 6.379687869548798,
369
+ "rewards/rejected": -2.3669532597064973,
370
+ "step": 100
371
+ },
372
+ {
373
+ "entropy": 0.47445099698379634,
374
+ "epoch": 2.3333333333333335,
375
+ "grad_norm": 0.2197265625,
376
+ "learning_rate": 4.592592592592593e-06,
377
+ "logits/chosen": -4.872802370742442,
378
+ "logits/rejected": -5.133891665969566,
379
+ "logps/chosen": -148.45297689437865,
380
+ "logps/rejected": -136.64771842956543,
381
+ "loss": 0.004790737852454185,
382
+ "mean_token_accuracy": 0.7806533187627792,
383
+ "num_tokens": 208026.0,
384
+ "rewards/accuracies": 1.0,
385
+ "rewards/chosen": 4.906725855730474,
386
+ "rewards/margins": 6.092754209041596,
387
+ "rewards/rejected": -1.1860283434391021,
388
+ "step": 105
389
+ },
390
+ {
391
+ "entropy": 0.2486900213174522,
392
+ "epoch": 2.4444444444444446,
393
+ "grad_norm": 0.054443359375,
394
+ "learning_rate": 3.851851851851852e-06,
395
+ "logits/chosen": -5.419191984928265,
396
+ "logits/rejected": -5.653281491846501,
397
+ "logps/chosen": -103.91493577957154,
398
+ "logps/rejected": -145.38850498199463,
399
+ "loss": 0.0024279681965708733,
400
+ "mean_token_accuracy": 0.8548816680908203,
401
+ "num_tokens": 217698.0,
402
+ "rewards/accuracies": 1.0,
403
+ "rewards/chosen": 2.2315581436501817,
404
+ "rewards/margins": 6.524952787160873,
405
+ "rewards/rejected": -4.293394649028778,
406
+ "step": 110
407
+ },
408
+ {
409
+ "entropy": 0.4003423499874771,
410
+ "epoch": 2.5555555555555554,
411
+ "grad_norm": 0.1787109375,
412
+ "learning_rate": 3.1111111111111116e-06,
413
+ "logits/chosen": -5.113867099840315,
414
+ "logits/rejected": -5.288849612980478,
415
+ "logps/chosen": -137.69256296157837,
416
+ "logps/rejected": -131.14210166931153,
417
+ "loss": 0.004194004833698273,
418
+ "mean_token_accuracy": 0.7987362958490849,
419
+ "num_tokens": 227587.0,
420
+ "rewards/accuracies": 1.0,
421
+ "rewards/chosen": 4.299069392681122,
422
+ "rewards/margins": 6.199445736408234,
423
+ "rewards/rejected": -1.9003763258457185,
424
+ "step": 115
425
+ },
426
+ {
427
+ "entropy": 0.3460330101661384,
428
+ "epoch": 2.6666666666666665,
429
+ "grad_norm": 0.1083984375,
430
+ "learning_rate": 2.3703703703703707e-06,
431
+ "logits/chosen": -5.148864203073933,
432
+ "logits/rejected": -5.420440423279305,
433
+ "logps/chosen": -123.47473087310792,
434
+ "logps/rejected": -140.37193145751954,
435
+ "loss": 0.003929775208234787,
436
+ "mean_token_accuracy": 0.821786867082119,
437
+ "num_tokens": 237387.0,
438
+ "rewards/accuracies": 1.0,
439
+ "rewards/chosen": 3.0951911724638195,
440
+ "rewards/margins": 6.3194074630737305,
441
+ "rewards/rejected": -3.224216267466545,
442
+ "step": 120
443
+ },
444
+ {
445
+ "entropy": 0.4868515723384917,
446
+ "epoch": 2.7777777777777777,
447
+ "grad_norm": 0.2421875,
448
+ "learning_rate": 1.62962962962963e-06,
449
+ "logits/chosen": -4.745206078239351,
450
+ "logits/rejected": -5.18349850424564,
451
+ "logps/chosen": -150.0078001976013,
452
+ "logps/rejected": -140.4278434753418,
453
+ "loss": 0.006099024042487145,
454
+ "mean_token_accuracy": 0.7751828819513321,
455
+ "num_tokens": 247274.0,
456
+ "rewards/accuracies": 1.0,
457
+ "rewards/chosen": 3.6764592288061975,
458
+ "rewards/margins": 5.9473675191402435,
459
+ "rewards/rejected": -2.2709083050489425,
460
+ "step": 125
461
+ },
462
+ {
463
+ "entropy": 0.36328242216259243,
464
+ "epoch": 2.888888888888889,
465
+ "grad_norm": 0.08642578125,
466
+ "learning_rate": 8.88888888888889e-07,
467
+ "logits/chosen": -5.08842414738806,
468
+ "logits/rejected": -5.358179073880636,
469
+ "logps/chosen": -131.02277193069457,
470
+ "logps/rejected": -134.9316036224365,
471
+ "loss": 0.004048585146665573,
472
+ "mean_token_accuracy": 0.8177572898566723,
473
+ "num_tokens": 257217.0,
474
+ "rewards/accuracies": 1.0,
475
+ "rewards/chosen": 3.8732570334337653,
476
+ "rewards/margins": 6.225375068187714,
477
+ "rewards/rejected": -2.352118057012558,
478
+ "step": 130
479
+ },
480
+ {
481
+ "entropy": 0.29574637319892644,
482
+ "epoch": 3.0,
483
+ "grad_norm": 0.050048828125,
484
+ "learning_rate": 1.4814814814814817e-07,
485
+ "logits/chosen": -5.15853156240503,
486
+ "logits/rejected": -5.602498101789573,
487
+ "logps/chosen": -116.41512088775634,
488
+ "logps/rejected": -141.08580684661865,
489
+ "loss": 0.0035273078829050064,
490
+ "mean_token_accuracy": 0.842218890786171,
491
+ "num_tokens": 267234.0,
492
+ "rewards/accuracies": 1.0,
493
+ "rewards/chosen": 3.174783520924393,
494
+ "rewards/margins": 6.486308968067169,
495
+ "rewards/rejected": -3.3115254521369932,
496
+ "step": 135
497
+ }
498
+ ],
499
+ "logging_steps": 5,
500
+ "max_steps": 135,
501
+ "num_input_tokens_seen": 0,
502
+ "num_train_epochs": 3,
503
+ "save_steps": 135,
504
+ "stateful_callbacks": {
505
+ "TrainerControl": {
506
+ "args": {
507
+ "should_epoch_stop": false,
508
+ "should_evaluate": false,
509
+ "should_log": false,
510
+ "should_save": true,
511
+ "should_training_stop": true
512
+ },
513
+ "attributes": {}
514
+ }
515
+ },
516
+ "total_flos": 6697852104887424.0,
517
+ "train_batch_size": 1,
518
+ "trial_name": null,
519
+ "trial_params": null
520
+ }
checkpoint-135/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:47285f48295cccd09ff2fa37ed4bd4b356be28d14c303fb4348526056285cccd
3
+ size 5905
checkpoint-50/README.md ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: data/models/aria-ft-sft
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:data/models/aria-ft-sft
7
+ - dpo
8
+ - lora
9
+ - transformers
10
+ - trl
11
+ ---
12
+
13
+ # Model Card for Model ID
14
+
15
+ <!-- Provide a quick summary of what the model is/does. -->
16
+
17
+
18
+
19
+ ## Model Details
20
+
21
+ ### Model Description
22
+
23
+ <!-- Provide a longer summary of what this model is. -->
24
+
25
+
26
+
27
+ - **Developed by:** [More Information Needed]
28
+ - **Funded by [optional]:** [More Information Needed]
29
+ - **Shared by [optional]:** [More Information Needed]
30
+ - **Model type:** [More Information Needed]
31
+ - **Language(s) (NLP):** [More Information Needed]
32
+ - **License:** [More Information Needed]
33
+ - **Finetuned from model [optional]:** [More Information Needed]
34
+
35
+ ### Model Sources [optional]
36
+
37
+ <!-- Provide the basic links for the model. -->
38
+
39
+ - **Repository:** [More Information Needed]
40
+ - **Paper [optional]:** [More Information Needed]
41
+ - **Demo [optional]:** [More Information Needed]
42
+
43
+ ## Uses
44
+
45
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
46
+
47
+ ### Direct Use
48
+
49
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
50
+
51
+ [More Information Needed]
52
+
53
+ ### Downstream Use [optional]
54
+
55
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
56
+
57
+ [More Information Needed]
58
+
59
+ ### Out-of-Scope Use
60
+
61
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
62
+
63
+ [More Information Needed]
64
+
65
+ ## Bias, Risks, and Limitations
66
+
67
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
68
+
69
+ [More Information Needed]
70
+
71
+ ### Recommendations
72
+
73
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
74
+
75
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
76
+
77
+ ## How to Get Started with the Model
78
+
79
+ Use the code below to get started with the model.
80
+
81
+ [More Information Needed]
82
+
83
+ ## Training Details
84
+
85
+ ### Training Data
86
+
87
+ <!-- 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. -->
88
+
89
+ [More Information Needed]
90
+
91
+ ### Training Procedure
92
+
93
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
94
+
95
+ #### Preprocessing [optional]
96
+
97
+ [More Information Needed]
98
+
99
+
100
+ #### Training Hyperparameters
101
+
102
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
103
+
104
+ #### Speeds, Sizes, Times [optional]
105
+
106
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
107
+
108
+ [More Information Needed]
109
+
110
+ ## Evaluation
111
+
112
+ <!-- This section describes the evaluation protocols and provides the results. -->
113
+
114
+ ### Testing Data, Factors & Metrics
115
+
116
+ #### Testing Data
117
+
118
+ <!-- This should link to a Dataset Card if possible. -->
119
+
120
+ [More Information Needed]
121
+
122
+ #### Factors
123
+
124
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
125
+
126
+ [More Information Needed]
127
+
128
+ #### Metrics
129
+
130
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
131
+
132
+ [More Information Needed]
133
+
134
+ ### Results
135
+
136
+ [More Information Needed]
137
+
138
+ #### Summary
139
+
140
+
141
+
142
+ ## Model Examination [optional]
143
+
144
+ <!-- Relevant interpretability work for the model goes here -->
145
+
146
+ [More Information Needed]
147
+
148
+ ## Environmental Impact
149
+
150
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
151
+
152
+ 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).
153
+
154
+ - **Hardware Type:** [More Information Needed]
155
+ - **Hours used:** [More Information Needed]
156
+ - **Cloud Provider:** [More Information Needed]
157
+ - **Compute Region:** [More Information Needed]
158
+ - **Carbon Emitted:** [More Information Needed]
159
+
160
+ ## Technical Specifications [optional]
161
+
162
+ ### Model Architecture and Objective
163
+
164
+ [More Information Needed]
165
+
166
+ ### Compute Infrastructure
167
+
168
+ [More Information Needed]
169
+
170
+ #### Hardware
171
+
172
+ [More Information Needed]
173
+
174
+ #### Software
175
+
176
+ [More Information Needed]
177
+
178
+ ## Citation [optional]
179
+
180
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
181
+
182
+ **BibTeX:**
183
+
184
+ [More Information Needed]
185
+
186
+ **APA:**
187
+
188
+ [More Information Needed]
189
+
190
+ ## Glossary [optional]
191
+
192
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
193
+
194
+ [More Information Needed]
195
+
196
+ ## More Information [optional]
197
+
198
+ [More Information Needed]
199
+
200
+ ## Model Card Authors [optional]
201
+
202
+ [More Information Needed]
203
+
204
+ ## Model Card Contact
205
+
206
+ [More Information Needed]
207
+ ### Framework versions
208
+
209
+ - PEFT 0.19.1
checkpoint-50/adapter_config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "data/models/aria-ft-sft",
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": 32,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "lora_ga_config": null,
23
+ "megatron_config": null,
24
+ "megatron_core": "megatron.core",
25
+ "modules_to_save": null,
26
+ "peft_type": "LORA",
27
+ "peft_version": "0.19.1",
28
+ "qalora_group_size": 16,
29
+ "r": 16,
30
+ "rank_pattern": {},
31
+ "revision": null,
32
+ "target_modules": [
33
+ "q_proj",
34
+ "v_proj"
35
+ ],
36
+ "target_parameters": null,
37
+ "task_type": "CAUSAL_LM",
38
+ "trainable_token_indices": null,
39
+ "use_bdlora": null,
40
+ "use_dora": false,
41
+ "use_qalora": false,
42
+ "use_rslora": false
43
+ }
checkpoint-50/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a1c734567eeb6976435520f0d11c9dba0e97242a9f7147c70e90a9f15cea484
3
+ size 12931296
checkpoint-50/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 -%}
checkpoint-50/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d293fde1260fed314f39d13b4d1eab8fd821faf1d47c213b48d5ba6dd45e546
3
+ size 17942731
checkpoint-50/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8e2011629d8bed3ef560fa11175cac55684c4e12a72634bb24abf767b6c7399
3
+ size 14645
checkpoint-50/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:623ca1baebe375ebca31f69d12d0e047e25a5e6b4b922c4848649c2d9ca4d6b6
3
+ size 1465
checkpoint-50/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:daab2354f8a74e70d70b4d1f804939b68a8c9624dd06cb7858e52dd8970e9726
3
+ size 33384567
checkpoint-50/tokenizer_config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "boi_token": "<start_of_image>",
4
+ "bos_token": "<bos>",
5
+ "clean_up_tokenization_spaces": false,
6
+ "eoi_token": "<end_of_image>",
7
+ "eos_token": "<eos>",
8
+ "image_token": "<image_soft_token>",
9
+ "is_local": true,
10
+ "local_files_only": false,
11
+ "mask_token": "<mask>",
12
+ "model_max_length": 1000000000000000019884624838656,
13
+ "model_specific_special_tokens": {
14
+ "boi_token": "<start_of_image>",
15
+ "eoi_token": "<end_of_image>",
16
+ "image_token": "<image_soft_token>"
17
+ },
18
+ "pad_token": "<pad>",
19
+ "processor_class": "Gemma3Processor",
20
+ "sp_model_kwargs": null,
21
+ "spaces_between_special_tokens": false,
22
+ "tokenizer_class": "GemmaTokenizer",
23
+ "unk_token": "<unk>",
24
+ "use_default_system_prompt": false
25
+ }
checkpoint-50/trainer_state.json ADDED
@@ -0,0 +1,214 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 3.344827586206897,
6
+ "eval_steps": 500,
7
+ "global_step": 50,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "entropy": 0.7854079902172089,
14
+ "epoch": 0.3448275862068966,
15
+ "grad_norm": 17.5,
16
+ "learning_rate": 1.8400000000000003e-05,
17
+ "logits/chosen": -4.038567820069238,
18
+ "logits/rejected": -4.130903336062028,
19
+ "logps/chosen": -476.98968200683595,
20
+ "logps/rejected": -175.084077835083,
21
+ "loss": 0.6134438991546631,
22
+ "mean_token_accuracy": 0.5670168288052082,
23
+ "num_tokens": 11659.0,
24
+ "rewards/accuracies": 0.65,
25
+ "rewards/chosen": 0.2687527514062822,
26
+ "rewards/margins": 0.18279968351125717,
27
+ "rewards/rejected": 0.08595306589268148,
28
+ "step": 5
29
+ },
30
+ {
31
+ "entropy": 0.7794478192925454,
32
+ "epoch": 0.6896551724137931,
33
+ "grad_norm": 6.53125,
34
+ "learning_rate": 1.64e-05,
35
+ "logits/chosen": -3.932353105615328,
36
+ "logits/rejected": -4.069504129448527,
37
+ "logps/chosen": -456.5636215209961,
38
+ "logps/rejected": -173.76006660461425,
39
+ "loss": 0.2986054182052612,
40
+ "mean_token_accuracy": 0.5806230813264847,
41
+ "num_tokens": 23174.0,
42
+ "rewards/accuracies": 1.0,
43
+ "rewards/chosen": 1.5439212292432785,
44
+ "rewards/margins": 1.1550721026957036,
45
+ "rewards/rejected": 0.38884911630302665,
46
+ "step": 10
47
+ },
48
+ {
49
+ "entropy": 0.804901111457083,
50
+ "epoch": 1.0,
51
+ "grad_norm": 3.109375,
52
+ "learning_rate": 1.4400000000000001e-05,
53
+ "logits/chosen": -4.006123838245866,
54
+ "logits/rejected": -4.28639834349455,
55
+ "logps/chosen": -468.32677798801,
56
+ "logps/rejected": -175.75607766045465,
57
+ "loss": 0.10222437381744384,
58
+ "mean_token_accuracy": 0.5784292072057724,
59
+ "num_tokens": 33972.0,
60
+ "rewards/accuracies": 1.0,
61
+ "rewards/chosen": 3.383368664317661,
62
+ "rewards/margins": 2.3637701272964478,
63
+ "rewards/rejected": 1.0195985275010269,
64
+ "step": 15
65
+ },
66
+ {
67
+ "entropy": 0.8101444244384766,
68
+ "epoch": 1.3448275862068966,
69
+ "grad_norm": 0.53125,
70
+ "learning_rate": 1.2400000000000002e-05,
71
+ "logits/chosen": -3.9039807304454768,
72
+ "logits/rejected": -4.13752561066084,
73
+ "logps/chosen": -456.7418830871582,
74
+ "logps/rejected": -169.44639072418212,
75
+ "loss": 0.028239738941192628,
76
+ "mean_token_accuracy": 0.5729322396218777,
77
+ "num_tokens": 45734.0,
78
+ "rewards/accuracies": 1.0,
79
+ "rewards/chosen": 5.294327348470688,
80
+ "rewards/margins": 3.822002524137497,
81
+ "rewards/rejected": 1.4723248168826104,
82
+ "step": 20
83
+ },
84
+ {
85
+ "entropy": 0.8125152215361595,
86
+ "epoch": 1.6896551724137931,
87
+ "grad_norm": 0.423828125,
88
+ "learning_rate": 1.04e-05,
89
+ "logits/chosen": -3.875419017637917,
90
+ "logits/rejected": -4.087594791894558,
91
+ "logps/chosen": -437.49902725219727,
92
+ "logps/rejected": -170.6690534591675,
93
+ "loss": 0.011206220090389251,
94
+ "mean_token_accuracy": 0.5829927772283554,
95
+ "num_tokens": 57498.0,
96
+ "rewards/accuracies": 1.0,
97
+ "rewards/chosen": 6.862721538543701,
98
+ "rewards/margins": 4.855097621679306,
99
+ "rewards/rejected": 2.0076238617300985,
100
+ "step": 25
101
+ },
102
+ {
103
+ "entropy": 0.8494062589274513,
104
+ "epoch": 2.0,
105
+ "grad_norm": 0.181640625,
106
+ "learning_rate": 8.400000000000001e-06,
107
+ "logits/chosen": -3.7918020422260117,
108
+ "logits/rejected": -3.9911775349085037,
109
+ "logps/chosen": -434.0316925048828,
110
+ "logps/rejected": -163.91968239678278,
111
+ "loss": 0.006641139835119247,
112
+ "mean_token_accuracy": 0.5838068723678589,
113
+ "num_tokens": 67944.0,
114
+ "rewards/accuracies": 1.0,
115
+ "rewards/chosen": 7.484723581208123,
116
+ "rewards/margins": 5.497186402479808,
117
+ "rewards/rejected": 1.987537168794208,
118
+ "step": 30
119
+ },
120
+ {
121
+ "entropy": 0.8175499409437179,
122
+ "epoch": 2.344827586206897,
123
+ "grad_norm": 0.150390625,
124
+ "learning_rate": 6.4000000000000006e-06,
125
+ "logits/chosen": -3.7909739277903443,
126
+ "logits/rejected": -3.994593238139848,
127
+ "logps/chosen": -436.38923797607424,
128
+ "logps/rejected": -167.69779472351075,
129
+ "loss": 0.004208391904830933,
130
+ "mean_token_accuracy": 0.5816447250545025,
131
+ "num_tokens": 79630.0,
132
+ "rewards/accuracies": 1.0,
133
+ "rewards/chosen": 8.280532884597779,
134
+ "rewards/margins": 5.944004595279694,
135
+ "rewards/rejected": 2.3365282833576204,
136
+ "step": 35
137
+ },
138
+ {
139
+ "entropy": 0.8197228327393532,
140
+ "epoch": 2.689655172413793,
141
+ "grad_norm": 0.1171875,
142
+ "learning_rate": 4.4e-06,
143
+ "logits/chosen": -3.830608885995658,
144
+ "logits/rejected": -4.153223704155633,
145
+ "logps/chosen": -436.25521926879884,
146
+ "logps/rejected": -168.31839504241944,
147
+ "loss": 0.0030239127576351167,
148
+ "mean_token_accuracy": 0.5829450696706772,
149
+ "num_tokens": 91583.0,
150
+ "rewards/accuracies": 1.0,
151
+ "rewards/chosen": 8.960859537124634,
152
+ "rewards/margins": 6.313286983966828,
153
+ "rewards/rejected": 2.647572535276413,
154
+ "step": 40
155
+ },
156
+ {
157
+ "entropy": 0.8821523437897364,
158
+ "epoch": 3.0,
159
+ "grad_norm": 0.244140625,
160
+ "learning_rate": 2.4000000000000003e-06,
161
+ "logits/chosen": -3.7844727586007707,
162
+ "logits/rejected": -3.9654474595462568,
163
+ "logps/chosen": -423.0563507080078,
164
+ "logps/rejected": -158.2893812391493,
165
+ "loss": 0.003181111440062523,
166
+ "mean_token_accuracy": 0.5783860153622098,
167
+ "num_tokens": 101916.0,
168
+ "rewards/accuracies": 1.0,
169
+ "rewards/chosen": 8.829733226034376,
170
+ "rewards/margins": 6.476470510164897,
171
+ "rewards/rejected": 2.3532627125581107,
172
+ "step": 45
173
+ },
174
+ {
175
+ "entropy": 0.8417329847812652,
176
+ "epoch": 3.344827586206897,
177
+ "grad_norm": 0.1025390625,
178
+ "learning_rate": 4.0000000000000003e-07,
179
+ "logits/chosen": -3.809344702093694,
180
+ "logits/rejected": -3.9889677666123213,
181
+ "logps/chosen": -433.3476905822754,
182
+ "logps/rejected": -160.33308601379395,
183
+ "loss": 0.0024677075445652006,
184
+ "mean_token_accuracy": 0.5838818199932575,
185
+ "num_tokens": 113677.0,
186
+ "rewards/accuracies": 1.0,
187
+ "rewards/chosen": 9.033029174804687,
188
+ "rewards/margins": 6.4824470520019535,
189
+ "rewards/rejected": 2.5505820989608763,
190
+ "step": 50
191
+ }
192
+ ],
193
+ "logging_steps": 5,
194
+ "max_steps": 50,
195
+ "num_input_tokens_seen": 0,
196
+ "num_train_epochs": 4,
197
+ "save_steps": 50,
198
+ "stateful_callbacks": {
199
+ "TrainerControl": {
200
+ "args": {
201
+ "should_epoch_stop": false,
202
+ "should_evaluate": false,
203
+ "should_log": false,
204
+ "should_save": true,
205
+ "should_training_stop": true
206
+ },
207
+ "attributes": {}
208
+ }
209
+ },
210
+ "total_flos": 3365612085540096.0,
211
+ "train_batch_size": 1,
212
+ "trial_name": null,
213
+ "trial_params": null
214
+ }
checkpoint-50/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c4d3ba8f073034f7ae52cc3d73c7001e6b026581b8aba58472337868ff96814
3
+ size 5905
checkpoint-60/README.md ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: data/models/aria-ft-sft
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:data/models/aria-ft-sft
7
+ - dpo
8
+ - lora
9
+ - transformers
10
+ - trl
11
+ ---
12
+
13
+ # Model Card for Model ID
14
+
15
+ <!-- Provide a quick summary of what the model is/does. -->
16
+
17
+
18
+
19
+ ## Model Details
20
+
21
+ ### Model Description
22
+
23
+ <!-- Provide a longer summary of what this model is. -->
24
+
25
+
26
+
27
+ - **Developed by:** [More Information Needed]
28
+ - **Funded by [optional]:** [More Information Needed]
29
+ - **Shared by [optional]:** [More Information Needed]
30
+ - **Model type:** [More Information Needed]
31
+ - **Language(s) (NLP):** [More Information Needed]
32
+ - **License:** [More Information Needed]
33
+ - **Finetuned from model [optional]:** [More Information Needed]
34
+
35
+ ### Model Sources [optional]
36
+
37
+ <!-- Provide the basic links for the model. -->
38
+
39
+ - **Repository:** [More Information Needed]
40
+ - **Paper [optional]:** [More Information Needed]
41
+ - **Demo [optional]:** [More Information Needed]
42
+
43
+ ## Uses
44
+
45
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
46
+
47
+ ### Direct Use
48
+
49
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
50
+
51
+ [More Information Needed]
52
+
53
+ ### Downstream Use [optional]
54
+
55
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
56
+
57
+ [More Information Needed]
58
+
59
+ ### Out-of-Scope Use
60
+
61
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
62
+
63
+ [More Information Needed]
64
+
65
+ ## Bias, Risks, and Limitations
66
+
67
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
68
+
69
+ [More Information Needed]
70
+
71
+ ### Recommendations
72
+
73
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
74
+
75
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
76
+
77
+ ## How to Get Started with the Model
78
+
79
+ Use the code below to get started with the model.
80
+
81
+ [More Information Needed]
82
+
83
+ ## Training Details
84
+
85
+ ### Training Data
86
+
87
+ <!-- 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. -->
88
+
89
+ [More Information Needed]
90
+
91
+ ### Training Procedure
92
+
93
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
94
+
95
+ #### Preprocessing [optional]
96
+
97
+ [More Information Needed]
98
+
99
+
100
+ #### Training Hyperparameters
101
+
102
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
103
+
104
+ #### Speeds, Sizes, Times [optional]
105
+
106
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
107
+
108
+ [More Information Needed]
109
+
110
+ ## Evaluation
111
+
112
+ <!-- This section describes the evaluation protocols and provides the results. -->
113
+
114
+ ### Testing Data, Factors & Metrics
115
+
116
+ #### Testing Data
117
+
118
+ <!-- This should link to a Dataset Card if possible. -->
119
+
120
+ [More Information Needed]
121
+
122
+ #### Factors
123
+
124
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
125
+
126
+ [More Information Needed]
127
+
128
+ #### Metrics
129
+
130
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
131
+
132
+ [More Information Needed]
133
+
134
+ ### Results
135
+
136
+ [More Information Needed]
137
+
138
+ #### Summary
139
+
140
+
141
+
142
+ ## Model Examination [optional]
143
+
144
+ <!-- Relevant interpretability work for the model goes here -->
145
+
146
+ [More Information Needed]
147
+
148
+ ## Environmental Impact
149
+
150
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
151
+
152
+ 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).
153
+
154
+ - **Hardware Type:** [More Information Needed]
155
+ - **Hours used:** [More Information Needed]
156
+ - **Cloud Provider:** [More Information Needed]
157
+ - **Compute Region:** [More Information Needed]
158
+ - **Carbon Emitted:** [More Information Needed]
159
+
160
+ ## Technical Specifications [optional]
161
+
162
+ ### Model Architecture and Objective
163
+
164
+ [More Information Needed]
165
+
166
+ ### Compute Infrastructure
167
+
168
+ [More Information Needed]
169
+
170
+ #### Hardware
171
+
172
+ [More Information Needed]
173
+
174
+ #### Software
175
+
176
+ [More Information Needed]
177
+
178
+ ## Citation [optional]
179
+
180
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
181
+
182
+ **BibTeX:**
183
+
184
+ [More Information Needed]
185
+
186
+ **APA:**
187
+
188
+ [More Information Needed]
189
+
190
+ ## Glossary [optional]
191
+
192
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
193
+
194
+ [More Information Needed]
195
+
196
+ ## More Information [optional]
197
+
198
+ [More Information Needed]
199
+
200
+ ## Model Card Authors [optional]
201
+
202
+ [More Information Needed]
203
+
204
+ ## Model Card Contact
205
+
206
+ [More Information Needed]
207
+ ### Framework versions
208
+
209
+ - PEFT 0.19.1
checkpoint-60/adapter_config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "data/models/aria-ft-sft",
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": 32,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "lora_ga_config": null,
23
+ "megatron_config": null,
24
+ "megatron_core": "megatron.core",
25
+ "modules_to_save": null,
26
+ "peft_type": "LORA",
27
+ "peft_version": "0.19.1",
28
+ "qalora_group_size": 16,
29
+ "r": 16,
30
+ "rank_pattern": {},
31
+ "revision": null,
32
+ "target_modules": [
33
+ "q_proj",
34
+ "v_proj"
35
+ ],
36
+ "target_parameters": null,
37
+ "task_type": "CAUSAL_LM",
38
+ "trainable_token_indices": null,
39
+ "use_bdlora": null,
40
+ "use_dora": false,
41
+ "use_qalora": false,
42
+ "use_rslora": false
43
+ }
checkpoint-60/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ff0f0d8c2343b74298d096bb79ab7a914aa7ecfa0ef7680487881e4e1fbf8b77
3
+ size 12931296
checkpoint-60/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 -%}
checkpoint-60/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4dc5145afe4da63b2c11960d304acd8207d3bdfd3549a5a84e95ff49270adb1a
3
+ size 17942731
checkpoint-60/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4a9f217e852f439efa6bd32fde98d6867f11aa6ea13ddc021ba10af6a0b0934
3
+ size 14645
checkpoint-60/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2dd468a12037943abc731ea6bb19f58d78121bbf9a8793bca485cff41de78943
3
+ size 1465
checkpoint-60/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:daab2354f8a74e70d70b4d1f804939b68a8c9624dd06cb7858e52dd8970e9726
3
+ size 33384567
checkpoint-60/tokenizer_config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "boi_token": "<start_of_image>",
4
+ "bos_token": "<bos>",
5
+ "clean_up_tokenization_spaces": false,
6
+ "eoi_token": "<end_of_image>",
7
+ "eos_token": "<eos>",
8
+ "image_token": "<image_soft_token>",
9
+ "is_local": true,
10
+ "local_files_only": false,
11
+ "mask_token": "<mask>",
12
+ "model_max_length": 1000000000000000019884624838656,
13
+ "model_specific_special_tokens": {
14
+ "boi_token": "<start_of_image>",
15
+ "eoi_token": "<end_of_image>",
16
+ "image_token": "<image_soft_token>"
17
+ },
18
+ "pad_token": "<pad>",
19
+ "processor_class": "Gemma3Processor",
20
+ "sp_model_kwargs": null,
21
+ "spaces_between_special_tokens": false,
22
+ "tokenizer_class": "GemmaTokenizer",
23
+ "unk_token": "<unk>",
24
+ "use_default_system_prompt": false
25
+ }
checkpoint-60/trainer_state.json ADDED
@@ -0,0 +1,250 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 2.888888888888889,
6
+ "eval_steps": 500,
7
+ "global_step": 60,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "entropy": 0.4776241024956107,
14
+ "epoch": 0.24691358024691357,
15
+ "grad_norm": 16.0,
16
+ "learning_rate": 1.866666666666667e-05,
17
+ "logits/chosen": -4.089478311277062,
18
+ "logits/rejected": -4.493732379473381,
19
+ "logps/chosen": -268.6658588409424,
20
+ "logps/rejected": -150.31285419464112,
21
+ "loss": 0.6501077651977539,
22
+ "mean_token_accuracy": 0.7079996474087238,
23
+ "num_tokens": 10253.0,
24
+ "rewards/accuracies": 0.55,
25
+ "rewards/chosen": 0.1445553233847022,
26
+ "rewards/margins": 0.09593124534003436,
27
+ "rewards/rejected": 0.04862407729960978,
28
+ "step": 5
29
+ },
30
+ {
31
+ "entropy": 0.48156379014253614,
32
+ "epoch": 0.49382716049382713,
33
+ "grad_norm": 6.3125,
34
+ "learning_rate": 1.7e-05,
35
+ "logits/chosen": -4.0623599267958195,
36
+ "logits/rejected": -4.4711698133175855,
37
+ "logps/chosen": -271.1767599105835,
38
+ "logps/rejected": -154.23251075744628,
39
+ "loss": 0.4772006034851074,
40
+ "mean_token_accuracy": 0.7104790471494198,
41
+ "num_tokens": 20666.0,
42
+ "rewards/accuracies": 0.975,
43
+ "rewards/chosen": 0.7345219888840802,
44
+ "rewards/margins": 0.5422453716397285,
45
+ "rewards/rejected": 0.19227661472395993,
46
+ "step": 10
47
+ },
48
+ {
49
+ "entropy": 0.5128806505352259,
50
+ "epoch": 0.7407407407407407,
51
+ "grad_norm": 4.5625,
52
+ "learning_rate": 1.5333333333333334e-05,
53
+ "logits/chosen": -3.846199988066794,
54
+ "logits/rejected": -4.348598556794308,
55
+ "logps/chosen": -241.72016925811766,
56
+ "logps/rejected": -152.45027236938478,
57
+ "loss": 0.3331197023391724,
58
+ "mean_token_accuracy": 0.701729304343462,
59
+ "num_tokens": 30640.0,
60
+ "rewards/accuracies": 1.0,
61
+ "rewards/chosen": 1.3711295807734132,
62
+ "rewards/margins": 1.0514055285602808,
63
+ "rewards/rejected": 0.319724050629884,
64
+ "step": 15
65
+ },
66
+ {
67
+ "entropy": 0.4515763284638524,
68
+ "epoch": 0.9876543209876543,
69
+ "grad_norm": 2.78125,
70
+ "learning_rate": 1.3666666666666667e-05,
71
+ "logits/chosen": -3.9408105831493843,
72
+ "logits/rejected": -4.458051202170762,
73
+ "logps/chosen": -216.35807037353516,
74
+ "logps/rejected": -137.70420036315917,
75
+ "loss": 0.2393646001815796,
76
+ "mean_token_accuracy": 0.7314693063497544,
77
+ "num_tokens": 40658.0,
78
+ "rewards/accuracies": 1.0,
79
+ "rewards/chosen": 1.9342670194804668,
80
+ "rewards/margins": 1.5497536167502404,
81
+ "rewards/rejected": 0.3845134010305628,
82
+ "step": 20
83
+ },
84
+ {
85
+ "entropy": 0.533805785152842,
86
+ "epoch": 1.1975308641975309,
87
+ "grad_norm": 1.578125,
88
+ "learning_rate": 1.2e-05,
89
+ "logits/chosen": -3.8604098323676954,
90
+ "logits/rejected": -4.454983181046675,
91
+ "logps/chosen": -256.26211334677305,
92
+ "logps/rejected": -149.4621139975155,
93
+ "loss": 0.11001660823822021,
94
+ "mean_token_accuracy": 0.6833898074486676,
95
+ "num_tokens": 49152.0,
96
+ "rewards/accuracies": 1.0,
97
+ "rewards/chosen": 3.127581123043509,
98
+ "rewards/margins": 2.5184768157846786,
99
+ "rewards/rejected": 0.6091043011230581,
100
+ "step": 25
101
+ },
102
+ {
103
+ "entropy": 0.4583894399926066,
104
+ "epoch": 1.4444444444444444,
105
+ "grad_norm": 1.5859375,
106
+ "learning_rate": 1.0333333333333335e-05,
107
+ "logits/chosen": -3.880995288681619,
108
+ "logits/rejected": -4.38205130490537,
109
+ "logps/chosen": -222.737411403656,
110
+ "logps/rejected": -146.73333396911622,
111
+ "loss": 0.11508327722549438,
112
+ "mean_token_accuracy": 0.7408040933310985,
113
+ "num_tokens": 59335.0,
114
+ "rewards/accuracies": 1.0,
115
+ "rewards/chosen": 3.002569316327572,
116
+ "rewards/margins": 2.6181753650307655,
117
+ "rewards/rejected": 0.3843939293175936,
118
+ "step": 30
119
+ },
120
+ {
121
+ "entropy": 0.5070892035961151,
122
+ "epoch": 1.691358024691358,
123
+ "grad_norm": 0.9453125,
124
+ "learning_rate": 8.666666666666668e-06,
125
+ "logits/chosen": -3.916580181348936,
126
+ "logits/rejected": -4.275795278703906,
127
+ "logps/chosen": -251.3110230445862,
128
+ "logps/rejected": -150.10150470733643,
129
+ "loss": 0.06905438899993896,
130
+ "mean_token_accuracy": 0.7120013549923897,
131
+ "num_tokens": 69532.0,
132
+ "rewards/accuracies": 1.0,
133
+ "rewards/chosen": 3.733099599182606,
134
+ "rewards/margins": 3.172137904167175,
135
+ "rewards/rejected": 0.5609616965055466,
136
+ "step": 35
137
+ },
138
+ {
139
+ "entropy": 0.5159024139866233,
140
+ "epoch": 1.9382716049382716,
141
+ "grad_norm": 0.86328125,
142
+ "learning_rate": 7e-06,
143
+ "logits/chosen": -3.875394947759234,
144
+ "logits/rejected": -4.348108818548195,
145
+ "logps/chosen": -240.79218463897706,
146
+ "logps/rejected": -143.1299747467041,
147
+ "loss": 0.0537603497505188,
148
+ "mean_token_accuracy": 0.7110521957278252,
149
+ "num_tokens": 79802.0,
150
+ "rewards/accuracies": 1.0,
151
+ "rewards/chosen": 4.002222263813019,
152
+ "rewards/margins": 3.4601644307374952,
153
+ "rewards/rejected": 0.5420578181743622,
154
+ "step": 40
155
+ },
156
+ {
157
+ "entropy": 0.42990265786647797,
158
+ "epoch": 2.148148148148148,
159
+ "grad_norm": 1.203125,
160
+ "learning_rate": 5.333333333333334e-06,
161
+ "logits/chosen": -4.000936708220123,
162
+ "logits/rejected": -4.378904186986099,
163
+ "logps/chosen": -205.56845799614402,
164
+ "logps/rejected": -148.97788418040557,
165
+ "loss": 0.05299478769302368,
166
+ "mean_token_accuracy": 0.7551224529743195,
167
+ "num_tokens": 88253.0,
168
+ "rewards/accuracies": 1.0,
169
+ "rewards/chosen": 3.6734568196184494,
170
+ "rewards/margins": 3.4625525684917675,
171
+ "rewards/rejected": 0.21090425112668207,
172
+ "step": 45
173
+ },
174
+ {
175
+ "entropy": 0.5233618581667543,
176
+ "epoch": 2.3950617283950617,
177
+ "grad_norm": 0.45703125,
178
+ "learning_rate": 3.6666666666666666e-06,
179
+ "logits/chosen": -3.935984155012784,
180
+ "logits/rejected": -4.419382672710851,
181
+ "logps/chosen": -265.77395582199097,
182
+ "logps/rejected": -150.95017681121826,
183
+ "loss": 0.02822282612323761,
184
+ "mean_token_accuracy": 0.691740982979536,
185
+ "num_tokens": 98748.0,
186
+ "rewards/accuracies": 1.0,
187
+ "rewards/chosen": 4.833640116453171,
188
+ "rewards/margins": 4.224490064382553,
189
+ "rewards/rejected": 0.6091500520706177,
190
+ "step": 50
191
+ },
192
+ {
193
+ "entropy": 0.4936262046918273,
194
+ "epoch": 2.6419753086419755,
195
+ "grad_norm": 0.625,
196
+ "learning_rate": 2.0000000000000003e-06,
197
+ "logits/chosen": -3.8994168509171785,
198
+ "logits/rejected": -4.323522702714263,
199
+ "logps/chosen": -232.54643173217772,
200
+ "logps/rejected": -147.94255752563475,
201
+ "loss": 0.0374829888343811,
202
+ "mean_token_accuracy": 0.7230880469083786,
203
+ "num_tokens": 108955.0,
204
+ "rewards/accuracies": 1.0,
205
+ "rewards/chosen": 4.045481747388839,
206
+ "rewards/margins": 3.670798897743225,
207
+ "rewards/rejected": 0.37468285113573074,
208
+ "step": 55
209
+ },
210
+ {
211
+ "entropy": 0.514755728840828,
212
+ "epoch": 2.888888888888889,
213
+ "grad_norm": 0.5859375,
214
+ "learning_rate": 3.3333333333333335e-07,
215
+ "logits/chosen": -3.7785729406360007,
216
+ "logits/rejected": -4.339876007693261,
217
+ "logps/chosen": -217.19937067031861,
218
+ "logps/rejected": -144.4653621673584,
219
+ "loss": 0.035057461261749266,
220
+ "mean_token_accuracy": 0.7147957846522331,
221
+ "num_tokens": 118789.0,
222
+ "rewards/accuracies": 1.0,
223
+ "rewards/chosen": 3.8464197725057603,
224
+ "rewards/margins": 3.7014809250831604,
225
+ "rewards/rejected": 0.1449388176202774,
226
+ "step": 60
227
+ }
228
+ ],
229
+ "logging_steps": 5,
230
+ "max_steps": 60,
231
+ "num_input_tokens_seen": 0,
232
+ "num_train_epochs": 3,
233
+ "save_steps": 60,
234
+ "stateful_callbacks": {
235
+ "TrainerControl": {
236
+ "args": {
237
+ "should_epoch_stop": false,
238
+ "should_evaluate": false,
239
+ "should_log": false,
240
+ "should_save": true,
241
+ "should_training_stop": true
242
+ },
243
+ "attributes": {}
244
+ }
245
+ },
246
+ "total_flos": 3084171422870016.0,
247
+ "train_batch_size": 1,
248
+ "trial_name": null,
249
+ "trial_params": null
250
+ }
checkpoint-60/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c3c9c2929c024c0798b7087a9dfc9f46739974e884cc396662d26917da204af9
3
+ size 5905
config.json ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Gemma3ForConditionalGeneration"
4
+ ],
5
+ "boi_token_index": 255999,
6
+ "dtype": "bfloat16",
7
+ "eoi_token_index": 256000,
8
+ "eos_token_id": [
9
+ 1,
10
+ 106
11
+ ],
12
+ "image_token_index": 262144,
13
+ "initializer_range": 0.02,
14
+ "mm_tokens_per_image": 256,
15
+ "model_type": "gemma3",
16
+ "text_config": {
17
+ "_sliding_window_pattern": 6,
18
+ "attention_bias": false,
19
+ "attention_dropout": 0.0,
20
+ "attn_logit_softcapping": null,
21
+ "bos_token_id": 2,
22
+ "dtype": "bfloat16",
23
+ "eos_token_id": 1,
24
+ "final_logit_softcapping": null,
25
+ "head_dim": 256,
26
+ "hidden_activation": "gelu_pytorch_tanh",
27
+ "hidden_size": 2560,
28
+ "initializer_range": 0.02,
29
+ "intermediate_size": 10240,
30
+ "layer_types": [
31
+ "sliding_attention",
32
+ "sliding_attention",
33
+ "sliding_attention",
34
+ "sliding_attention",
35
+ "sliding_attention",
36
+ "full_attention",
37
+ "sliding_attention",
38
+ "sliding_attention",
39
+ "sliding_attention",
40
+ "sliding_attention",
41
+ "sliding_attention",
42
+ "full_attention",
43
+ "sliding_attention",
44
+ "sliding_attention",
45
+ "sliding_attention",
46
+ "sliding_attention",
47
+ "sliding_attention",
48
+ "full_attention",
49
+ "sliding_attention",
50
+ "sliding_attention",
51
+ "sliding_attention",
52
+ "sliding_attention",
53
+ "sliding_attention",
54
+ "full_attention",
55
+ "sliding_attention",
56
+ "sliding_attention",
57
+ "sliding_attention",
58
+ "sliding_attention",
59
+ "sliding_attention",
60
+ "full_attention",
61
+ "sliding_attention",
62
+ "sliding_attention",
63
+ "sliding_attention",
64
+ "sliding_attention"
65
+ ],
66
+ "max_position_embeddings": 131072,
67
+ "model_type": "gemma3_text",
68
+ "num_attention_heads": 8,
69
+ "num_hidden_layers": 34,
70
+ "num_key_value_heads": 4,
71
+ "pad_token_id": 0,
72
+ "query_pre_attn_scalar": 256,
73
+ "rms_norm_eps": 1e-06,
74
+ "rope_parameters": {
75
+ "full_attention": {
76
+ "factor": 8.0,
77
+ "rope_theta": 1000000,
78
+ "rope_type": "linear"
79
+ },
80
+ "sliding_attention": {
81
+ "rope_theta": 10000,
82
+ "rope_type": "default"
83
+ }
84
+ },
85
+ "sliding_window": 1024,
86
+ "tie_word_embeddings": true,
87
+ "use_bidirectional_attention": false,
88
+ "use_cache": true,
89
+ "vocab_size": 262208
90
+ },
91
+ "tie_word_embeddings": true,
92
+ "transformers_version": "5.7.0",
93
+ "vision_config": {
94
+ "attention_dropout": 0.0,
95
+ "dtype": "bfloat16",
96
+ "hidden_act": "gelu_pytorch_tanh",
97
+ "hidden_size": 1152,
98
+ "image_size": 896,
99
+ "intermediate_size": 4304,
100
+ "layer_norm_eps": 1e-06,
101
+ "model_type": "siglip_vision_model",
102
+ "num_attention_heads": 16,
103
+ "num_channels": 3,
104
+ "num_hidden_layers": 27,
105
+ "patch_size": 14,
106
+ "vision_use_head": false
107
+ },
108
+ "torch_dtype": "bfloat16"
109
+ }
generation_config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 2,
4
+ "eos_token_id": [
5
+ 1,
6
+ 106
7
+ ],
8
+ "pad_token_id": 0,
9
+ "transformers_version": "5.7.0"
10
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6127d07a766c61dafc93360dda4537d62fe83745fe985a6ec59ab0f098a11149
3
+ size 8600278008