Dinesh-Kumar commited on
Commit
e37ec4c
·
verified ·
1 Parent(s): d2e2419

Upload folder using huggingface_hub

Browse files
.Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4d2610888a5e618ffc8f0b53132863acbc9f77393713120fa3d44286b3437310
3
+ size 1069306400
.gitattributes CHANGED
@@ -33,3 +33,7 @@ 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
+ .Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
37
+ checkpoint-500/tokenizer.json filter=lfs diff=lfs merge=lfs -text
38
+ checkpoint-600/tokenizer.json filter=lfs diff=lfs merge=lfs -text
39
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: unsloth/gemma-3-1b-it
3
+ library_name: peft
4
+ model_name: model
5
+ tags:
6
+ - base_model:adapter:unsloth/gemma-3-1b-it
7
+ - lora
8
+ - sft
9
+ - transformers
10
+ - trl
11
+ - unsloth
12
+ licence: license
13
+ pipeline_tag: text-generation
14
+ ---
15
+
16
+ # Model Card for model
17
+
18
+ This model is a fine-tuned version of [unsloth/gemma-3-1b-it](https://huggingface.co/unsloth/gemma-3-1b-it).
19
+ It has been trained using [TRL](https://github.com/huggingface/trl).
20
+
21
+ ## Quick start
22
+
23
+ ```python
24
+ from transformers import pipeline
25
+
26
+ 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?"
27
+ generator = pipeline("text-generation", model="None", device="cuda")
28
+ output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
29
+ print(output["generated_text"])
30
+ ```
31
+
32
+ ## Training procedure
33
+
34
+
35
+
36
+
37
+ This model was trained with SFT.
38
+
39
+ ### Framework versions
40
+
41
+ - PEFT 0.17.1
42
+ - TRL: 0.23.0
43
+ - Transformers: 4.56.2
44
+ - Pytorch: 2.8.0+cu126
45
+ - Datasets: 4.2.0
46
+ - Tokenizers: 0.22.1
47
+
48
+ ## Citations
49
+
50
+
51
+
52
+ Cite TRL as:
53
+
54
+ ```bibtex
55
+ @misc{vonwerra2022trl,
56
+ title = {{TRL: Transformer Reinforcement Learning}},
57
+ 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},
58
+ year = 2020,
59
+ journal = {GitHub repository},
60
+ publisher = {GitHub},
61
+ howpublished = {\url{https://github.com/huggingface/trl}}
62
+ }
63
+ ```
adapter_config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": {
4
+ "base_model_class": "Gemma3ForCausalLM",
5
+ "parent_library": "transformers.models.gemma3.modeling_gemma3",
6
+ "unsloth_fixed": true
7
+ },
8
+ "base_model_name_or_path": "unsloth/gemma-3-1b-it",
9
+ "bias": "none",
10
+ "corda_config": null,
11
+ "eva_config": null,
12
+ "exclude_modules": null,
13
+ "fan_in_fan_out": false,
14
+ "inference_mode": true,
15
+ "init_lora_weights": true,
16
+ "layer_replication": null,
17
+ "layers_pattern": null,
18
+ "layers_to_transform": null,
19
+ "loftq_config": {},
20
+ "lora_alpha": 128,
21
+ "lora_bias": false,
22
+ "lora_dropout": 0,
23
+ "megatron_config": null,
24
+ "megatron_core": "megatron.core",
25
+ "modules_to_save": null,
26
+ "peft_type": "LORA",
27
+ "qalora_group_size": 16,
28
+ "r": 128,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "gate_proj",
33
+ "k_proj",
34
+ "o_proj",
35
+ "q_proj",
36
+ "v_proj",
37
+ "down_proj",
38
+ "up_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:51a0d437d01825d7d6aab4366dda599c1dc274bae65257af3e0726a07777eafc
3
+ size 417513640
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-500/README.md ADDED
@@ -0,0 +1,210 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: unsloth/gemma-3-1b-it
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:unsloth/gemma-3-1b-it
7
+ - lora
8
+ - sft
9
+ - transformers
10
+ - trl
11
+ - unsloth
12
+ ---
13
+
14
+ # Model Card for Model ID
15
+
16
+ <!-- Provide a quick summary of what the model is/does. -->
17
+
18
+
19
+
20
+ ## Model Details
21
+
22
+ ### Model Description
23
+
24
+ <!-- Provide a longer summary of what this model is. -->
25
+
26
+
27
+
28
+ - **Developed by:** [More Information Needed]
29
+ - **Funded by [optional]:** [More Information Needed]
30
+ - **Shared by [optional]:** [More Information Needed]
31
+ - **Model type:** [More Information Needed]
32
+ - **Language(s) (NLP):** [More Information Needed]
33
+ - **License:** [More Information Needed]
34
+ - **Finetuned from model [optional]:** [More Information Needed]
35
+
36
+ ### Model Sources [optional]
37
+
38
+ <!-- Provide the basic links for the model. -->
39
+
40
+ - **Repository:** [More Information Needed]
41
+ - **Paper [optional]:** [More Information Needed]
42
+ - **Demo [optional]:** [More Information Needed]
43
+
44
+ ## Uses
45
+
46
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
47
+
48
+ ### Direct Use
49
+
50
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
51
+
52
+ [More Information Needed]
53
+
54
+ ### Downstream Use [optional]
55
+
56
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
57
+
58
+ [More Information Needed]
59
+
60
+ ### Out-of-Scope Use
61
+
62
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
63
+
64
+ [More Information Needed]
65
+
66
+ ## Bias, Risks, and Limitations
67
+
68
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
69
+
70
+ [More Information Needed]
71
+
72
+ ### Recommendations
73
+
74
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
75
+
76
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
77
+
78
+ ## How to Get Started with the Model
79
+
80
+ Use the code below to get started with the model.
81
+
82
+ [More Information Needed]
83
+
84
+ ## Training Details
85
+
86
+ ### Training Data
87
+
88
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
89
+
90
+ [More Information Needed]
91
+
92
+ ### Training Procedure
93
+
94
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
95
+
96
+ #### Preprocessing [optional]
97
+
98
+ [More Information Needed]
99
+
100
+
101
+ #### Training Hyperparameters
102
+
103
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
104
+
105
+ #### Speeds, Sizes, Times [optional]
106
+
107
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
108
+
109
+ [More Information Needed]
110
+
111
+ ## Evaluation
112
+
113
+ <!-- This section describes the evaluation protocols and provides the results. -->
114
+
115
+ ### Testing Data, Factors & Metrics
116
+
117
+ #### Testing Data
118
+
119
+ <!-- This should link to a Dataset Card if possible. -->
120
+
121
+ [More Information Needed]
122
+
123
+ #### Factors
124
+
125
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
126
+
127
+ [More Information Needed]
128
+
129
+ #### Metrics
130
+
131
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
132
+
133
+ [More Information Needed]
134
+
135
+ ### Results
136
+
137
+ [More Information Needed]
138
+
139
+ #### Summary
140
+
141
+
142
+
143
+ ## Model Examination [optional]
144
+
145
+ <!-- Relevant interpretability work for the model goes here -->
146
+
147
+ [More Information Needed]
148
+
149
+ ## Environmental Impact
150
+
151
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
152
+
153
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
154
+
155
+ - **Hardware Type:** [More Information Needed]
156
+ - **Hours used:** [More Information Needed]
157
+ - **Cloud Provider:** [More Information Needed]
158
+ - **Compute Region:** [More Information Needed]
159
+ - **Carbon Emitted:** [More Information Needed]
160
+
161
+ ## Technical Specifications [optional]
162
+
163
+ ### Model Architecture and Objective
164
+
165
+ [More Information Needed]
166
+
167
+ ### Compute Infrastructure
168
+
169
+ [More Information Needed]
170
+
171
+ #### Hardware
172
+
173
+ [More Information Needed]
174
+
175
+ #### Software
176
+
177
+ [More Information Needed]
178
+
179
+ ## Citation [optional]
180
+
181
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
182
+
183
+ **BibTeX:**
184
+
185
+ [More Information Needed]
186
+
187
+ **APA:**
188
+
189
+ [More Information Needed]
190
+
191
+ ## Glossary [optional]
192
+
193
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
194
+
195
+ [More Information Needed]
196
+
197
+ ## More Information [optional]
198
+
199
+ [More Information Needed]
200
+
201
+ ## Model Card Authors [optional]
202
+
203
+ [More Information Needed]
204
+
205
+ ## Model Card Contact
206
+
207
+ [More Information Needed]
208
+ ### Framework versions
209
+
210
+ - PEFT 0.17.1
checkpoint-500/adapter_config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": {
4
+ "base_model_class": "Gemma3ForCausalLM",
5
+ "parent_library": "transformers.models.gemma3.modeling_gemma3",
6
+ "unsloth_fixed": true
7
+ },
8
+ "base_model_name_or_path": "unsloth/gemma-3-1b-it",
9
+ "bias": "none",
10
+ "corda_config": null,
11
+ "eva_config": null,
12
+ "exclude_modules": null,
13
+ "fan_in_fan_out": false,
14
+ "inference_mode": true,
15
+ "init_lora_weights": true,
16
+ "layer_replication": null,
17
+ "layers_pattern": null,
18
+ "layers_to_transform": null,
19
+ "loftq_config": {},
20
+ "lora_alpha": 128,
21
+ "lora_bias": false,
22
+ "lora_dropout": 0,
23
+ "megatron_config": null,
24
+ "megatron_core": "megatron.core",
25
+ "modules_to_save": null,
26
+ "peft_type": "LORA",
27
+ "qalora_group_size": 16,
28
+ "r": 128,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "gate_proj",
33
+ "k_proj",
34
+ "o_proj",
35
+ "q_proj",
36
+ "v_proj",
37
+ "down_proj",
38
+ "up_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-500/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f1ed7f9518243ee8decfafa42ea22d51d4283c0a1d83f3292ca4ab832a2e078c
3
+ size 417513640
checkpoint-500/added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<image_soft_token>": 262144
3
+ }
checkpoint-500/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-500/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7f465fdb1505981db0f5220fde502e13e021c8f79df5ef679616e7136b293ea8
3
+ size 212422229
checkpoint-500/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:098b29492211804ab324a36f37466821d948280bb74fce4ba895c03f13ecd878
3
+ size 14645
checkpoint-500/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f2a2123a5dbe87fecf683724a46f0c8fc56ecbe6426bbd0e402438a60e40b6a0
3
+ size 1465
checkpoint-500/special_tokens_map.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "boi_token": "<start_of_image>",
3
+ "bos_token": {
4
+ "content": "<bos>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false
9
+ },
10
+ "eoi_token": "<end_of_image>",
11
+ "eos_token": {
12
+ "content": "<end_of_turn>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false
17
+ },
18
+ "image_token": "<image_soft_token>",
19
+ "pad_token": {
20
+ "content": "<pad>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false
25
+ },
26
+ "unk_token": {
27
+ "content": "<unk>",
28
+ "lstrip": false,
29
+ "normalized": false,
30
+ "rstrip": false,
31
+ "single_word": false
32
+ }
33
+ }
checkpoint-500/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4667f2089529e8e7657cfb6d1c19910ae71ff5f28aa7ab2ff2763330affad795
3
+ size 33384568
checkpoint-500/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1299c11d7cf632ef3b4e11937501358ada021bbdf7c47638d13c0ee982f2e79c
3
+ size 4689074
checkpoint-500/tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-500/trainer_state.json ADDED
@@ -0,0 +1,384 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 1.5974440894568689,
6
+ "eval_steps": 500,
7
+ "global_step": 500,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.03194888178913738,
14
+ "grad_norm": 11.206622123718262,
15
+ "learning_rate": 7.5e-06,
16
+ "loss": 1.9859,
17
+ "step": 10
18
+ },
19
+ {
20
+ "epoch": 0.06389776357827476,
21
+ "grad_norm": 3.7908952236175537,
22
+ "learning_rate": 1.5833333333333333e-05,
23
+ "loss": 0.7824,
24
+ "step": 20
25
+ },
26
+ {
27
+ "epoch": 0.09584664536741214,
28
+ "grad_norm": 2.964991807937622,
29
+ "learning_rate": 2.4166666666666667e-05,
30
+ "loss": 0.4965,
31
+ "step": 30
32
+ },
33
+ {
34
+ "epoch": 0.12779552715654952,
35
+ "grad_norm": 2.3779187202453613,
36
+ "learning_rate": 3.2500000000000004e-05,
37
+ "loss": 0.4616,
38
+ "step": 40
39
+ },
40
+ {
41
+ "epoch": 0.1597444089456869,
42
+ "grad_norm": 2.5278868675231934,
43
+ "learning_rate": 4.0833333333333334e-05,
44
+ "loss": 0.4106,
45
+ "step": 50
46
+ },
47
+ {
48
+ "epoch": 0.19169329073482427,
49
+ "grad_norm": 2.2696661949157715,
50
+ "learning_rate": 4.9166666666666665e-05,
51
+ "loss": 0.4006,
52
+ "step": 60
53
+ },
54
+ {
55
+ "epoch": 0.22364217252396165,
56
+ "grad_norm": 2.5393056869506836,
57
+ "learning_rate": 4.9166666666666665e-05,
58
+ "loss": 0.4128,
59
+ "step": 70
60
+ },
61
+ {
62
+ "epoch": 0.25559105431309903,
63
+ "grad_norm": 1.7245150804519653,
64
+ "learning_rate": 4.8240740740740744e-05,
65
+ "loss": 0.3724,
66
+ "step": 80
67
+ },
68
+ {
69
+ "epoch": 0.28753993610223644,
70
+ "grad_norm": 1.5854761600494385,
71
+ "learning_rate": 4.731481481481482e-05,
72
+ "loss": 0.3842,
73
+ "step": 90
74
+ },
75
+ {
76
+ "epoch": 0.3194888178913738,
77
+ "grad_norm": 1.9313678741455078,
78
+ "learning_rate": 4.638888888888889e-05,
79
+ "loss": 0.3671,
80
+ "step": 100
81
+ },
82
+ {
83
+ "epoch": 0.3514376996805112,
84
+ "grad_norm": 1.405590295791626,
85
+ "learning_rate": 4.546296296296296e-05,
86
+ "loss": 0.3716,
87
+ "step": 110
88
+ },
89
+ {
90
+ "epoch": 0.38338658146964855,
91
+ "grad_norm": 1.8853315114974976,
92
+ "learning_rate": 4.4537037037037036e-05,
93
+ "loss": 0.3422,
94
+ "step": 120
95
+ },
96
+ {
97
+ "epoch": 0.41533546325878595,
98
+ "grad_norm": 1.6390379667282104,
99
+ "learning_rate": 4.3611111111111116e-05,
100
+ "loss": 0.3665,
101
+ "step": 130
102
+ },
103
+ {
104
+ "epoch": 0.4472843450479233,
105
+ "grad_norm": 1.83126962184906,
106
+ "learning_rate": 4.268518518518519e-05,
107
+ "loss": 0.3609,
108
+ "step": 140
109
+ },
110
+ {
111
+ "epoch": 0.4792332268370607,
112
+ "grad_norm": 2.023432731628418,
113
+ "learning_rate": 4.175925925925926e-05,
114
+ "loss": 0.311,
115
+ "step": 150
116
+ },
117
+ {
118
+ "epoch": 0.5111821086261981,
119
+ "grad_norm": 1.3261724710464478,
120
+ "learning_rate": 4.0833333333333334e-05,
121
+ "loss": 0.3227,
122
+ "step": 160
123
+ },
124
+ {
125
+ "epoch": 0.5431309904153354,
126
+ "grad_norm": 1.6062400341033936,
127
+ "learning_rate": 3.990740740740741e-05,
128
+ "loss": 0.3454,
129
+ "step": 170
130
+ },
131
+ {
132
+ "epoch": 0.5750798722044729,
133
+ "grad_norm": 1.912152647972107,
134
+ "learning_rate": 3.898148148148149e-05,
135
+ "loss": 0.339,
136
+ "step": 180
137
+ },
138
+ {
139
+ "epoch": 0.6070287539936102,
140
+ "grad_norm": 1.320884346961975,
141
+ "learning_rate": 3.805555555555555e-05,
142
+ "loss": 0.3357,
143
+ "step": 190
144
+ },
145
+ {
146
+ "epoch": 0.6389776357827476,
147
+ "grad_norm": 1.4513561725616455,
148
+ "learning_rate": 3.712962962962963e-05,
149
+ "loss": 0.2974,
150
+ "step": 200
151
+ },
152
+ {
153
+ "epoch": 0.670926517571885,
154
+ "grad_norm": 1.4858988523483276,
155
+ "learning_rate": 3.6203703703703706e-05,
156
+ "loss": 0.3123,
157
+ "step": 210
158
+ },
159
+ {
160
+ "epoch": 0.7028753993610224,
161
+ "grad_norm": 1.4934345483779907,
162
+ "learning_rate": 3.527777777777778e-05,
163
+ "loss": 0.2982,
164
+ "step": 220
165
+ },
166
+ {
167
+ "epoch": 0.7348242811501597,
168
+ "grad_norm": 1.4448986053466797,
169
+ "learning_rate": 3.435185185185185e-05,
170
+ "loss": 0.3137,
171
+ "step": 230
172
+ },
173
+ {
174
+ "epoch": 0.7667731629392971,
175
+ "grad_norm": 1.4921764135360718,
176
+ "learning_rate": 3.3425925925925924e-05,
177
+ "loss": 0.3238,
178
+ "step": 240
179
+ },
180
+ {
181
+ "epoch": 0.7987220447284346,
182
+ "grad_norm": 1.4823459386825562,
183
+ "learning_rate": 3.2500000000000004e-05,
184
+ "loss": 0.3199,
185
+ "step": 250
186
+ },
187
+ {
188
+ "epoch": 0.8306709265175719,
189
+ "grad_norm": 1.3530499935150146,
190
+ "learning_rate": 3.157407407407408e-05,
191
+ "loss": 0.2884,
192
+ "step": 260
193
+ },
194
+ {
195
+ "epoch": 0.8626198083067093,
196
+ "grad_norm": 1.4053056240081787,
197
+ "learning_rate": 3.064814814814815e-05,
198
+ "loss": 0.3063,
199
+ "step": 270
200
+ },
201
+ {
202
+ "epoch": 0.8945686900958466,
203
+ "grad_norm": 1.5317288637161255,
204
+ "learning_rate": 2.9722222222222223e-05,
205
+ "loss": 0.3086,
206
+ "step": 280
207
+ },
208
+ {
209
+ "epoch": 0.9265175718849841,
210
+ "grad_norm": 1.2986602783203125,
211
+ "learning_rate": 2.87962962962963e-05,
212
+ "loss": 0.2922,
213
+ "step": 290
214
+ },
215
+ {
216
+ "epoch": 0.9584664536741214,
217
+ "grad_norm": 1.3176311254501343,
218
+ "learning_rate": 2.7870370370370375e-05,
219
+ "loss": 0.2915,
220
+ "step": 300
221
+ },
222
+ {
223
+ "epoch": 0.9904153354632588,
224
+ "grad_norm": 1.3167009353637695,
225
+ "learning_rate": 2.6944444444444445e-05,
226
+ "loss": 0.3138,
227
+ "step": 310
228
+ },
229
+ {
230
+ "epoch": 1.0223642172523961,
231
+ "grad_norm": 1.2647294998168945,
232
+ "learning_rate": 2.601851851851852e-05,
233
+ "loss": 0.2349,
234
+ "step": 320
235
+ },
236
+ {
237
+ "epoch": 1.0543130990415335,
238
+ "grad_norm": 1.681065320968628,
239
+ "learning_rate": 2.5092592592592594e-05,
240
+ "loss": 0.1935,
241
+ "step": 330
242
+ },
243
+ {
244
+ "epoch": 1.0862619808306708,
245
+ "grad_norm": 1.378735899925232,
246
+ "learning_rate": 2.4166666666666667e-05,
247
+ "loss": 0.2119,
248
+ "step": 340
249
+ },
250
+ {
251
+ "epoch": 1.1182108626198084,
252
+ "grad_norm": 1.3662972450256348,
253
+ "learning_rate": 2.324074074074074e-05,
254
+ "loss": 0.2017,
255
+ "step": 350
256
+ },
257
+ {
258
+ "epoch": 1.1501597444089458,
259
+ "grad_norm": 1.2679312229156494,
260
+ "learning_rate": 2.2314814814814816e-05,
261
+ "loss": 0.1737,
262
+ "step": 360
263
+ },
264
+ {
265
+ "epoch": 1.182108626198083,
266
+ "grad_norm": 1.449556827545166,
267
+ "learning_rate": 2.138888888888889e-05,
268
+ "loss": 0.2056,
269
+ "step": 370
270
+ },
271
+ {
272
+ "epoch": 1.2140575079872205,
273
+ "grad_norm": 1.8932950496673584,
274
+ "learning_rate": 2.0462962962962965e-05,
275
+ "loss": 0.2187,
276
+ "step": 380
277
+ },
278
+ {
279
+ "epoch": 1.2460063897763578,
280
+ "grad_norm": 1.0975728034973145,
281
+ "learning_rate": 1.9537037037037038e-05,
282
+ "loss": 0.1991,
283
+ "step": 390
284
+ },
285
+ {
286
+ "epoch": 1.2779552715654952,
287
+ "grad_norm": 1.5841988325119019,
288
+ "learning_rate": 1.861111111111111e-05,
289
+ "loss": 0.2088,
290
+ "step": 400
291
+ },
292
+ {
293
+ "epoch": 1.3099041533546325,
294
+ "grad_norm": 1.408890724182129,
295
+ "learning_rate": 1.7685185185185184e-05,
296
+ "loss": 0.2217,
297
+ "step": 410
298
+ },
299
+ {
300
+ "epoch": 1.34185303514377,
301
+ "grad_norm": 1.4187753200531006,
302
+ "learning_rate": 1.675925925925926e-05,
303
+ "loss": 0.1805,
304
+ "step": 420
305
+ },
306
+ {
307
+ "epoch": 1.3738019169329074,
308
+ "grad_norm": 1.314961552619934,
309
+ "learning_rate": 1.5833333333333333e-05,
310
+ "loss": 0.1783,
311
+ "step": 430
312
+ },
313
+ {
314
+ "epoch": 1.4057507987220448,
315
+ "grad_norm": 1.3834567070007324,
316
+ "learning_rate": 1.490740740740741e-05,
317
+ "loss": 0.1915,
318
+ "step": 440
319
+ },
320
+ {
321
+ "epoch": 1.4376996805111821,
322
+ "grad_norm": 1.163780689239502,
323
+ "learning_rate": 1.3981481481481482e-05,
324
+ "loss": 0.1783,
325
+ "step": 450
326
+ },
327
+ {
328
+ "epoch": 1.4696485623003195,
329
+ "grad_norm": 1.2646948099136353,
330
+ "learning_rate": 1.3055555555555557e-05,
331
+ "loss": 0.1939,
332
+ "step": 460
333
+ },
334
+ {
335
+ "epoch": 1.5015974440894568,
336
+ "grad_norm": 2.082306146621704,
337
+ "learning_rate": 1.212962962962963e-05,
338
+ "loss": 0.175,
339
+ "step": 470
340
+ },
341
+ {
342
+ "epoch": 1.5335463258785942,
343
+ "grad_norm": 1.479463815689087,
344
+ "learning_rate": 1.1203703703703704e-05,
345
+ "loss": 0.2032,
346
+ "step": 480
347
+ },
348
+ {
349
+ "epoch": 1.5654952076677318,
350
+ "grad_norm": 1.603749394416809,
351
+ "learning_rate": 1.0277777777777777e-05,
352
+ "loss": 0.2098,
353
+ "step": 490
354
+ },
355
+ {
356
+ "epoch": 1.5974440894568689,
357
+ "grad_norm": 1.5476616621017456,
358
+ "learning_rate": 9.351851851851852e-06,
359
+ "loss": 0.2193,
360
+ "step": 500
361
+ }
362
+ ],
363
+ "logging_steps": 10,
364
+ "max_steps": 600,
365
+ "num_input_tokens_seen": 0,
366
+ "num_train_epochs": 2,
367
+ "save_steps": 500,
368
+ "stateful_callbacks": {
369
+ "TrainerControl": {
370
+ "args": {
371
+ "should_epoch_stop": false,
372
+ "should_evaluate": false,
373
+ "should_log": false,
374
+ "should_save": true,
375
+ "should_training_stop": false
376
+ },
377
+ "attributes": {}
378
+ }
379
+ },
380
+ "total_flos": 1.281652283622912e+16,
381
+ "train_batch_size": 2,
382
+ "trial_name": null,
383
+ "trial_params": null
384
+ }
checkpoint-500/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa51c4c3219441d7d7b0f90855cdb9b1f74eca96e9e0723896bcb0f3d1914878
3
+ size 6225
checkpoint-600/README.md ADDED
@@ -0,0 +1,210 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: unsloth/gemma-3-1b-it
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:unsloth/gemma-3-1b-it
7
+ - lora
8
+ - sft
9
+ - transformers
10
+ - trl
11
+ - unsloth
12
+ ---
13
+
14
+ # Model Card for Model ID
15
+
16
+ <!-- Provide a quick summary of what the model is/does. -->
17
+
18
+
19
+
20
+ ## Model Details
21
+
22
+ ### Model Description
23
+
24
+ <!-- Provide a longer summary of what this model is. -->
25
+
26
+
27
+
28
+ - **Developed by:** [More Information Needed]
29
+ - **Funded by [optional]:** [More Information Needed]
30
+ - **Shared by [optional]:** [More Information Needed]
31
+ - **Model type:** [More Information Needed]
32
+ - **Language(s) (NLP):** [More Information Needed]
33
+ - **License:** [More Information Needed]
34
+ - **Finetuned from model [optional]:** [More Information Needed]
35
+
36
+ ### Model Sources [optional]
37
+
38
+ <!-- Provide the basic links for the model. -->
39
+
40
+ - **Repository:** [More Information Needed]
41
+ - **Paper [optional]:** [More Information Needed]
42
+ - **Demo [optional]:** [More Information Needed]
43
+
44
+ ## Uses
45
+
46
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
47
+
48
+ ### Direct Use
49
+
50
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
51
+
52
+ [More Information Needed]
53
+
54
+ ### Downstream Use [optional]
55
+
56
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
57
+
58
+ [More Information Needed]
59
+
60
+ ### Out-of-Scope Use
61
+
62
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
63
+
64
+ [More Information Needed]
65
+
66
+ ## Bias, Risks, and Limitations
67
+
68
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
69
+
70
+ [More Information Needed]
71
+
72
+ ### Recommendations
73
+
74
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
75
+
76
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
77
+
78
+ ## How to Get Started with the Model
79
+
80
+ Use the code below to get started with the model.
81
+
82
+ [More Information Needed]
83
+
84
+ ## Training Details
85
+
86
+ ### Training Data
87
+
88
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
89
+
90
+ [More Information Needed]
91
+
92
+ ### Training Procedure
93
+
94
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
95
+
96
+ #### Preprocessing [optional]
97
+
98
+ [More Information Needed]
99
+
100
+
101
+ #### Training Hyperparameters
102
+
103
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
104
+
105
+ #### Speeds, Sizes, Times [optional]
106
+
107
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
108
+
109
+ [More Information Needed]
110
+
111
+ ## Evaluation
112
+
113
+ <!-- This section describes the evaluation protocols and provides the results. -->
114
+
115
+ ### Testing Data, Factors & Metrics
116
+
117
+ #### Testing Data
118
+
119
+ <!-- This should link to a Dataset Card if possible. -->
120
+
121
+ [More Information Needed]
122
+
123
+ #### Factors
124
+
125
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
126
+
127
+ [More Information Needed]
128
+
129
+ #### Metrics
130
+
131
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
132
+
133
+ [More Information Needed]
134
+
135
+ ### Results
136
+
137
+ [More Information Needed]
138
+
139
+ #### Summary
140
+
141
+
142
+
143
+ ## Model Examination [optional]
144
+
145
+ <!-- Relevant interpretability work for the model goes here -->
146
+
147
+ [More Information Needed]
148
+
149
+ ## Environmental Impact
150
+
151
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
152
+
153
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
154
+
155
+ - **Hardware Type:** [More Information Needed]
156
+ - **Hours used:** [More Information Needed]
157
+ - **Cloud Provider:** [More Information Needed]
158
+ - **Compute Region:** [More Information Needed]
159
+ - **Carbon Emitted:** [More Information Needed]
160
+
161
+ ## Technical Specifications [optional]
162
+
163
+ ### Model Architecture and Objective
164
+
165
+ [More Information Needed]
166
+
167
+ ### Compute Infrastructure
168
+
169
+ [More Information Needed]
170
+
171
+ #### Hardware
172
+
173
+ [More Information Needed]
174
+
175
+ #### Software
176
+
177
+ [More Information Needed]
178
+
179
+ ## Citation [optional]
180
+
181
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
182
+
183
+ **BibTeX:**
184
+
185
+ [More Information Needed]
186
+
187
+ **APA:**
188
+
189
+ [More Information Needed]
190
+
191
+ ## Glossary [optional]
192
+
193
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
194
+
195
+ [More Information Needed]
196
+
197
+ ## More Information [optional]
198
+
199
+ [More Information Needed]
200
+
201
+ ## Model Card Authors [optional]
202
+
203
+ [More Information Needed]
204
+
205
+ ## Model Card Contact
206
+
207
+ [More Information Needed]
208
+ ### Framework versions
209
+
210
+ - PEFT 0.17.1
checkpoint-600/adapter_config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": {
4
+ "base_model_class": "Gemma3ForCausalLM",
5
+ "parent_library": "transformers.models.gemma3.modeling_gemma3",
6
+ "unsloth_fixed": true
7
+ },
8
+ "base_model_name_or_path": "unsloth/gemma-3-1b-it",
9
+ "bias": "none",
10
+ "corda_config": null,
11
+ "eva_config": null,
12
+ "exclude_modules": null,
13
+ "fan_in_fan_out": false,
14
+ "inference_mode": true,
15
+ "init_lora_weights": true,
16
+ "layer_replication": null,
17
+ "layers_pattern": null,
18
+ "layers_to_transform": null,
19
+ "loftq_config": {},
20
+ "lora_alpha": 128,
21
+ "lora_bias": false,
22
+ "lora_dropout": 0,
23
+ "megatron_config": null,
24
+ "megatron_core": "megatron.core",
25
+ "modules_to_save": null,
26
+ "peft_type": "LORA",
27
+ "qalora_group_size": 16,
28
+ "r": 128,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "gate_proj",
33
+ "k_proj",
34
+ "o_proj",
35
+ "q_proj",
36
+ "v_proj",
37
+ "down_proj",
38
+ "up_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-600/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:51a0d437d01825d7d6aab4366dda599c1dc274bae65257af3e0726a07777eafc
3
+ size 417513640
checkpoint-600/added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<image_soft_token>": 262144
3
+ }
checkpoint-600/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-600/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfaa998071a0f290766abb99e5f8546e9463365bb57761c16bf6f7692183a8af
3
+ size 212422229
checkpoint-600/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:098b29492211804ab324a36f37466821d948280bb74fce4ba895c03f13ecd878
3
+ size 14645
checkpoint-600/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c1ae3778a43ab33194e3eb557cd3e82c54c63f22364e734be5b5c32d5a5037dd
3
+ size 1465
checkpoint-600/special_tokens_map.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "boi_token": "<start_of_image>",
3
+ "bos_token": {
4
+ "content": "<bos>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false
9
+ },
10
+ "eoi_token": "<end_of_image>",
11
+ "eos_token": {
12
+ "content": "<end_of_turn>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false
17
+ },
18
+ "image_token": "<image_soft_token>",
19
+ "pad_token": {
20
+ "content": "<pad>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false
25
+ },
26
+ "unk_token": {
27
+ "content": "<unk>",
28
+ "lstrip": false,
29
+ "normalized": false,
30
+ "rstrip": false,
31
+ "single_word": false
32
+ }
33
+ }
checkpoint-600/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4667f2089529e8e7657cfb6d1c19910ae71ff5f28aa7ab2ff2763330affad795
3
+ size 33384568
checkpoint-600/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1299c11d7cf632ef3b4e11937501358ada021bbdf7c47638d13c0ee982f2e79c
3
+ size 4689074
checkpoint-600/tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-600/trainer_state.json ADDED
@@ -0,0 +1,454 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 1.9169329073482428,
6
+ "eval_steps": 500,
7
+ "global_step": 600,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.03194888178913738,
14
+ "grad_norm": 11.206622123718262,
15
+ "learning_rate": 7.5e-06,
16
+ "loss": 1.9859,
17
+ "step": 10
18
+ },
19
+ {
20
+ "epoch": 0.06389776357827476,
21
+ "grad_norm": 3.7908952236175537,
22
+ "learning_rate": 1.5833333333333333e-05,
23
+ "loss": 0.7824,
24
+ "step": 20
25
+ },
26
+ {
27
+ "epoch": 0.09584664536741214,
28
+ "grad_norm": 2.964991807937622,
29
+ "learning_rate": 2.4166666666666667e-05,
30
+ "loss": 0.4965,
31
+ "step": 30
32
+ },
33
+ {
34
+ "epoch": 0.12779552715654952,
35
+ "grad_norm": 2.3779187202453613,
36
+ "learning_rate": 3.2500000000000004e-05,
37
+ "loss": 0.4616,
38
+ "step": 40
39
+ },
40
+ {
41
+ "epoch": 0.1597444089456869,
42
+ "grad_norm": 2.5278868675231934,
43
+ "learning_rate": 4.0833333333333334e-05,
44
+ "loss": 0.4106,
45
+ "step": 50
46
+ },
47
+ {
48
+ "epoch": 0.19169329073482427,
49
+ "grad_norm": 2.2696661949157715,
50
+ "learning_rate": 4.9166666666666665e-05,
51
+ "loss": 0.4006,
52
+ "step": 60
53
+ },
54
+ {
55
+ "epoch": 0.22364217252396165,
56
+ "grad_norm": 2.5393056869506836,
57
+ "learning_rate": 4.9166666666666665e-05,
58
+ "loss": 0.4128,
59
+ "step": 70
60
+ },
61
+ {
62
+ "epoch": 0.25559105431309903,
63
+ "grad_norm": 1.7245150804519653,
64
+ "learning_rate": 4.8240740740740744e-05,
65
+ "loss": 0.3724,
66
+ "step": 80
67
+ },
68
+ {
69
+ "epoch": 0.28753993610223644,
70
+ "grad_norm": 1.5854761600494385,
71
+ "learning_rate": 4.731481481481482e-05,
72
+ "loss": 0.3842,
73
+ "step": 90
74
+ },
75
+ {
76
+ "epoch": 0.3194888178913738,
77
+ "grad_norm": 1.9313678741455078,
78
+ "learning_rate": 4.638888888888889e-05,
79
+ "loss": 0.3671,
80
+ "step": 100
81
+ },
82
+ {
83
+ "epoch": 0.3514376996805112,
84
+ "grad_norm": 1.405590295791626,
85
+ "learning_rate": 4.546296296296296e-05,
86
+ "loss": 0.3716,
87
+ "step": 110
88
+ },
89
+ {
90
+ "epoch": 0.38338658146964855,
91
+ "grad_norm": 1.8853315114974976,
92
+ "learning_rate": 4.4537037037037036e-05,
93
+ "loss": 0.3422,
94
+ "step": 120
95
+ },
96
+ {
97
+ "epoch": 0.41533546325878595,
98
+ "grad_norm": 1.6390379667282104,
99
+ "learning_rate": 4.3611111111111116e-05,
100
+ "loss": 0.3665,
101
+ "step": 130
102
+ },
103
+ {
104
+ "epoch": 0.4472843450479233,
105
+ "grad_norm": 1.83126962184906,
106
+ "learning_rate": 4.268518518518519e-05,
107
+ "loss": 0.3609,
108
+ "step": 140
109
+ },
110
+ {
111
+ "epoch": 0.4792332268370607,
112
+ "grad_norm": 2.023432731628418,
113
+ "learning_rate": 4.175925925925926e-05,
114
+ "loss": 0.311,
115
+ "step": 150
116
+ },
117
+ {
118
+ "epoch": 0.5111821086261981,
119
+ "grad_norm": 1.3261724710464478,
120
+ "learning_rate": 4.0833333333333334e-05,
121
+ "loss": 0.3227,
122
+ "step": 160
123
+ },
124
+ {
125
+ "epoch": 0.5431309904153354,
126
+ "grad_norm": 1.6062400341033936,
127
+ "learning_rate": 3.990740740740741e-05,
128
+ "loss": 0.3454,
129
+ "step": 170
130
+ },
131
+ {
132
+ "epoch": 0.5750798722044729,
133
+ "grad_norm": 1.912152647972107,
134
+ "learning_rate": 3.898148148148149e-05,
135
+ "loss": 0.339,
136
+ "step": 180
137
+ },
138
+ {
139
+ "epoch": 0.6070287539936102,
140
+ "grad_norm": 1.320884346961975,
141
+ "learning_rate": 3.805555555555555e-05,
142
+ "loss": 0.3357,
143
+ "step": 190
144
+ },
145
+ {
146
+ "epoch": 0.6389776357827476,
147
+ "grad_norm": 1.4513561725616455,
148
+ "learning_rate": 3.712962962962963e-05,
149
+ "loss": 0.2974,
150
+ "step": 200
151
+ },
152
+ {
153
+ "epoch": 0.670926517571885,
154
+ "grad_norm": 1.4858988523483276,
155
+ "learning_rate": 3.6203703703703706e-05,
156
+ "loss": 0.3123,
157
+ "step": 210
158
+ },
159
+ {
160
+ "epoch": 0.7028753993610224,
161
+ "grad_norm": 1.4934345483779907,
162
+ "learning_rate": 3.527777777777778e-05,
163
+ "loss": 0.2982,
164
+ "step": 220
165
+ },
166
+ {
167
+ "epoch": 0.7348242811501597,
168
+ "grad_norm": 1.4448986053466797,
169
+ "learning_rate": 3.435185185185185e-05,
170
+ "loss": 0.3137,
171
+ "step": 230
172
+ },
173
+ {
174
+ "epoch": 0.7667731629392971,
175
+ "grad_norm": 1.4921764135360718,
176
+ "learning_rate": 3.3425925925925924e-05,
177
+ "loss": 0.3238,
178
+ "step": 240
179
+ },
180
+ {
181
+ "epoch": 0.7987220447284346,
182
+ "grad_norm": 1.4823459386825562,
183
+ "learning_rate": 3.2500000000000004e-05,
184
+ "loss": 0.3199,
185
+ "step": 250
186
+ },
187
+ {
188
+ "epoch": 0.8306709265175719,
189
+ "grad_norm": 1.3530499935150146,
190
+ "learning_rate": 3.157407407407408e-05,
191
+ "loss": 0.2884,
192
+ "step": 260
193
+ },
194
+ {
195
+ "epoch": 0.8626198083067093,
196
+ "grad_norm": 1.4053056240081787,
197
+ "learning_rate": 3.064814814814815e-05,
198
+ "loss": 0.3063,
199
+ "step": 270
200
+ },
201
+ {
202
+ "epoch": 0.8945686900958466,
203
+ "grad_norm": 1.5317288637161255,
204
+ "learning_rate": 2.9722222222222223e-05,
205
+ "loss": 0.3086,
206
+ "step": 280
207
+ },
208
+ {
209
+ "epoch": 0.9265175718849841,
210
+ "grad_norm": 1.2986602783203125,
211
+ "learning_rate": 2.87962962962963e-05,
212
+ "loss": 0.2922,
213
+ "step": 290
214
+ },
215
+ {
216
+ "epoch": 0.9584664536741214,
217
+ "grad_norm": 1.3176311254501343,
218
+ "learning_rate": 2.7870370370370375e-05,
219
+ "loss": 0.2915,
220
+ "step": 300
221
+ },
222
+ {
223
+ "epoch": 0.9904153354632588,
224
+ "grad_norm": 1.3167009353637695,
225
+ "learning_rate": 2.6944444444444445e-05,
226
+ "loss": 0.3138,
227
+ "step": 310
228
+ },
229
+ {
230
+ "epoch": 1.0223642172523961,
231
+ "grad_norm": 1.2647294998168945,
232
+ "learning_rate": 2.601851851851852e-05,
233
+ "loss": 0.2349,
234
+ "step": 320
235
+ },
236
+ {
237
+ "epoch": 1.0543130990415335,
238
+ "grad_norm": 1.681065320968628,
239
+ "learning_rate": 2.5092592592592594e-05,
240
+ "loss": 0.1935,
241
+ "step": 330
242
+ },
243
+ {
244
+ "epoch": 1.0862619808306708,
245
+ "grad_norm": 1.378735899925232,
246
+ "learning_rate": 2.4166666666666667e-05,
247
+ "loss": 0.2119,
248
+ "step": 340
249
+ },
250
+ {
251
+ "epoch": 1.1182108626198084,
252
+ "grad_norm": 1.3662972450256348,
253
+ "learning_rate": 2.324074074074074e-05,
254
+ "loss": 0.2017,
255
+ "step": 350
256
+ },
257
+ {
258
+ "epoch": 1.1501597444089458,
259
+ "grad_norm": 1.2679312229156494,
260
+ "learning_rate": 2.2314814814814816e-05,
261
+ "loss": 0.1737,
262
+ "step": 360
263
+ },
264
+ {
265
+ "epoch": 1.182108626198083,
266
+ "grad_norm": 1.449556827545166,
267
+ "learning_rate": 2.138888888888889e-05,
268
+ "loss": 0.2056,
269
+ "step": 370
270
+ },
271
+ {
272
+ "epoch": 1.2140575079872205,
273
+ "grad_norm": 1.8932950496673584,
274
+ "learning_rate": 2.0462962962962965e-05,
275
+ "loss": 0.2187,
276
+ "step": 380
277
+ },
278
+ {
279
+ "epoch": 1.2460063897763578,
280
+ "grad_norm": 1.0975728034973145,
281
+ "learning_rate": 1.9537037037037038e-05,
282
+ "loss": 0.1991,
283
+ "step": 390
284
+ },
285
+ {
286
+ "epoch": 1.2779552715654952,
287
+ "grad_norm": 1.5841988325119019,
288
+ "learning_rate": 1.861111111111111e-05,
289
+ "loss": 0.2088,
290
+ "step": 400
291
+ },
292
+ {
293
+ "epoch": 1.3099041533546325,
294
+ "grad_norm": 1.408890724182129,
295
+ "learning_rate": 1.7685185185185184e-05,
296
+ "loss": 0.2217,
297
+ "step": 410
298
+ },
299
+ {
300
+ "epoch": 1.34185303514377,
301
+ "grad_norm": 1.4187753200531006,
302
+ "learning_rate": 1.675925925925926e-05,
303
+ "loss": 0.1805,
304
+ "step": 420
305
+ },
306
+ {
307
+ "epoch": 1.3738019169329074,
308
+ "grad_norm": 1.314961552619934,
309
+ "learning_rate": 1.5833333333333333e-05,
310
+ "loss": 0.1783,
311
+ "step": 430
312
+ },
313
+ {
314
+ "epoch": 1.4057507987220448,
315
+ "grad_norm": 1.3834567070007324,
316
+ "learning_rate": 1.490740740740741e-05,
317
+ "loss": 0.1915,
318
+ "step": 440
319
+ },
320
+ {
321
+ "epoch": 1.4376996805111821,
322
+ "grad_norm": 1.163780689239502,
323
+ "learning_rate": 1.3981481481481482e-05,
324
+ "loss": 0.1783,
325
+ "step": 450
326
+ },
327
+ {
328
+ "epoch": 1.4696485623003195,
329
+ "grad_norm": 1.2646948099136353,
330
+ "learning_rate": 1.3055555555555557e-05,
331
+ "loss": 0.1939,
332
+ "step": 460
333
+ },
334
+ {
335
+ "epoch": 1.5015974440894568,
336
+ "grad_norm": 2.082306146621704,
337
+ "learning_rate": 1.212962962962963e-05,
338
+ "loss": 0.175,
339
+ "step": 470
340
+ },
341
+ {
342
+ "epoch": 1.5335463258785942,
343
+ "grad_norm": 1.479463815689087,
344
+ "learning_rate": 1.1203703703703704e-05,
345
+ "loss": 0.2032,
346
+ "step": 480
347
+ },
348
+ {
349
+ "epoch": 1.5654952076677318,
350
+ "grad_norm": 1.603749394416809,
351
+ "learning_rate": 1.0277777777777777e-05,
352
+ "loss": 0.2098,
353
+ "step": 490
354
+ },
355
+ {
356
+ "epoch": 1.5974440894568689,
357
+ "grad_norm": 1.5476616621017456,
358
+ "learning_rate": 9.351851851851852e-06,
359
+ "loss": 0.2193,
360
+ "step": 500
361
+ },
362
+ {
363
+ "epoch": 1.6293929712460065,
364
+ "grad_norm": 1.359187364578247,
365
+ "learning_rate": 8.425925925925926e-06,
366
+ "loss": 0.2106,
367
+ "step": 510
368
+ },
369
+ {
370
+ "epoch": 1.6613418530351438,
371
+ "grad_norm": 1.213533639907837,
372
+ "learning_rate": 7.5e-06,
373
+ "loss": 0.1876,
374
+ "step": 520
375
+ },
376
+ {
377
+ "epoch": 1.6932907348242812,
378
+ "grad_norm": 1.0894689559936523,
379
+ "learning_rate": 6.574074074074074e-06,
380
+ "loss": 0.191,
381
+ "step": 530
382
+ },
383
+ {
384
+ "epoch": 1.7252396166134185,
385
+ "grad_norm": 1.357428789138794,
386
+ "learning_rate": 5.6481481481481485e-06,
387
+ "loss": 0.1816,
388
+ "step": 540
389
+ },
390
+ {
391
+ "epoch": 1.7571884984025559,
392
+ "grad_norm": 1.600085735321045,
393
+ "learning_rate": 4.722222222222222e-06,
394
+ "loss": 0.1939,
395
+ "step": 550
396
+ },
397
+ {
398
+ "epoch": 1.7891373801916934,
399
+ "grad_norm": 1.475881814956665,
400
+ "learning_rate": 3.7962962962962964e-06,
401
+ "loss": 0.1884,
402
+ "step": 560
403
+ },
404
+ {
405
+ "epoch": 1.8210862619808306,
406
+ "grad_norm": 1.8336604833602905,
407
+ "learning_rate": 2.8703703703703706e-06,
408
+ "loss": 0.1929,
409
+ "step": 570
410
+ },
411
+ {
412
+ "epoch": 1.8530351437699681,
413
+ "grad_norm": 1.9997520446777344,
414
+ "learning_rate": 1.9444444444444444e-06,
415
+ "loss": 0.1973,
416
+ "step": 580
417
+ },
418
+ {
419
+ "epoch": 1.8849840255591053,
420
+ "grad_norm": 1.144436240196228,
421
+ "learning_rate": 1.0185185185185188e-06,
422
+ "loss": 0.1956,
423
+ "step": 590
424
+ },
425
+ {
426
+ "epoch": 1.9169329073482428,
427
+ "grad_norm": 1.5843777656555176,
428
+ "learning_rate": 9.25925925925926e-08,
429
+ "loss": 0.1883,
430
+ "step": 600
431
+ }
432
+ ],
433
+ "logging_steps": 10,
434
+ "max_steps": 600,
435
+ "num_input_tokens_seen": 0,
436
+ "num_train_epochs": 2,
437
+ "save_steps": 500,
438
+ "stateful_callbacks": {
439
+ "TrainerControl": {
440
+ "args": {
441
+ "should_epoch_stop": false,
442
+ "should_evaluate": false,
443
+ "should_log": false,
444
+ "should_save": true,
445
+ "should_training_stop": true
446
+ },
447
+ "attributes": {}
448
+ }
449
+ },
450
+ "total_flos": 1.542523864987392e+16,
451
+ "train_batch_size": 2,
452
+ "trial_name": null,
453
+ "trial_params": null
454
+ }
checkpoint-600/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa51c4c3219441d7d7b0f90855cdb9b1f74eca96e9e0723896bcb0f3d1914878
3
+ size 6225
config.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_sliding_window_pattern": 6,
3
+ "architectures": [
4
+ "Gemma3ForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "attn_logit_softcapping": null,
9
+ "bos_token_id": 2,
10
+ "cache_implementation": "hybrid",
11
+ "torch_dtype": "float16",
12
+ "eos_token_id": 106,
13
+ "final_logit_softcapping": null,
14
+ "head_dim": 256,
15
+ "hidden_activation": "gelu_pytorch_tanh",
16
+ "hidden_size": 1152,
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 6912,
19
+ "layer_types": [
20
+ "sliding_attention",
21
+ "sliding_attention",
22
+ "sliding_attention",
23
+ "sliding_attention",
24
+ "sliding_attention",
25
+ "full_attention",
26
+ "sliding_attention",
27
+ "sliding_attention",
28
+ "sliding_attention",
29
+ "sliding_attention",
30
+ "sliding_attention",
31
+ "full_attention",
32
+ "sliding_attention",
33
+ "sliding_attention",
34
+ "sliding_attention",
35
+ "sliding_attention",
36
+ "sliding_attention",
37
+ "full_attention",
38
+ "sliding_attention",
39
+ "sliding_attention",
40
+ "sliding_attention",
41
+ "sliding_attention",
42
+ "sliding_attention",
43
+ "full_attention",
44
+ "sliding_attention",
45
+ "sliding_attention"
46
+ ],
47
+ "max_position_embeddings": 32768,
48
+ "model_type": "gemma3_text",
49
+ "num_attention_heads": 4,
50
+ "num_hidden_layers": 26,
51
+ "num_key_value_heads": 1,
52
+ "pad_token_id": 0,
53
+ "query_pre_attn_scalar": 256,
54
+ "rms_norm_eps": 1e-06,
55
+ "rope_local_base_freq": 10000,
56
+ "rope_scaling": null,
57
+ "rope_theta": 1000000,
58
+ "sliding_window": 512,
59
+ "transformers_version": "4.56.2",
60
+ "unsloth_fixed": true,
61
+ "unsloth_version": "2025.10.1",
62
+ "use_cache": true,
63
+ "vocab_size": 262144
64
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c7ade13d5867f3ac3e72974c3a5157c15f9066f63ac6e68cf78934401609111
3
+ size 1999811208
special_tokens_map.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "boi_token": "<start_of_image>",
3
+ "bos_token": {
4
+ "content": "<bos>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false
9
+ },
10
+ "eoi_token": "<end_of_image>",
11
+ "eos_token": {
12
+ "content": "<end_of_turn>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false
17
+ },
18
+ "image_token": "<image_soft_token>",
19
+ "pad_token": {
20
+ "content": "<pad>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false
25
+ },
26
+ "unk_token": {
27
+ "content": "<unk>",
28
+ "lstrip": false,
29
+ "normalized": false,
30
+ "rstrip": false,
31
+ "single_word": false
32
+ }
33
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4667f2089529e8e7657cfb6d1c19910ae71ff5f28aa7ab2ff2763330affad795
3
+ size 33384568
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1299c11d7cf632ef3b4e11937501358ada021bbdf7c47638d13c0ee982f2e79c
3
+ size 4689074
tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff