Padajno commited on
Commit
ebb2fb9
·
verified ·
1 Parent(s): 1829574

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 +62 -0
  3. adapter_config.json +46 -0
  4. adapter_model.safetensors +3 -0
  5. added_tokens.json +3 -0
  6. chat_template.jinja +47 -0
  7. checkpoint-100/README.md +209 -0
  8. checkpoint-100/adapter_config.json +46 -0
  9. checkpoint-100/adapter_model.safetensors +3 -0
  10. checkpoint-100/added_tokens.json +3 -0
  11. checkpoint-100/chat_template.jinja +47 -0
  12. checkpoint-100/optimizer.pt +3 -0
  13. checkpoint-100/rng_state_0.pth +3 -0
  14. checkpoint-100/rng_state_1.pth +3 -0
  15. checkpoint-100/scheduler.pt +3 -0
  16. checkpoint-100/special_tokens_map.json +47 -0
  17. checkpoint-100/tokenizer.json +3 -0
  18. checkpoint-100/tokenizer.model +3 -0
  19. checkpoint-100/tokenizer_config.json +0 -0
  20. checkpoint-100/trainer_state.json +145 -0
  21. checkpoint-100/training_args.bin +3 -0
  22. checkpoint-200/README.md +209 -0
  23. checkpoint-200/adapter_config.json +46 -0
  24. checkpoint-200/adapter_model.safetensors +3 -0
  25. checkpoint-200/added_tokens.json +3 -0
  26. checkpoint-200/chat_template.jinja +47 -0
  27. checkpoint-200/optimizer.pt +3 -0
  28. checkpoint-200/rng_state_0.pth +3 -0
  29. checkpoint-200/rng_state_1.pth +3 -0
  30. checkpoint-200/scheduler.pt +3 -0
  31. checkpoint-200/special_tokens_map.json +47 -0
  32. checkpoint-200/tokenizer.json +3 -0
  33. checkpoint-200/tokenizer.model +3 -0
  34. checkpoint-200/tokenizer_config.json +0 -0
  35. checkpoint-200/trainer_state.json +256 -0
  36. checkpoint-200/training_args.bin +3 -0
  37. checkpoint-300/README.md +209 -0
  38. checkpoint-300/adapter_config.json +46 -0
  39. checkpoint-300/adapter_model.safetensors +3 -0
  40. checkpoint-300/added_tokens.json +3 -0
  41. checkpoint-300/chat_template.jinja +47 -0
  42. checkpoint-300/optimizer.pt +3 -0
  43. checkpoint-300/rng_state_0.pth +3 -0
  44. checkpoint-300/rng_state_1.pth +3 -0
  45. checkpoint-300/scheduler.pt +3 -0
  46. checkpoint-300/special_tokens_map.json +47 -0
  47. checkpoint-300/tokenizer.json +3 -0
  48. checkpoint-300/tokenizer.model +3 -0
  49. checkpoint-300/tokenizer_config.json +0 -0
  50. checkpoint-300/trainer_state.json +367 -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-200/tokenizer.json filter=lfs diff=lfs merge=lfs -text
38
+ checkpoint-300/tokenizer.json filter=lfs diff=lfs merge=lfs -text
39
+ checkpoint-354/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,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: cjvt/GaMS3-12B-Instruct
3
+ library_name: peft
4
+ model_name: gams3-law-nli
5
+ tags:
6
+ - base_model:adapter:cjvt/GaMS3-12B-Instruct
7
+ - lora
8
+ - sft
9
+ - transformers
10
+ - trl
11
+ licence: license
12
+ pipeline_tag: text-generation
13
+ ---
14
+
15
+ # Model Card for gams3-law-nli
16
+
17
+ This model is a fine-tuned version of [cjvt/GaMS3-12B-Instruct](https://huggingface.co/cjvt/GaMS3-12B-Instruct).
18
+ It has been trained using [TRL](https://github.com/huggingface/trl).
19
+
20
+ ## Quick start
21
+
22
+ ```python
23
+ from transformers import pipeline
24
+
25
+ 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?"
26
+ generator = pipeline("text-generation", model="None", device="cuda")
27
+ output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
28
+ print(output["generated_text"])
29
+ ```
30
+
31
+ ## Training procedure
32
+
33
+
34
+
35
+
36
+ This model was trained with SFT.
37
+
38
+ ### Framework versions
39
+
40
+ - PEFT 0.18.1
41
+ - TRL: 0.27.1
42
+ - Transformers: 4.57.0.dev0
43
+ - Pytorch: 2.8.0+cu126
44
+ - Datasets: 4.1.1
45
+ - Tokenizers: 0.22.1
46
+
47
+ ## Citations
48
+
49
+
50
+
51
+ Cite TRL as:
52
+
53
+ ```bibtex
54
+ @misc{vonwerra2022trl,
55
+ title = {{TRL: Transformer Reinforcement Learning}},
56
+ author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallou{\'e}dec},
57
+ year = 2020,
58
+ journal = {GitHub repository},
59
+ publisher = {GitHub},
60
+ howpublished = {\url{https://github.com/huggingface/trl}}
61
+ }
62
+ ```
adapter_config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "cjvt/GaMS3-12B-Instruct",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 32,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "megatron_config": null,
23
+ "megatron_core": "megatron.core",
24
+ "modules_to_save": null,
25
+ "peft_type": "LORA",
26
+ "peft_version": "0.18.1",
27
+ "qalora_group_size": 16,
28
+ "r": 16,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "o_proj",
33
+ "q_proj",
34
+ "gate_proj",
35
+ "down_proj",
36
+ "v_proj",
37
+ "up_proj",
38
+ "k_proj"
39
+ ],
40
+ "target_parameters": null,
41
+ "task_type": "CAUSAL_LM",
42
+ "trainable_token_indices": null,
43
+ "use_dora": false,
44
+ "use_qalora": false,
45
+ "use_rslora": false
46
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6e1bfe9b5818b5c7cdfca600fd68a8c56563124f68b14542c43221156f820f5e
3
+ size 131031528
added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<image_soft_token>": 262144
3
+ }
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: cjvt/GaMS3-12B-Instruct
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:cjvt/GaMS3-12B-Instruct
7
+ - lora
8
+ - sft
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.18.1
checkpoint-100/adapter_config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "cjvt/GaMS3-12B-Instruct",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 32,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "megatron_config": null,
23
+ "megatron_core": "megatron.core",
24
+ "modules_to_save": null,
25
+ "peft_type": "LORA",
26
+ "peft_version": "0.18.1",
27
+ "qalora_group_size": 16,
28
+ "r": 16,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "o_proj",
33
+ "q_proj",
34
+ "gate_proj",
35
+ "down_proj",
36
+ "v_proj",
37
+ "up_proj",
38
+ "k_proj"
39
+ ],
40
+ "target_parameters": null,
41
+ "task_type": "CAUSAL_LM",
42
+ "trainable_token_indices": null,
43
+ "use_dora": false,
44
+ "use_qalora": false,
45
+ "use_rslora": false
46
+ }
checkpoint-100/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:09c959932b7d7fd1bb3f23c4dac12045052227436daead5499c1ee4d0152a579
3
+ size 131031528
checkpoint-100/added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<image_soft_token>": 262144
3
+ }
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:dd1e8925786d0401cbab72431c8d61cecd742f6185956ab0668e80bfb380b5de
3
+ size 133781925
checkpoint-100/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c8b07f92ca865a40fe5c60e7344ff4a2e82743ee8c7462d379944f1f61ea3b57
3
+ size 14917
checkpoint-100/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4b70d3d9439d6d855dd34a63ceed4b04dcfd10789725e6bc77af11489bc15e39
3
+ size 14917
checkpoint-100/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c43584a5441bf511f4b1ae323002de15228857bedded18360da4ca22e3a48e84
3
+ size 1465
checkpoint-100/special_tokens_map.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "boi_token": "<start_of_image>",
3
+ "bos_token": {
4
+ "content": "<bos>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false
9
+ },
10
+ "cls_token": {
11
+ "content": "<bos>",
12
+ "lstrip": false,
13
+ "normalized": false,
14
+ "rstrip": false,
15
+ "single_word": false
16
+ },
17
+ "eoi_token": "<end_of_image>",
18
+ "eos_token": {
19
+ "content": "<eos>",
20
+ "lstrip": false,
21
+ "normalized": false,
22
+ "rstrip": false,
23
+ "single_word": false
24
+ },
25
+ "image_token": "<image_soft_token>",
26
+ "pad_token": {
27
+ "content": "<pad>",
28
+ "lstrip": false,
29
+ "normalized": false,
30
+ "rstrip": false,
31
+ "single_word": false
32
+ },
33
+ "sep_token": {
34
+ "content": "<eos>",
35
+ "lstrip": false,
36
+ "normalized": false,
37
+ "rstrip": false,
38
+ "single_word": false
39
+ },
40
+ "unk_token": {
41
+ "content": "<unk>",
42
+ "lstrip": false,
43
+ "normalized": false,
44
+ "rstrip": false,
45
+ "single_word": false
46
+ }
47
+ }
checkpoint-100/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4667f2089529e8e7657cfb6d1c19910ae71ff5f28aa7ab2ff2763330affad795
3
+ size 33384568
checkpoint-100/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1299c11d7cf632ef3b4e11937501358ada021bbdf7c47638d13c0ee982f2e79c
3
+ size 4689074
checkpoint-100/tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-100/trainer_state.json ADDED
@@ -0,0 +1,145 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 0.8501594048884166,
6
+ "eval_steps": 100,
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": 1.3227437630295753,
14
+ "epoch": 0.08501594048884166,
15
+ "grad_norm": 1.4296875,
16
+ "learning_rate": 0.00016363636363636366,
17
+ "loss": 1.518,
18
+ "mean_token_accuracy": 0.7175316952168942,
19
+ "num_tokens": 48910.0,
20
+ "step": 10
21
+ },
22
+ {
23
+ "entropy": 0.7062680356204509,
24
+ "epoch": 0.17003188097768332,
25
+ "grad_norm": 0.439453125,
26
+ "learning_rate": 0.00019973167127614215,
27
+ "loss": 0.7921,
28
+ "mean_token_accuracy": 0.8361715286970138,
29
+ "num_tokens": 96994.0,
30
+ "step": 20
31
+ },
32
+ {
33
+ "entropy": 0.6654534563422203,
34
+ "epoch": 0.255047821466525,
35
+ "grad_norm": 0.46875,
36
+ "learning_rate": 0.00019864405334538517,
37
+ "loss": 0.6723,
38
+ "mean_token_accuracy": 0.848845011740923,
39
+ "num_tokens": 144332.0,
40
+ "step": 30
41
+ },
42
+ {
43
+ "entropy": 0.5781836319714785,
44
+ "epoch": 0.34006376195536664,
45
+ "grad_norm": 0.447265625,
46
+ "learning_rate": 0.00019672948630390294,
47
+ "loss": 0.6044,
48
+ "mean_token_accuracy": 0.8551476895809174,
49
+ "num_tokens": 192719.0,
50
+ "step": 40
51
+ },
52
+ {
53
+ "entropy": 0.5426878597587347,
54
+ "epoch": 0.4250797024442083,
55
+ "grad_norm": 0.466796875,
56
+ "learning_rate": 0.00019400402027796955,
57
+ "loss": 0.5788,
58
+ "mean_token_accuracy": 0.8572557404637337,
59
+ "num_tokens": 241632.0,
60
+ "step": 50
61
+ },
62
+ {
63
+ "entropy": 0.5355116073042154,
64
+ "epoch": 0.51009564293305,
65
+ "grad_norm": 0.5625,
66
+ "learning_rate": 0.00019049050329166778,
67
+ "loss": 0.5629,
68
+ "mean_token_accuracy": 0.862634701281786,
69
+ "num_tokens": 291116.0,
70
+ "step": 60
71
+ },
72
+ {
73
+ "entropy": 0.5224194105714559,
74
+ "epoch": 0.5951115834218916,
75
+ "grad_norm": 0.55078125,
76
+ "learning_rate": 0.00018621838972819458,
77
+ "loss": 0.551,
78
+ "mean_token_accuracy": 0.8659204967319966,
79
+ "num_tokens": 340898.0,
80
+ "step": 70
81
+ },
82
+ {
83
+ "entropy": 0.4716725114732981,
84
+ "epoch": 0.6801275239107333,
85
+ "grad_norm": 0.52734375,
86
+ "learning_rate": 0.00018122349340898595,
87
+ "loss": 0.5116,
88
+ "mean_token_accuracy": 0.8745670169591904,
89
+ "num_tokens": 386799.0,
90
+ "step": 80
91
+ },
92
+ {
93
+ "entropy": 0.4831196520477533,
94
+ "epoch": 0.7651434643995749,
95
+ "grad_norm": 0.54296875,
96
+ "learning_rate": 0.00017554768736063859,
97
+ "loss": 0.5071,
98
+ "mean_token_accuracy": 0.8737691469490528,
99
+ "num_tokens": 436798.0,
100
+ "step": 90
101
+ },
102
+ {
103
+ "entropy": 0.44570639468729495,
104
+ "epoch": 0.8501594048884166,
105
+ "grad_norm": 0.515625,
106
+ "learning_rate": 0.00016923855278653114,
107
+ "loss": 0.465,
108
+ "mean_token_accuracy": 0.8849786855280399,
109
+ "num_tokens": 485573.0,
110
+ "step": 100
111
+ },
112
+ {
113
+ "epoch": 0.8501594048884166,
114
+ "eval_entropy": 0.48599471364702496,
115
+ "eval_loss": 0.475477933883667,
116
+ "eval_mean_token_accuracy": 0.8784565641766503,
117
+ "eval_num_tokens": 485573.0,
118
+ "eval_runtime": 17.16,
119
+ "eval_samples_per_second": 9.732,
120
+ "eval_steps_per_second": 4.895,
121
+ "step": 100
122
+ }
123
+ ],
124
+ "logging_steps": 10,
125
+ "max_steps": 354,
126
+ "num_input_tokens_seen": 0,
127
+ "num_train_epochs": 3,
128
+ "save_steps": 100,
129
+ "stateful_callbacks": {
130
+ "TrainerControl": {
131
+ "args": {
132
+ "should_epoch_stop": false,
133
+ "should_evaluate": false,
134
+ "should_log": false,
135
+ "should_save": true,
136
+ "should_training_stop": false
137
+ },
138
+ "attributes": {}
139
+ }
140
+ },
141
+ "total_flos": 3.1536876749848576e+16,
142
+ "train_batch_size": 1,
143
+ "trial_name": null,
144
+ "trial_params": null
145
+ }
checkpoint-100/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c0b154c32ade6b177f89984ecee5db33195307e61cc986c821de33deb3159fe4
3
+ size 5777
checkpoint-200/README.md ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: cjvt/GaMS3-12B-Instruct
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:cjvt/GaMS3-12B-Instruct
7
+ - lora
8
+ - sft
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.18.1
checkpoint-200/adapter_config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "cjvt/GaMS3-12B-Instruct",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 32,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "megatron_config": null,
23
+ "megatron_core": "megatron.core",
24
+ "modules_to_save": null,
25
+ "peft_type": "LORA",
26
+ "peft_version": "0.18.1",
27
+ "qalora_group_size": 16,
28
+ "r": 16,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "o_proj",
33
+ "q_proj",
34
+ "gate_proj",
35
+ "down_proj",
36
+ "v_proj",
37
+ "up_proj",
38
+ "k_proj"
39
+ ],
40
+ "target_parameters": null,
41
+ "task_type": "CAUSAL_LM",
42
+ "trainable_token_indices": null,
43
+ "use_dora": false,
44
+ "use_qalora": false,
45
+ "use_rslora": false
46
+ }
checkpoint-200/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:140797790759baaa3b422fa324ddc97c11b6bb90b61a9a57d3dd7f2f494637d2
3
+ size 131031528
checkpoint-200/added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<image_soft_token>": 262144
3
+ }
checkpoint-200/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-200/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a7d589b8e2b314f043ea3813c101a6a978bfa86eb4bc7cecebef201ef6db153
3
+ size 133781925
checkpoint-200/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a5512348a82cda5a09968ecbae77ad64d001280a08c6e5ec2381c2d1a3555572
3
+ size 14917
checkpoint-200/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af8ef59854e0c7c8d1f2c9ff866ec7393a01b6897b74bd2624fb3ba10844492a
3
+ size 14917
checkpoint-200/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62574522adc0fe63f5647e437ab851f75482400bb6b646d92afaae3947853fdc
3
+ size 1465
checkpoint-200/special_tokens_map.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "boi_token": "<start_of_image>",
3
+ "bos_token": {
4
+ "content": "<bos>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false
9
+ },
10
+ "cls_token": {
11
+ "content": "<bos>",
12
+ "lstrip": false,
13
+ "normalized": false,
14
+ "rstrip": false,
15
+ "single_word": false
16
+ },
17
+ "eoi_token": "<end_of_image>",
18
+ "eos_token": {
19
+ "content": "<eos>",
20
+ "lstrip": false,
21
+ "normalized": false,
22
+ "rstrip": false,
23
+ "single_word": false
24
+ },
25
+ "image_token": "<image_soft_token>",
26
+ "pad_token": {
27
+ "content": "<pad>",
28
+ "lstrip": false,
29
+ "normalized": false,
30
+ "rstrip": false,
31
+ "single_word": false
32
+ },
33
+ "sep_token": {
34
+ "content": "<eos>",
35
+ "lstrip": false,
36
+ "normalized": false,
37
+ "rstrip": false,
38
+ "single_word": false
39
+ },
40
+ "unk_token": {
41
+ "content": "<unk>",
42
+ "lstrip": false,
43
+ "normalized": false,
44
+ "rstrip": false,
45
+ "single_word": false
46
+ }
47
+ }
checkpoint-200/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4667f2089529e8e7657cfb6d1c19910ae71ff5f28aa7ab2ff2763330affad795
3
+ size 33384568
checkpoint-200/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1299c11d7cf632ef3b4e11937501358ada021bbdf7c47638d13c0ee982f2e79c
3
+ size 4689074
checkpoint-200/tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-200/trainer_state.json ADDED
@@ -0,0 +1,256 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 1.6971307120085015,
6
+ "eval_steps": 100,
7
+ "global_step": 200,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "entropy": 1.3227437630295753,
14
+ "epoch": 0.08501594048884166,
15
+ "grad_norm": 1.4296875,
16
+ "learning_rate": 0.00016363636363636366,
17
+ "loss": 1.518,
18
+ "mean_token_accuracy": 0.7175316952168942,
19
+ "num_tokens": 48910.0,
20
+ "step": 10
21
+ },
22
+ {
23
+ "entropy": 0.7062680356204509,
24
+ "epoch": 0.17003188097768332,
25
+ "grad_norm": 0.439453125,
26
+ "learning_rate": 0.00019973167127614215,
27
+ "loss": 0.7921,
28
+ "mean_token_accuracy": 0.8361715286970138,
29
+ "num_tokens": 96994.0,
30
+ "step": 20
31
+ },
32
+ {
33
+ "entropy": 0.6654534563422203,
34
+ "epoch": 0.255047821466525,
35
+ "grad_norm": 0.46875,
36
+ "learning_rate": 0.00019864405334538517,
37
+ "loss": 0.6723,
38
+ "mean_token_accuracy": 0.848845011740923,
39
+ "num_tokens": 144332.0,
40
+ "step": 30
41
+ },
42
+ {
43
+ "entropy": 0.5781836319714785,
44
+ "epoch": 0.34006376195536664,
45
+ "grad_norm": 0.447265625,
46
+ "learning_rate": 0.00019672948630390294,
47
+ "loss": 0.6044,
48
+ "mean_token_accuracy": 0.8551476895809174,
49
+ "num_tokens": 192719.0,
50
+ "step": 40
51
+ },
52
+ {
53
+ "entropy": 0.5426878597587347,
54
+ "epoch": 0.4250797024442083,
55
+ "grad_norm": 0.466796875,
56
+ "learning_rate": 0.00019400402027796955,
57
+ "loss": 0.5788,
58
+ "mean_token_accuracy": 0.8572557404637337,
59
+ "num_tokens": 241632.0,
60
+ "step": 50
61
+ },
62
+ {
63
+ "entropy": 0.5355116073042154,
64
+ "epoch": 0.51009564293305,
65
+ "grad_norm": 0.5625,
66
+ "learning_rate": 0.00019049050329166778,
67
+ "loss": 0.5629,
68
+ "mean_token_accuracy": 0.862634701281786,
69
+ "num_tokens": 291116.0,
70
+ "step": 60
71
+ },
72
+ {
73
+ "entropy": 0.5224194105714559,
74
+ "epoch": 0.5951115834218916,
75
+ "grad_norm": 0.55078125,
76
+ "learning_rate": 0.00018621838972819458,
77
+ "loss": 0.551,
78
+ "mean_token_accuracy": 0.8659204967319966,
79
+ "num_tokens": 340898.0,
80
+ "step": 70
81
+ },
82
+ {
83
+ "entropy": 0.4716725114732981,
84
+ "epoch": 0.6801275239107333,
85
+ "grad_norm": 0.52734375,
86
+ "learning_rate": 0.00018122349340898595,
87
+ "loss": 0.5116,
88
+ "mean_token_accuracy": 0.8745670169591904,
89
+ "num_tokens": 386799.0,
90
+ "step": 80
91
+ },
92
+ {
93
+ "entropy": 0.4831196520477533,
94
+ "epoch": 0.7651434643995749,
95
+ "grad_norm": 0.54296875,
96
+ "learning_rate": 0.00017554768736063859,
97
+ "loss": 0.5071,
98
+ "mean_token_accuracy": 0.8737691469490528,
99
+ "num_tokens": 436798.0,
100
+ "step": 90
101
+ },
102
+ {
103
+ "entropy": 0.44570639468729495,
104
+ "epoch": 0.8501594048884166,
105
+ "grad_norm": 0.515625,
106
+ "learning_rate": 0.00016923855278653114,
107
+ "loss": 0.465,
108
+ "mean_token_accuracy": 0.8849786855280399,
109
+ "num_tokens": 485573.0,
110
+ "step": 100
111
+ },
112
+ {
113
+ "epoch": 0.8501594048884166,
114
+ "eval_entropy": 0.48599471364702496,
115
+ "eval_loss": 0.475477933883667,
116
+ "eval_mean_token_accuracy": 0.8784565641766503,
117
+ "eval_num_tokens": 485573.0,
118
+ "eval_runtime": 17.16,
119
+ "eval_samples_per_second": 9.732,
120
+ "eval_steps_per_second": 4.895,
121
+ "step": 100
122
+ },
123
+ {
124
+ "entropy": 0.43454019390046594,
125
+ "epoch": 0.9351753453772582,
126
+ "grad_norm": 0.62890625,
127
+ "learning_rate": 0.00016234898018587337,
128
+ "loss": 0.4552,
129
+ "mean_token_accuracy": 0.8844782762229443,
130
+ "num_tokens": 530654.0,
131
+ "step": 110
132
+ },
133
+ {
134
+ "entropy": 0.41183759620437377,
135
+ "epoch": 1.0170031880977684,
136
+ "grad_norm": 0.5078125,
137
+ "learning_rate": 0.00015493672596406598,
138
+ "loss": 0.4096,
139
+ "mean_token_accuracy": 0.8991486182460537,
140
+ "num_tokens": 574892.0,
141
+ "step": 120
142
+ },
143
+ {
144
+ "entropy": 0.35238806419074536,
145
+ "epoch": 1.1020191285866099,
146
+ "grad_norm": 0.5546875,
147
+ "learning_rate": 0.00014706392825137964,
148
+ "loss": 0.3574,
149
+ "mean_token_accuracy": 0.9064381532371044,
150
+ "num_tokens": 620523.0,
151
+ "step": 130
152
+ },
153
+ {
154
+ "entropy": 0.3248062996193767,
155
+ "epoch": 1.1870350690754516,
156
+ "grad_norm": 0.69921875,
157
+ "learning_rate": 0.00013879658598892254,
158
+ "loss": 0.3389,
159
+ "mean_token_accuracy": 0.9107168510556221,
160
+ "num_tokens": 670456.0,
161
+ "step": 140
162
+ },
163
+ {
164
+ "entropy": 0.3360298121348023,
165
+ "epoch": 1.2720510095642932,
166
+ "grad_norm": 0.65234375,
167
+ "learning_rate": 0.0001302040056488047,
168
+ "loss": 0.3444,
169
+ "mean_token_accuracy": 0.9091025076806545,
170
+ "num_tokens": 718444.0,
171
+ "step": 150
172
+ },
173
+ {
174
+ "entropy": 0.3400493461638689,
175
+ "epoch": 1.357066950053135,
176
+ "grad_norm": 0.58203125,
177
+ "learning_rate": 0.00012135822022673263,
178
+ "loss": 0.3558,
179
+ "mean_token_accuracy": 0.910928662866354,
180
+ "num_tokens": 767549.0,
181
+ "step": 160
182
+ },
183
+ {
184
+ "entropy": 0.3092759184539318,
185
+ "epoch": 1.4420828905419767,
186
+ "grad_norm": 0.625,
187
+ "learning_rate": 0.00011233338537771407,
188
+ "loss": 0.3089,
189
+ "mean_token_accuracy": 0.9161648266017437,
190
+ "num_tokens": 818123.0,
191
+ "step": 170
192
+ },
193
+ {
194
+ "entropy": 0.3046819636598229,
195
+ "epoch": 1.5270988310308182,
196
+ "grad_norm": 0.55859375,
197
+ "learning_rate": 0.00010320515775716555,
198
+ "loss": 0.3032,
199
+ "mean_token_accuracy": 0.9219753406941891,
200
+ "num_tokens": 867721.0,
201
+ "step": 180
202
+ },
203
+ {
204
+ "entropy": 0.2906474955379963,
205
+ "epoch": 1.61211477151966,
206
+ "grad_norm": 0.5,
207
+ "learning_rate": 9.405006077888954e-05,
208
+ "loss": 0.2992,
209
+ "mean_token_accuracy": 0.9225860193371773,
210
+ "num_tokens": 917153.0,
211
+ "step": 190
212
+ },
213
+ {
214
+ "entropy": 0.30296949967741965,
215
+ "epoch": 1.6971307120085015,
216
+ "grad_norm": 0.546875,
217
+ "learning_rate": 8.494484310687581e-05,
218
+ "loss": 0.3053,
219
+ "mean_token_accuracy": 0.9186053372919559,
220
+ "num_tokens": 964600.0,
221
+ "step": 200
222
+ },
223
+ {
224
+ "epoch": 1.6971307120085015,
225
+ "eval_entropy": 0.35429788788869265,
226
+ "eval_loss": 0.404356449842453,
227
+ "eval_mean_token_accuracy": 0.8999107018822715,
228
+ "eval_num_tokens": 964600.0,
229
+ "eval_runtime": 17.2396,
230
+ "eval_samples_per_second": 9.687,
231
+ "eval_steps_per_second": 4.872,
232
+ "step": 200
233
+ }
234
+ ],
235
+ "logging_steps": 10,
236
+ "max_steps": 354,
237
+ "num_input_tokens_seen": 0,
238
+ "num_train_epochs": 3,
239
+ "save_steps": 100,
240
+ "stateful_callbacks": {
241
+ "TrainerControl": {
242
+ "args": {
243
+ "should_epoch_stop": false,
244
+ "should_evaluate": false,
245
+ "should_log": false,
246
+ "should_save": true,
247
+ "should_training_stop": false
248
+ },
249
+ "attributes": {}
250
+ }
251
+ },
252
+ "total_flos": 6.275304131238298e+16,
253
+ "train_batch_size": 1,
254
+ "trial_name": null,
255
+ "trial_params": null
256
+ }
checkpoint-200/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c0b154c32ade6b177f89984ecee5db33195307e61cc986c821de33deb3159fe4
3
+ size 5777
checkpoint-300/README.md ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: cjvt/GaMS3-12B-Instruct
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:cjvt/GaMS3-12B-Instruct
7
+ - lora
8
+ - sft
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.18.1
checkpoint-300/adapter_config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "cjvt/GaMS3-12B-Instruct",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 32,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "megatron_config": null,
23
+ "megatron_core": "megatron.core",
24
+ "modules_to_save": null,
25
+ "peft_type": "LORA",
26
+ "peft_version": "0.18.1",
27
+ "qalora_group_size": 16,
28
+ "r": 16,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "o_proj",
33
+ "q_proj",
34
+ "gate_proj",
35
+ "down_proj",
36
+ "v_proj",
37
+ "up_proj",
38
+ "k_proj"
39
+ ],
40
+ "target_parameters": null,
41
+ "task_type": "CAUSAL_LM",
42
+ "trainable_token_indices": null,
43
+ "use_dora": false,
44
+ "use_qalora": false,
45
+ "use_rslora": false
46
+ }
checkpoint-300/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f73db7b7a6ca6f1aa3168d018597797ceecadfab95efbe42782d7d22d1da3a7
3
+ size 131031528
checkpoint-300/added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<image_soft_token>": 262144
3
+ }
checkpoint-300/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-300/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9def8367b2ef1429317f54da3eb58f7326004aad2684e50f2dfbc698ea2268b1
3
+ size 133782565
checkpoint-300/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4a6e080824c8cedcf31c5e1f1e9b99c410f9c55768ade8e5fbc0c6a8bab8b0d9
3
+ size 14917
checkpoint-300/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:63a8af738665b07693fa60655de09b4febecd726fefea2d67ad250eb13992607
3
+ size 14917
checkpoint-300/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d128b74cfdeb6d74cdfac30f3fe8f0f8f7d3708ff58c289aa65e679d07967f98
3
+ size 1465
checkpoint-300/special_tokens_map.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "boi_token": "<start_of_image>",
3
+ "bos_token": {
4
+ "content": "<bos>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false
9
+ },
10
+ "cls_token": {
11
+ "content": "<bos>",
12
+ "lstrip": false,
13
+ "normalized": false,
14
+ "rstrip": false,
15
+ "single_word": false
16
+ },
17
+ "eoi_token": "<end_of_image>",
18
+ "eos_token": {
19
+ "content": "<eos>",
20
+ "lstrip": false,
21
+ "normalized": false,
22
+ "rstrip": false,
23
+ "single_word": false
24
+ },
25
+ "image_token": "<image_soft_token>",
26
+ "pad_token": {
27
+ "content": "<pad>",
28
+ "lstrip": false,
29
+ "normalized": false,
30
+ "rstrip": false,
31
+ "single_word": false
32
+ },
33
+ "sep_token": {
34
+ "content": "<eos>",
35
+ "lstrip": false,
36
+ "normalized": false,
37
+ "rstrip": false,
38
+ "single_word": false
39
+ },
40
+ "unk_token": {
41
+ "content": "<unk>",
42
+ "lstrip": false,
43
+ "normalized": false,
44
+ "rstrip": false,
45
+ "single_word": false
46
+ }
47
+ }
checkpoint-300/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4667f2089529e8e7657cfb6d1c19910ae71ff5f28aa7ab2ff2763330affad795
3
+ size 33384568
checkpoint-300/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1299c11d7cf632ef3b4e11937501358ada021bbdf7c47638d13c0ee982f2e79c
3
+ size 4689074
checkpoint-300/tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-300/trainer_state.json ADDED
@@ -0,0 +1,367 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 2.5441020191285864,
6
+ "eval_steps": 100,
7
+ "global_step": 300,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "entropy": 1.3227437630295753,
14
+ "epoch": 0.08501594048884166,
15
+ "grad_norm": 1.4296875,
16
+ "learning_rate": 0.00016363636363636366,
17
+ "loss": 1.518,
18
+ "mean_token_accuracy": 0.7175316952168942,
19
+ "num_tokens": 48910.0,
20
+ "step": 10
21
+ },
22
+ {
23
+ "entropy": 0.7062680356204509,
24
+ "epoch": 0.17003188097768332,
25
+ "grad_norm": 0.439453125,
26
+ "learning_rate": 0.00019973167127614215,
27
+ "loss": 0.7921,
28
+ "mean_token_accuracy": 0.8361715286970138,
29
+ "num_tokens": 96994.0,
30
+ "step": 20
31
+ },
32
+ {
33
+ "entropy": 0.6654534563422203,
34
+ "epoch": 0.255047821466525,
35
+ "grad_norm": 0.46875,
36
+ "learning_rate": 0.00019864405334538517,
37
+ "loss": 0.6723,
38
+ "mean_token_accuracy": 0.848845011740923,
39
+ "num_tokens": 144332.0,
40
+ "step": 30
41
+ },
42
+ {
43
+ "entropy": 0.5781836319714785,
44
+ "epoch": 0.34006376195536664,
45
+ "grad_norm": 0.447265625,
46
+ "learning_rate": 0.00019672948630390294,
47
+ "loss": 0.6044,
48
+ "mean_token_accuracy": 0.8551476895809174,
49
+ "num_tokens": 192719.0,
50
+ "step": 40
51
+ },
52
+ {
53
+ "entropy": 0.5426878597587347,
54
+ "epoch": 0.4250797024442083,
55
+ "grad_norm": 0.466796875,
56
+ "learning_rate": 0.00019400402027796955,
57
+ "loss": 0.5788,
58
+ "mean_token_accuracy": 0.8572557404637337,
59
+ "num_tokens": 241632.0,
60
+ "step": 50
61
+ },
62
+ {
63
+ "entropy": 0.5355116073042154,
64
+ "epoch": 0.51009564293305,
65
+ "grad_norm": 0.5625,
66
+ "learning_rate": 0.00019049050329166778,
67
+ "loss": 0.5629,
68
+ "mean_token_accuracy": 0.862634701281786,
69
+ "num_tokens": 291116.0,
70
+ "step": 60
71
+ },
72
+ {
73
+ "entropy": 0.5224194105714559,
74
+ "epoch": 0.5951115834218916,
75
+ "grad_norm": 0.55078125,
76
+ "learning_rate": 0.00018621838972819458,
77
+ "loss": 0.551,
78
+ "mean_token_accuracy": 0.8659204967319966,
79
+ "num_tokens": 340898.0,
80
+ "step": 70
81
+ },
82
+ {
83
+ "entropy": 0.4716725114732981,
84
+ "epoch": 0.6801275239107333,
85
+ "grad_norm": 0.52734375,
86
+ "learning_rate": 0.00018122349340898595,
87
+ "loss": 0.5116,
88
+ "mean_token_accuracy": 0.8745670169591904,
89
+ "num_tokens": 386799.0,
90
+ "step": 80
91
+ },
92
+ {
93
+ "entropy": 0.4831196520477533,
94
+ "epoch": 0.7651434643995749,
95
+ "grad_norm": 0.54296875,
96
+ "learning_rate": 0.00017554768736063859,
97
+ "loss": 0.5071,
98
+ "mean_token_accuracy": 0.8737691469490528,
99
+ "num_tokens": 436798.0,
100
+ "step": 90
101
+ },
102
+ {
103
+ "entropy": 0.44570639468729495,
104
+ "epoch": 0.8501594048884166,
105
+ "grad_norm": 0.515625,
106
+ "learning_rate": 0.00016923855278653114,
107
+ "loss": 0.465,
108
+ "mean_token_accuracy": 0.8849786855280399,
109
+ "num_tokens": 485573.0,
110
+ "step": 100
111
+ },
112
+ {
113
+ "epoch": 0.8501594048884166,
114
+ "eval_entropy": 0.48599471364702496,
115
+ "eval_loss": 0.475477933883667,
116
+ "eval_mean_token_accuracy": 0.8784565641766503,
117
+ "eval_num_tokens": 485573.0,
118
+ "eval_runtime": 17.16,
119
+ "eval_samples_per_second": 9.732,
120
+ "eval_steps_per_second": 4.895,
121
+ "step": 100
122
+ },
123
+ {
124
+ "entropy": 0.43454019390046594,
125
+ "epoch": 0.9351753453772582,
126
+ "grad_norm": 0.62890625,
127
+ "learning_rate": 0.00016234898018587337,
128
+ "loss": 0.4552,
129
+ "mean_token_accuracy": 0.8844782762229443,
130
+ "num_tokens": 530654.0,
131
+ "step": 110
132
+ },
133
+ {
134
+ "entropy": 0.41183759620437377,
135
+ "epoch": 1.0170031880977684,
136
+ "grad_norm": 0.5078125,
137
+ "learning_rate": 0.00015493672596406598,
138
+ "loss": 0.4096,
139
+ "mean_token_accuracy": 0.8991486182460537,
140
+ "num_tokens": 574892.0,
141
+ "step": 120
142
+ },
143
+ {
144
+ "entropy": 0.35238806419074536,
145
+ "epoch": 1.1020191285866099,
146
+ "grad_norm": 0.5546875,
147
+ "learning_rate": 0.00014706392825137964,
148
+ "loss": 0.3574,
149
+ "mean_token_accuracy": 0.9064381532371044,
150
+ "num_tokens": 620523.0,
151
+ "step": 130
152
+ },
153
+ {
154
+ "entropy": 0.3248062996193767,
155
+ "epoch": 1.1870350690754516,
156
+ "grad_norm": 0.69921875,
157
+ "learning_rate": 0.00013879658598892254,
158
+ "loss": 0.3389,
159
+ "mean_token_accuracy": 0.9107168510556221,
160
+ "num_tokens": 670456.0,
161
+ "step": 140
162
+ },
163
+ {
164
+ "entropy": 0.3360298121348023,
165
+ "epoch": 1.2720510095642932,
166
+ "grad_norm": 0.65234375,
167
+ "learning_rate": 0.0001302040056488047,
168
+ "loss": 0.3444,
169
+ "mean_token_accuracy": 0.9091025076806545,
170
+ "num_tokens": 718444.0,
171
+ "step": 150
172
+ },
173
+ {
174
+ "entropy": 0.3400493461638689,
175
+ "epoch": 1.357066950053135,
176
+ "grad_norm": 0.58203125,
177
+ "learning_rate": 0.00012135822022673263,
178
+ "loss": 0.3558,
179
+ "mean_token_accuracy": 0.910928662866354,
180
+ "num_tokens": 767549.0,
181
+ "step": 160
182
+ },
183
+ {
184
+ "entropy": 0.3092759184539318,
185
+ "epoch": 1.4420828905419767,
186
+ "grad_norm": 0.625,
187
+ "learning_rate": 0.00011233338537771407,
188
+ "loss": 0.3089,
189
+ "mean_token_accuracy": 0.9161648266017437,
190
+ "num_tokens": 818123.0,
191
+ "step": 170
192
+ },
193
+ {
194
+ "entropy": 0.3046819636598229,
195
+ "epoch": 1.5270988310308182,
196
+ "grad_norm": 0.55859375,
197
+ "learning_rate": 0.00010320515775716555,
198
+ "loss": 0.3032,
199
+ "mean_token_accuracy": 0.9219753406941891,
200
+ "num_tokens": 867721.0,
201
+ "step": 180
202
+ },
203
+ {
204
+ "entropy": 0.2906474955379963,
205
+ "epoch": 1.61211477151966,
206
+ "grad_norm": 0.5,
207
+ "learning_rate": 9.405006077888954e-05,
208
+ "loss": 0.2992,
209
+ "mean_token_accuracy": 0.9225860193371773,
210
+ "num_tokens": 917153.0,
211
+ "step": 190
212
+ },
213
+ {
214
+ "entropy": 0.30296949967741965,
215
+ "epoch": 1.6971307120085015,
216
+ "grad_norm": 0.546875,
217
+ "learning_rate": 8.494484310687581e-05,
218
+ "loss": 0.3053,
219
+ "mean_token_accuracy": 0.9186053372919559,
220
+ "num_tokens": 964600.0,
221
+ "step": 200
222
+ },
223
+ {
224
+ "epoch": 1.6971307120085015,
225
+ "eval_entropy": 0.35429788788869265,
226
+ "eval_loss": 0.404356449842453,
227
+ "eval_mean_token_accuracy": 0.8999107018822715,
228
+ "eval_num_tokens": 964600.0,
229
+ "eval_runtime": 17.2396,
230
+ "eval_samples_per_second": 9.687,
231
+ "eval_steps_per_second": 4.872,
232
+ "step": 200
233
+ },
234
+ {
235
+ "entropy": 0.30462323110550643,
236
+ "epoch": 1.7821466524973433,
237
+ "grad_norm": 0.59375,
238
+ "learning_rate": 7.596583525879344e-05,
239
+ "loss": 0.308,
240
+ "mean_token_accuracy": 0.9176651492714882,
241
+ "num_tokens": 1010401.0,
242
+ "step": 210
243
+ },
244
+ {
245
+ "entropy": 0.29319654731079936,
246
+ "epoch": 1.867162592986185,
247
+ "grad_norm": 0.64453125,
248
+ "learning_rate": 6.718830971487165e-05,
249
+ "loss": 0.2912,
250
+ "mean_token_accuracy": 0.9217840351164341,
251
+ "num_tokens": 1058672.0,
252
+ "step": 220
253
+ },
254
+ {
255
+ "entropy": 0.28096328396350145,
256
+ "epoch": 1.9521785334750266,
257
+ "grad_norm": 0.6796875,
258
+ "learning_rate": 5.868584989647994e-05,
259
+ "loss": 0.2825,
260
+ "mean_token_accuracy": 0.9237303651869297,
261
+ "num_tokens": 1106102.0,
262
+ "step": 230
263
+ },
264
+ {
265
+ "entropy": 0.27870092405514285,
266
+ "epoch": 2.0340063761955367,
267
+ "grad_norm": 0.4296875,
268
+ "learning_rate": 5.0529733304363145e-05,
269
+ "loss": 0.2657,
270
+ "mean_token_accuracy": 0.9302684858247832,
271
+ "num_tokens": 1151178.0,
272
+ "step": 240
273
+ },
274
+ {
275
+ "entropy": 0.2116462522186339,
276
+ "epoch": 2.1190223166843785,
277
+ "grad_norm": 0.625,
278
+ "learning_rate": 4.278833398778306e-05,
279
+ "loss": 0.2033,
280
+ "mean_token_accuracy": 0.9440436236560344,
281
+ "num_tokens": 1198945.0,
282
+ "step": 250
283
+ },
284
+ {
285
+ "entropy": 0.21235913261771203,
286
+ "epoch": 2.2040382571732198,
287
+ "grad_norm": 0.5,
288
+ "learning_rate": 3.5526549353765296e-05,
289
+ "loss": 0.2133,
290
+ "mean_token_accuracy": 0.9405460350215435,
291
+ "num_tokens": 1246732.0,
292
+ "step": 260
293
+ },
294
+ {
295
+ "entropy": 0.22362984605133535,
296
+ "epoch": 2.2890541976620615,
297
+ "grad_norm": 0.494140625,
298
+ "learning_rate": 2.8805256121602398e-05,
299
+ "loss": 0.2225,
300
+ "mean_token_accuracy": 0.9388925828039646,
301
+ "num_tokens": 1291061.0,
302
+ "step": 270
303
+ },
304
+ {
305
+ "entropy": 0.22003474170342088,
306
+ "epoch": 2.3740701381509033,
307
+ "grad_norm": 0.53125,
308
+ "learning_rate": 2.268079998343453e-05,
309
+ "loss": 0.2244,
310
+ "mean_token_accuracy": 0.9388979405164719,
311
+ "num_tokens": 1340506.0,
312
+ "step": 280
313
+ },
314
+ {
315
+ "entropy": 0.20420914590358735,
316
+ "epoch": 2.459086078639745,
317
+ "grad_norm": 0.59765625,
318
+ "learning_rate": 1.720452324916656e-05,
319
+ "loss": 0.2062,
320
+ "mean_token_accuracy": 0.941665968298912,
321
+ "num_tokens": 1389105.0,
322
+ "step": 290
323
+ },
324
+ {
325
+ "entropy": 0.21224667700007557,
326
+ "epoch": 2.5441020191285864,
327
+ "grad_norm": 0.470703125,
328
+ "learning_rate": 1.2422334435550509e-05,
329
+ "loss": 0.2076,
330
+ "mean_token_accuracy": 0.9419615142047405,
331
+ "num_tokens": 1436911.0,
332
+ "step": 300
333
+ },
334
+ {
335
+ "epoch": 2.5441020191285864,
336
+ "eval_entropy": 0.2823823473105828,
337
+ "eval_loss": 0.3997238576412201,
338
+ "eval_mean_token_accuracy": 0.906679209499132,
339
+ "eval_num_tokens": 1436911.0,
340
+ "eval_runtime": 17.0522,
341
+ "eval_samples_per_second": 9.793,
342
+ "eval_steps_per_second": 4.926,
343
+ "step": 300
344
+ }
345
+ ],
346
+ "logging_steps": 10,
347
+ "max_steps": 354,
348
+ "num_input_tokens_seen": 0,
349
+ "num_train_epochs": 3,
350
+ "save_steps": 100,
351
+ "stateful_callbacks": {
352
+ "TrainerControl": {
353
+ "args": {
354
+ "should_epoch_stop": false,
355
+ "should_evaluate": false,
356
+ "should_log": false,
357
+ "should_save": true,
358
+ "should_training_stop": false
359
+ },
360
+ "attributes": {}
361
+ }
362
+ },
363
+ "total_flos": 9.350424533191885e+16,
364
+ "train_batch_size": 1,
365
+ "trial_name": null,
366
+ "trial_params": null
367
+ }