Menouar commited on
Commit
d03efad
1 Parent(s): 4384cff

Upload folder using huggingface_hub

Browse files
Files changed (45) hide show
  1. .gitattributes +4 -0
  2. README.md +285 -0
  3. checkpoint-265/README.md +204 -0
  4. checkpoint-265/adapter_config.json +32 -0
  5. checkpoint-265/adapter_model.safetensors +3 -0
  6. checkpoint-265/optimizer.pt +3 -0
  7. checkpoint-265/rng_state.pth +3 -0
  8. checkpoint-265/scheduler.pt +3 -0
  9. checkpoint-265/special_tokens_map.json +34 -0
  10. checkpoint-265/tokenizer.json +3 -0
  11. checkpoint-265/tokenizer_config.json +70 -0
  12. checkpoint-265/trainer_state.json +203 -0
  13. checkpoint-265/training_args.bin +3 -0
  14. checkpoint-531/README.md +204 -0
  15. checkpoint-531/adapter_config.json +32 -0
  16. checkpoint-531/adapter_model.safetensors +3 -0
  17. checkpoint-531/optimizer.pt +3 -0
  18. checkpoint-531/rng_state.pth +3 -0
  19. checkpoint-531/scheduler.pt +3 -0
  20. checkpoint-531/special_tokens_map.json +34 -0
  21. checkpoint-531/tokenizer.json +3 -0
  22. checkpoint-531/tokenizer_config.json +70 -0
  23. checkpoint-531/trainer_state.json +392 -0
  24. checkpoint-531/training_args.bin +3 -0
  25. checkpoint-795/README.md +204 -0
  26. checkpoint-795/adapter_config.json +32 -0
  27. checkpoint-795/adapter_model.safetensors +3 -0
  28. checkpoint-795/optimizer.pt +3 -0
  29. checkpoint-795/rng_state.pth +3 -0
  30. checkpoint-795/scheduler.pt +3 -0
  31. checkpoint-795/special_tokens_map.json +34 -0
  32. checkpoint-795/tokenizer.json +3 -0
  33. checkpoint-795/tokenizer_config.json +70 -0
  34. checkpoint-795/trainer_state.json +574 -0
  35. checkpoint-795/training_args.bin +3 -0
  36. config.json +28 -0
  37. generation_config.json +7 -0
  38. model-00001-of-00003.safetensors +3 -0
  39. model-00002-of-00003.safetensors +3 -0
  40. model-00003-of-00003.safetensors +3 -0
  41. model.safetensors.index.json +171 -0
  42. runs/Mar13_16-30-02_e65672b6422a/events.out.tfevents.1710347411.e65672b6422a.583.0 +3 -0
  43. special_tokens_map.json +34 -0
  44. tokenizer.json +3 -0
  45. tokenizer_config.json +70 -0
.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
+ checkpoint-265/tokenizer.json filter=lfs diff=lfs merge=lfs -text
37
+ checkpoint-531/tokenizer.json filter=lfs diff=lfs merge=lfs -text
38
+ checkpoint-795/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,285 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ license: apache-2.0
4
+ tags:
5
+ - generated_from_trainer
6
+ - google/gemma
7
+ - PyTorch
8
+ - transformers
9
+ - trl
10
+ - peft
11
+ - tensorboard
12
+ model-index:
13
+ - name: pygemma
14
+ results: []
15
+ datasets:
16
+ - iamtarun/python_code_instructions_18k_alpaca
17
+ language:
18
+ - en
19
+ pipeline_tag: text-generation
20
+ ---
21
+
22
+ # Model Card for pygemma:
23
+
24
+ **pygemma** is a language model that is trained to act as Python assistant. It is a finetuned version of [google/gemma-2b](https://huggingface.co/google/gemma-2b) that was trained using `SFTTrainer` on publicly available dataset
25
+ [iamtarun/python_code_instructions_18k_alpaca](https://huggingface.co/datasets/iamtarun/python_code_instructions_18k_alpaca).
26
+
27
+
28
+ ## Training hyperparameters
29
+
30
+ The following hyperparameters were used during the training:
31
+
32
+
33
+ - output_dir: peft-lora-pygemma
34
+
35
+ - overwrite_output_dir: True
36
+
37
+ - do_train: False
38
+
39
+ - do_eval: False
40
+
41
+ - do_predict: False
42
+
43
+ - evaluation_strategy: no
44
+
45
+ - prediction_loss_only: False
46
+
47
+ - per_device_train_batch_size: 2
48
+
49
+ - per_device_eval_batch_size: None
50
+
51
+ - per_gpu_train_batch_size: None
52
+
53
+ - per_gpu_eval_batch_size: None
54
+
55
+ - gradient_accumulation_steps: 4
56
+
57
+ - eval_accumulation_steps: None
58
+
59
+ - eval_delay: 0
60
+
61
+ - learning_rate: 2e-05
62
+
63
+ - weight_decay: 0.0
64
+
65
+ - adam_beta1: 0.9
66
+
67
+ - adam_beta2: 0.999
68
+
69
+ - adam_epsilon: 1e-08
70
+
71
+ - max_grad_norm: 0.3
72
+
73
+ - num_train_epochs: 3
74
+
75
+ - max_steps: -1
76
+
77
+ - lr_scheduler_type: cosine
78
+
79
+ - lr_scheduler_kwargs: {}
80
+
81
+ - warmup_ratio: 0.1
82
+
83
+ - warmup_steps: 0
84
+
85
+ - log_level: passive
86
+
87
+ - log_level_replica: warning
88
+
89
+ - log_on_each_node: True
90
+
91
+ - logging_dir: peft-lora-pygemma/runs/Mar13_16-30-02_e65672b6422a
92
+
93
+ - logging_strategy: steps
94
+
95
+ - logging_first_step: False
96
+
97
+ - logging_steps: 10
98
+
99
+ - logging_nan_inf_filter: True
100
+
101
+ - save_strategy: epoch
102
+
103
+ - save_steps: 500
104
+
105
+ - save_total_limit: None
106
+
107
+ - save_safetensors: True
108
+
109
+ - save_on_each_node: False
110
+
111
+ - save_only_model: False
112
+
113
+ - no_cuda: False
114
+
115
+ - use_cpu: False
116
+
117
+ - use_mps_device: False
118
+
119
+ - seed: 42
120
+
121
+ - data_seed: None
122
+
123
+ - jit_mode_eval: False
124
+
125
+ - use_ipex: False
126
+
127
+ - bf16: True
128
+
129
+ - fp16: False
130
+
131
+ - fp16_opt_level: O1
132
+
133
+ - half_precision_backend: auto
134
+
135
+ - bf16_full_eval: False
136
+
137
+ - fp16_full_eval: False
138
+
139
+ - tf32: None
140
+
141
+ - local_rank: 0
142
+
143
+ - ddp_backend: None
144
+
145
+ - tpu_num_cores: None
146
+
147
+ - tpu_metrics_debug: False
148
+
149
+ - debug: []
150
+
151
+ - dataloader_drop_last: False
152
+
153
+ - eval_steps: None
154
+
155
+ - dataloader_num_workers: 0
156
+
157
+ - dataloader_prefetch_factor: None
158
+
159
+ - past_index: -1
160
+
161
+ - run_name: peft-lora-pygemma
162
+
163
+ - disable_tqdm: False
164
+
165
+ - remove_unused_columns: True
166
+
167
+ - label_names: None
168
+
169
+ - load_best_model_at_end: False
170
+
171
+ - metric_for_best_model: None
172
+
173
+ - greater_is_better: None
174
+
175
+ - ignore_data_skip: False
176
+
177
+ - fsdp: []
178
+
179
+ - fsdp_min_num_params: 0
180
+
181
+ - fsdp_config: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
182
+
183
+ - fsdp_transformer_layer_cls_to_wrap: None
184
+
185
+ - accelerator_config: AcceleratorConfig(split_batches=False, dispatch_batches=None, even_batches=True, use_seedable_sampler=True)
186
+
187
+ - deepspeed: None
188
+
189
+ - label_smoothing_factor: 0.0
190
+
191
+ - optim: adamw_torch_fused
192
+
193
+ - optim_args: None
194
+
195
+ - adafactor: False
196
+
197
+ - group_by_length: False
198
+
199
+ - length_column_name: length
200
+
201
+ - report_to: ['tensorboard']
202
+
203
+ - ddp_find_unused_parameters: None
204
+
205
+ - ddp_bucket_cap_mb: None
206
+
207
+ - ddp_broadcast_buffers: None
208
+
209
+ - dataloader_pin_memory: True
210
+
211
+ - dataloader_persistent_workers: False
212
+
213
+ - skip_memory_metrics: True
214
+
215
+ - use_legacy_prediction_loop: False
216
+
217
+ - push_to_hub: False
218
+
219
+ - resume_from_checkpoint: None
220
+
221
+ - hub_model_id: None
222
+
223
+ - hub_strategy: every_save
224
+
225
+ - hub_token: None
226
+
227
+ - hub_private_repo: False
228
+
229
+ - hub_always_push: False
230
+
231
+ - gradient_checkpointing: True
232
+
233
+ - gradient_checkpointing_kwargs: {'use_reentrant': False}
234
+
235
+ - include_inputs_for_metrics: False
236
+
237
+ - fp16_backend: auto
238
+
239
+ - push_to_hub_model_id: None
240
+
241
+ - push_to_hub_organization: None
242
+
243
+ - push_to_hub_token: None
244
+
245
+ - mp_parameters:
246
+
247
+ - auto_find_batch_size: False
248
+
249
+ - full_determinism: False
250
+
251
+ - torchdynamo: None
252
+
253
+ - ray_scope: last
254
+
255
+ - ddp_timeout: 1800
256
+
257
+ - torch_compile: False
258
+
259
+ - torch_compile_backend: None
260
+
261
+ - torch_compile_mode: None
262
+
263
+ - dispatch_batches: None
264
+
265
+ - split_batches: None
266
+
267
+ - include_tokens_per_second: False
268
+
269
+ - include_num_input_tokens_seen: False
270
+
271
+ - neftune_noise_alpha: None
272
+
273
+ - distributed_state: Distributed environment: NO
274
+ Num processes: 1
275
+ Process index: 0
276
+ Local process index: 0
277
+ Device: cuda
278
+
279
+
280
+ - _n_gpu: 1
281
+
282
+ - __cached__setup_devices: cuda:0
283
+
284
+ - deepspeed_plugin: None
285
+
checkpoint-265/README.md ADDED
@@ -0,0 +1,204 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: google/gemma-2b
4
+ ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ <!-- Provide a quick summary of what the model is/does. -->
9
+
10
+
11
+
12
+ ## Model Details
13
+
14
+ ### Model Description
15
+
16
+ <!-- Provide a longer summary of what this model is. -->
17
+
18
+
19
+
20
+ - **Developed by:** [More Information Needed]
21
+ - **Funded by [optional]:** [More Information Needed]
22
+ - **Shared by [optional]:** [More Information Needed]
23
+ - **Model type:** [More Information Needed]
24
+ - **Language(s) (NLP):** [More Information Needed]
25
+ - **License:** [More Information Needed]
26
+ - **Finetuned from model [optional]:** [More Information Needed]
27
+
28
+ ### Model Sources [optional]
29
+
30
+ <!-- Provide the basic links for the model. -->
31
+
32
+ - **Repository:** [More Information Needed]
33
+ - **Paper [optional]:** [More Information Needed]
34
+ - **Demo [optional]:** [More Information Needed]
35
+
36
+ ## Uses
37
+
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
+ ### Direct Use
41
+
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
+
44
+ [More Information Needed]
45
+
46
+ ### Downstream Use [optional]
47
+
48
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Out-of-Scope Use
53
+
54
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
+
56
+ [More Information Needed]
57
+
58
+ ## Bias, Risks, and Limitations
59
+
60
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ### Recommendations
65
+
66
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
+
68
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
+
70
+ ## How to Get Started with the Model
71
+
72
+ Use the code below to get started with the model.
73
+
74
+ [More Information Needed]
75
+
76
+ ## Training Details
77
+
78
+ ### Training Data
79
+
80
+ <!-- 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. -->
81
+
82
+ [More Information Needed]
83
+
84
+ ### Training Procedure
85
+
86
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
+
88
+ #### Preprocessing [optional]
89
+
90
+ [More Information Needed]
91
+
92
+
93
+ #### Training Hyperparameters
94
+
95
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
+
97
+ #### Speeds, Sizes, Times [optional]
98
+
99
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
+
101
+ [More Information Needed]
102
+
103
+ ## Evaluation
104
+
105
+ <!-- This section describes the evaluation protocols and provides the results. -->
106
+
107
+ ### Testing Data, Factors & Metrics
108
+
109
+ #### Testing Data
110
+
111
+ <!-- This should link to a Dataset Card if possible. -->
112
+
113
+ [More Information Needed]
114
+
115
+ #### Factors
116
+
117
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Metrics
122
+
123
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
+
125
+ [More Information Needed]
126
+
127
+ ### Results
128
+
129
+ [More Information Needed]
130
+
131
+ #### Summary
132
+
133
+
134
+
135
+ ## Model Examination [optional]
136
+
137
+ <!-- Relevant interpretability work for the model goes here -->
138
+
139
+ [More Information Needed]
140
+
141
+ ## Environmental Impact
142
+
143
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
+
145
+ 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).
146
+
147
+ - **Hardware Type:** [More Information Needed]
148
+ - **Hours used:** [More Information Needed]
149
+ - **Cloud Provider:** [More Information Needed]
150
+ - **Compute Region:** [More Information Needed]
151
+ - **Carbon Emitted:** [More Information Needed]
152
+
153
+ ## Technical Specifications [optional]
154
+
155
+ ### Model Architecture and Objective
156
+
157
+ [More Information Needed]
158
+
159
+ ### Compute Infrastructure
160
+
161
+ [More Information Needed]
162
+
163
+ #### Hardware
164
+
165
+ [More Information Needed]
166
+
167
+ #### Software
168
+
169
+ [More Information Needed]
170
+
171
+ ## Citation [optional]
172
+
173
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
+
175
+ **BibTeX:**
176
+
177
+ [More Information Needed]
178
+
179
+ **APA:**
180
+
181
+ [More Information Needed]
182
+
183
+ ## Glossary [optional]
184
+
185
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
+
187
+ [More Information Needed]
188
+
189
+ ## More Information [optional]
190
+
191
+ [More Information Needed]
192
+
193
+ ## Model Card Authors [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Contact
198
+
199
+ [More Information Needed]
200
+
201
+
202
+ ### Framework versions
203
+
204
+ - PEFT 0.8.2
checkpoint-265/adapter_config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "google/gemma-2b",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layers_pattern": null,
10
+ "layers_to_transform": null,
11
+ "loftq_config": {},
12
+ "lora_alpha": 8,
13
+ "lora_dropout": 0.05,
14
+ "megatron_config": null,
15
+ "megatron_core": "megatron.core",
16
+ "modules_to_save": null,
17
+ "peft_type": "LORA",
18
+ "r": 6,
19
+ "rank_pattern": {},
20
+ "revision": null,
21
+ "target_modules": [
22
+ "k_proj",
23
+ "o_proj",
24
+ "gate_proj",
25
+ "down_proj",
26
+ "up_proj",
27
+ "q_proj",
28
+ "v_proj"
29
+ ],
30
+ "task_type": "CAUSAL_LM",
31
+ "use_rslora": false
32
+ }
checkpoint-265/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6b00f692c1f586e57bc8ac238a2357e4fbcc27dc0dacab2e7b943af1faf741f
3
+ size 14741912
checkpoint-265/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:742eff27370a078f09f5d33a3c56e55ce602bd2073b9d4a42351e2a88e2e70c0
3
+ size 29632634
checkpoint-265/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:12f5f5279b69c5a7d8bbff85d63ca3a43bb8c6cb46af90122686615a7d7a8db5
3
+ size 14244
checkpoint-265/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a5cc4650c26a5b2b7198fa36a47cdc713c4b2e6fc6ba2d505829fb1bb0acd35
3
+ size 1064
checkpoint-265/special_tokens_map.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>"
5
+ ],
6
+ "bos_token": {
7
+ "content": "<bos>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false
12
+ },
13
+ "eos_token": {
14
+ "content": "<eos>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false
19
+ },
20
+ "pad_token": {
21
+ "content": "<pad>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false
26
+ },
27
+ "unk_token": {
28
+ "content": "<unk>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false
33
+ }
34
+ }
checkpoint-265/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:22449cb9ef4bad0db7dd93b46ddff7ab7d6a654dd4f903e130ddb6361eac3af5
3
+ size 17477473
checkpoint-265/tokenizer_config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_eos_token": false,
4
+ "added_tokens_decoder": {
5
+ "0": {
6
+ "content": "<pad>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "1": {
14
+ "content": "<eos>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "2": {
22
+ "content": "<bos>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "3": {
30
+ "content": "<unk>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "106": {
38
+ "content": "<|im_start|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "107": {
46
+ "content": "<|im_end|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ }
53
+ },
54
+ "additional_special_tokens": [
55
+ "<|im_start|>",
56
+ "<|im_end|>"
57
+ ],
58
+ "bos_token": "<bos>",
59
+ "chat_template": "{% if messages[0]['role'] == 'user' or messages[0]['role'] == 'system' %}{{ bos_token }}{% endif %}{% for message in messages %}{{ '<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n' }}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% elif messages[-1]['role'] == 'assistant' %}{{ eos_token }}{% endif %}",
60
+ "clean_up_tokenization_spaces": false,
61
+ "eos_token": "<eos>",
62
+ "legacy": null,
63
+ "model_max_length": 1000000000000000019884624838656,
64
+ "pad_token": "<pad>",
65
+ "sp_model_kwargs": {},
66
+ "spaces_between_special_tokens": false,
67
+ "tokenizer_class": "GemmaTokenizer",
68
+ "unk_token": "<unk>",
69
+ "use_default_system_prompt": false
70
+ }
checkpoint-265/trainer_state.json ADDED
@@ -0,0 +1,203 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.9971777986829727,
5
+ "eval_steps": 500,
6
+ "global_step": 265,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.04,
13
+ "grad_norm": 2.453125,
14
+ "learning_rate": 2.5e-06,
15
+ "loss": 1.6646,
16
+ "step": 10
17
+ },
18
+ {
19
+ "epoch": 0.08,
20
+ "grad_norm": 2.71875,
21
+ "learning_rate": 5e-06,
22
+ "loss": 1.633,
23
+ "step": 20
24
+ },
25
+ {
26
+ "epoch": 0.11,
27
+ "grad_norm": 1.453125,
28
+ "learning_rate": 7.500000000000001e-06,
29
+ "loss": 1.5999,
30
+ "step": 30
31
+ },
32
+ {
33
+ "epoch": 0.15,
34
+ "grad_norm": 1.921875,
35
+ "learning_rate": 1e-05,
36
+ "loss": 1.6187,
37
+ "step": 40
38
+ },
39
+ {
40
+ "epoch": 0.19,
41
+ "grad_norm": 2.625,
42
+ "learning_rate": 1.25e-05,
43
+ "loss": 1.5918,
44
+ "step": 50
45
+ },
46
+ {
47
+ "epoch": 0.23,
48
+ "grad_norm": 0.59765625,
49
+ "learning_rate": 1.5000000000000002e-05,
50
+ "loss": 1.5936,
51
+ "step": 60
52
+ },
53
+ {
54
+ "epoch": 0.26,
55
+ "grad_norm": 2.015625,
56
+ "learning_rate": 1.7500000000000002e-05,
57
+ "loss": 1.5263,
58
+ "step": 70
59
+ },
60
+ {
61
+ "epoch": 0.3,
62
+ "grad_norm": 0.92578125,
63
+ "learning_rate": 2e-05,
64
+ "loss": 1.4784,
65
+ "step": 80
66
+ },
67
+ {
68
+ "epoch": 0.34,
69
+ "grad_norm": 0.474609375,
70
+ "learning_rate": 1.999034865600726e-05,
71
+ "loss": 1.3839,
72
+ "step": 90
73
+ },
74
+ {
75
+ "epoch": 0.38,
76
+ "grad_norm": 1.2109375,
77
+ "learning_rate": 1.9961413253717214e-05,
78
+ "loss": 1.3698,
79
+ "step": 100
80
+ },
81
+ {
82
+ "epoch": 0.41,
83
+ "grad_norm": 1.0390625,
84
+ "learning_rate": 1.9913249646234072e-05,
85
+ "loss": 1.2916,
86
+ "step": 110
87
+ },
88
+ {
89
+ "epoch": 0.45,
90
+ "grad_norm": 0.35546875,
91
+ "learning_rate": 1.9845950802266584e-05,
92
+ "loss": 1.2607,
93
+ "step": 120
94
+ },
95
+ {
96
+ "epoch": 0.49,
97
+ "grad_norm": 0.375,
98
+ "learning_rate": 1.9759646626673445e-05,
99
+ "loss": 1.2405,
100
+ "step": 130
101
+ },
102
+ {
103
+ "epoch": 0.53,
104
+ "grad_norm": 0.8828125,
105
+ "learning_rate": 1.9654503709711984e-05,
106
+ "loss": 1.2615,
107
+ "step": 140
108
+ },
109
+ {
110
+ "epoch": 0.56,
111
+ "grad_norm": 1.2421875,
112
+ "learning_rate": 1.9530725005474195e-05,
113
+ "loss": 1.1433,
114
+ "step": 150
115
+ },
116
+ {
117
+ "epoch": 0.6,
118
+ "grad_norm": 0.404296875,
119
+ "learning_rate": 1.93885494401308e-05,
120
+ "loss": 1.1599,
121
+ "step": 160
122
+ },
123
+ {
124
+ "epoch": 0.64,
125
+ "grad_norm": 0.91796875,
126
+ "learning_rate": 1.9228251450739495e-05,
127
+ "loss": 1.1325,
128
+ "step": 170
129
+ },
130
+ {
131
+ "epoch": 0.68,
132
+ "grad_norm": 0.55859375,
133
+ "learning_rate": 1.905014045550767e-05,
134
+ "loss": 1.0797,
135
+ "step": 180
136
+ },
137
+ {
138
+ "epoch": 0.71,
139
+ "grad_norm": 0.375,
140
+ "learning_rate": 1.8854560256532098e-05,
141
+ "loss": 1.041,
142
+ "step": 190
143
+ },
144
+ {
145
+ "epoch": 0.75,
146
+ "grad_norm": 1.2265625,
147
+ "learning_rate": 1.8641888376168483e-05,
148
+ "loss": 1.0286,
149
+ "step": 200
150
+ },
151
+ {
152
+ "epoch": 0.79,
153
+ "grad_norm": 0.287109375,
154
+ "learning_rate": 1.8412535328311813e-05,
155
+ "loss": 0.9831,
156
+ "step": 210
157
+ },
158
+ {
159
+ "epoch": 0.83,
160
+ "grad_norm": 0.28515625,
161
+ "learning_rate": 1.816694382599422e-05,
162
+ "loss": 0.9927,
163
+ "step": 220
164
+ },
165
+ {
166
+ "epoch": 0.87,
167
+ "grad_norm": 3.25,
168
+ "learning_rate": 1.7905587926829815e-05,
169
+ "loss": 1.0075,
170
+ "step": 230
171
+ },
172
+ {
173
+ "epoch": 0.9,
174
+ "grad_norm": 0.255859375,
175
+ "learning_rate": 1.762897211795607e-05,
176
+ "loss": 1.0232,
177
+ "step": 240
178
+ },
179
+ {
180
+ "epoch": 0.94,
181
+ "grad_norm": 0.6484375,
182
+ "learning_rate": 1.733763034223804e-05,
183
+ "loss": 0.9476,
184
+ "step": 250
185
+ },
186
+ {
187
+ "epoch": 0.98,
188
+ "grad_norm": 0.67578125,
189
+ "learning_rate": 1.7032124967615112e-05,
190
+ "loss": 0.9338,
191
+ "step": 260
192
+ }
193
+ ],
194
+ "logging_steps": 10,
195
+ "max_steps": 795,
196
+ "num_input_tokens_seen": 0,
197
+ "num_train_epochs": 3,
198
+ "save_steps": 500,
199
+ "total_flos": 5.1943003127808e+16,
200
+ "train_batch_size": 2,
201
+ "trial_name": null,
202
+ "trial_params": null
203
+ }
checkpoint-265/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:32b3f3f1ba6b00310654e40de5ffb34be735ed191cb929c117afe047b0ae8012
3
+ size 4920
checkpoint-531/README.md ADDED
@@ -0,0 +1,204 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: google/gemma-2b
4
+ ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ <!-- Provide a quick summary of what the model is/does. -->
9
+
10
+
11
+
12
+ ## Model Details
13
+
14
+ ### Model Description
15
+
16
+ <!-- Provide a longer summary of what this model is. -->
17
+
18
+
19
+
20
+ - **Developed by:** [More Information Needed]
21
+ - **Funded by [optional]:** [More Information Needed]
22
+ - **Shared by [optional]:** [More Information Needed]
23
+ - **Model type:** [More Information Needed]
24
+ - **Language(s) (NLP):** [More Information Needed]
25
+ - **License:** [More Information Needed]
26
+ - **Finetuned from model [optional]:** [More Information Needed]
27
+
28
+ ### Model Sources [optional]
29
+
30
+ <!-- Provide the basic links for the model. -->
31
+
32
+ - **Repository:** [More Information Needed]
33
+ - **Paper [optional]:** [More Information Needed]
34
+ - **Demo [optional]:** [More Information Needed]
35
+
36
+ ## Uses
37
+
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
+ ### Direct Use
41
+
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
+
44
+ [More Information Needed]
45
+
46
+ ### Downstream Use [optional]
47
+
48
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Out-of-Scope Use
53
+
54
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
+
56
+ [More Information Needed]
57
+
58
+ ## Bias, Risks, and Limitations
59
+
60
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ### Recommendations
65
+
66
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
+
68
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
+
70
+ ## How to Get Started with the Model
71
+
72
+ Use the code below to get started with the model.
73
+
74
+ [More Information Needed]
75
+
76
+ ## Training Details
77
+
78
+ ### Training Data
79
+
80
+ <!-- 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. -->
81
+
82
+ [More Information Needed]
83
+
84
+ ### Training Procedure
85
+
86
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
+
88
+ #### Preprocessing [optional]
89
+
90
+ [More Information Needed]
91
+
92
+
93
+ #### Training Hyperparameters
94
+
95
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
+
97
+ #### Speeds, Sizes, Times [optional]
98
+
99
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
+
101
+ [More Information Needed]
102
+
103
+ ## Evaluation
104
+
105
+ <!-- This section describes the evaluation protocols and provides the results. -->
106
+
107
+ ### Testing Data, Factors & Metrics
108
+
109
+ #### Testing Data
110
+
111
+ <!-- This should link to a Dataset Card if possible. -->
112
+
113
+ [More Information Needed]
114
+
115
+ #### Factors
116
+
117
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Metrics
122
+
123
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
+
125
+ [More Information Needed]
126
+
127
+ ### Results
128
+
129
+ [More Information Needed]
130
+
131
+ #### Summary
132
+
133
+
134
+
135
+ ## Model Examination [optional]
136
+
137
+ <!-- Relevant interpretability work for the model goes here -->
138
+
139
+ [More Information Needed]
140
+
141
+ ## Environmental Impact
142
+
143
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
+
145
+ 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).
146
+
147
+ - **Hardware Type:** [More Information Needed]
148
+ - **Hours used:** [More Information Needed]
149
+ - **Cloud Provider:** [More Information Needed]
150
+ - **Compute Region:** [More Information Needed]
151
+ - **Carbon Emitted:** [More Information Needed]
152
+
153
+ ## Technical Specifications [optional]
154
+
155
+ ### Model Architecture and Objective
156
+
157
+ [More Information Needed]
158
+
159
+ ### Compute Infrastructure
160
+
161
+ [More Information Needed]
162
+
163
+ #### Hardware
164
+
165
+ [More Information Needed]
166
+
167
+ #### Software
168
+
169
+ [More Information Needed]
170
+
171
+ ## Citation [optional]
172
+
173
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
+
175
+ **BibTeX:**
176
+
177
+ [More Information Needed]
178
+
179
+ **APA:**
180
+
181
+ [More Information Needed]
182
+
183
+ ## Glossary [optional]
184
+
185
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
+
187
+ [More Information Needed]
188
+
189
+ ## More Information [optional]
190
+
191
+ [More Information Needed]
192
+
193
+ ## Model Card Authors [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Contact
198
+
199
+ [More Information Needed]
200
+
201
+
202
+ ### Framework versions
203
+
204
+ - PEFT 0.8.2
checkpoint-531/adapter_config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "google/gemma-2b",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layers_pattern": null,
10
+ "layers_to_transform": null,
11
+ "loftq_config": {},
12
+ "lora_alpha": 8,
13
+ "lora_dropout": 0.05,
14
+ "megatron_config": null,
15
+ "megatron_core": "megatron.core",
16
+ "modules_to_save": null,
17
+ "peft_type": "LORA",
18
+ "r": 6,
19
+ "rank_pattern": {},
20
+ "revision": null,
21
+ "target_modules": [
22
+ "k_proj",
23
+ "o_proj",
24
+ "gate_proj",
25
+ "down_proj",
26
+ "up_proj",
27
+ "q_proj",
28
+ "v_proj"
29
+ ],
30
+ "task_type": "CAUSAL_LM",
31
+ "use_rslora": false
32
+ }
checkpoint-531/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da42d500ba5c01aae8c62b7eb7da8518b5d8c043e5b3aed4ab6174b21966b1f6
3
+ size 14741912
checkpoint-531/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b0b5d5b6525f7d44ad6aaab90e0ed8e1bbc12363b7ec1a89052869bf41d72505
3
+ size 29632634
checkpoint-531/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c6f504750408f48c6f9a5215a8f73ba2f79f605134b42503e97061beadbef898
3
+ size 14244
checkpoint-531/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:436079f2e1b9ae6b7e0ca2c84a796a26e8a221304772701c2c5de27d745cd1bb
3
+ size 1064
checkpoint-531/special_tokens_map.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>"
5
+ ],
6
+ "bos_token": {
7
+ "content": "<bos>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false
12
+ },
13
+ "eos_token": {
14
+ "content": "<eos>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false
19
+ },
20
+ "pad_token": {
21
+ "content": "<pad>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false
26
+ },
27
+ "unk_token": {
28
+ "content": "<unk>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false
33
+ }
34
+ }
checkpoint-531/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:22449cb9ef4bad0db7dd93b46ddff7ab7d6a654dd4f903e130ddb6361eac3af5
3
+ size 17477473
checkpoint-531/tokenizer_config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_eos_token": false,
4
+ "added_tokens_decoder": {
5
+ "0": {
6
+ "content": "<pad>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "1": {
14
+ "content": "<eos>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "2": {
22
+ "content": "<bos>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "3": {
30
+ "content": "<unk>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "106": {
38
+ "content": "<|im_start|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "107": {
46
+ "content": "<|im_end|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ }
53
+ },
54
+ "additional_special_tokens": [
55
+ "<|im_start|>",
56
+ "<|im_end|>"
57
+ ],
58
+ "bos_token": "<bos>",
59
+ "chat_template": "{% if messages[0]['role'] == 'user' or messages[0]['role'] == 'system' %}{{ bos_token }}{% endif %}{% for message in messages %}{{ '<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n' }}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% elif messages[-1]['role'] == 'assistant' %}{{ eos_token }}{% endif %}",
60
+ "clean_up_tokenization_spaces": false,
61
+ "eos_token": "<eos>",
62
+ "legacy": null,
63
+ "model_max_length": 1000000000000000019884624838656,
64
+ "pad_token": "<pad>",
65
+ "sp_model_kwargs": {},
66
+ "spaces_between_special_tokens": false,
67
+ "tokenizer_class": "GemmaTokenizer",
68
+ "unk_token": "<unk>",
69
+ "use_default_system_prompt": false
70
+ }
checkpoint-531/trainer_state.json ADDED
@@ -0,0 +1,392 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 1.9981185324553152,
5
+ "eval_steps": 500,
6
+ "global_step": 531,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.04,
13
+ "grad_norm": 2.453125,
14
+ "learning_rate": 2.5e-06,
15
+ "loss": 1.6646,
16
+ "step": 10
17
+ },
18
+ {
19
+ "epoch": 0.08,
20
+ "grad_norm": 2.71875,
21
+ "learning_rate": 5e-06,
22
+ "loss": 1.633,
23
+ "step": 20
24
+ },
25
+ {
26
+ "epoch": 0.11,
27
+ "grad_norm": 1.453125,
28
+ "learning_rate": 7.500000000000001e-06,
29
+ "loss": 1.5999,
30
+ "step": 30
31
+ },
32
+ {
33
+ "epoch": 0.15,
34
+ "grad_norm": 1.921875,
35
+ "learning_rate": 1e-05,
36
+ "loss": 1.6187,
37
+ "step": 40
38
+ },
39
+ {
40
+ "epoch": 0.19,
41
+ "grad_norm": 2.625,
42
+ "learning_rate": 1.25e-05,
43
+ "loss": 1.5918,
44
+ "step": 50
45
+ },
46
+ {
47
+ "epoch": 0.23,
48
+ "grad_norm": 0.59765625,
49
+ "learning_rate": 1.5000000000000002e-05,
50
+ "loss": 1.5936,
51
+ "step": 60
52
+ },
53
+ {
54
+ "epoch": 0.26,
55
+ "grad_norm": 2.015625,
56
+ "learning_rate": 1.7500000000000002e-05,
57
+ "loss": 1.5263,
58
+ "step": 70
59
+ },
60
+ {
61
+ "epoch": 0.3,
62
+ "grad_norm": 0.92578125,
63
+ "learning_rate": 2e-05,
64
+ "loss": 1.4784,
65
+ "step": 80
66
+ },
67
+ {
68
+ "epoch": 0.34,
69
+ "grad_norm": 0.474609375,
70
+ "learning_rate": 1.999034865600726e-05,
71
+ "loss": 1.3839,
72
+ "step": 90
73
+ },
74
+ {
75
+ "epoch": 0.38,
76
+ "grad_norm": 1.2109375,
77
+ "learning_rate": 1.9961413253717214e-05,
78
+ "loss": 1.3698,
79
+ "step": 100
80
+ },
81
+ {
82
+ "epoch": 0.41,
83
+ "grad_norm": 1.0390625,
84
+ "learning_rate": 1.9913249646234072e-05,
85
+ "loss": 1.2916,
86
+ "step": 110
87
+ },
88
+ {
89
+ "epoch": 0.45,
90
+ "grad_norm": 0.35546875,
91
+ "learning_rate": 1.9845950802266584e-05,
92
+ "loss": 1.2607,
93
+ "step": 120
94
+ },
95
+ {
96
+ "epoch": 0.49,
97
+ "grad_norm": 0.375,
98
+ "learning_rate": 1.9759646626673445e-05,
99
+ "loss": 1.2405,
100
+ "step": 130
101
+ },
102
+ {
103
+ "epoch": 0.53,
104
+ "grad_norm": 0.8828125,
105
+ "learning_rate": 1.9654503709711984e-05,
106
+ "loss": 1.2615,
107
+ "step": 140
108
+ },
109
+ {
110
+ "epoch": 0.56,
111
+ "grad_norm": 1.2421875,
112
+ "learning_rate": 1.9530725005474195e-05,
113
+ "loss": 1.1433,
114
+ "step": 150
115
+ },
116
+ {
117
+ "epoch": 0.6,
118
+ "grad_norm": 0.404296875,
119
+ "learning_rate": 1.93885494401308e-05,
120
+ "loss": 1.1599,
121
+ "step": 160
122
+ },
123
+ {
124
+ "epoch": 0.64,
125
+ "grad_norm": 0.91796875,
126
+ "learning_rate": 1.9228251450739495e-05,
127
+ "loss": 1.1325,
128
+ "step": 170
129
+ },
130
+ {
131
+ "epoch": 0.68,
132
+ "grad_norm": 0.55859375,
133
+ "learning_rate": 1.905014045550767e-05,
134
+ "loss": 1.0797,
135
+ "step": 180
136
+ },
137
+ {
138
+ "epoch": 0.71,
139
+ "grad_norm": 0.375,
140
+ "learning_rate": 1.8854560256532098e-05,
141
+ "loss": 1.041,
142
+ "step": 190
143
+ },
144
+ {
145
+ "epoch": 0.75,
146
+ "grad_norm": 1.2265625,
147
+ "learning_rate": 1.8641888376168483e-05,
148
+ "loss": 1.0286,
149
+ "step": 200
150
+ },
151
+ {
152
+ "epoch": 0.79,
153
+ "grad_norm": 0.287109375,
154
+ "learning_rate": 1.8412535328311813e-05,
155
+ "loss": 0.9831,
156
+ "step": 210
157
+ },
158
+ {
159
+ "epoch": 0.83,
160
+ "grad_norm": 0.28515625,
161
+ "learning_rate": 1.816694382599422e-05,
162
+ "loss": 0.9927,
163
+ "step": 220
164
+ },
165
+ {
166
+ "epoch": 0.87,
167
+ "grad_norm": 3.25,
168
+ "learning_rate": 1.7905587926829815e-05,
169
+ "loss": 1.0075,
170
+ "step": 230
171
+ },
172
+ {
173
+ "epoch": 0.9,
174
+ "grad_norm": 0.255859375,
175
+ "learning_rate": 1.762897211795607e-05,
176
+ "loss": 1.0232,
177
+ "step": 240
178
+ },
179
+ {
180
+ "epoch": 0.94,
181
+ "grad_norm": 0.6484375,
182
+ "learning_rate": 1.733763034223804e-05,
183
+ "loss": 0.9476,
184
+ "step": 250
185
+ },
186
+ {
187
+ "epoch": 0.98,
188
+ "grad_norm": 0.67578125,
189
+ "learning_rate": 1.7032124967615112e-05,
190
+ "loss": 0.9338,
191
+ "step": 260
192
+ },
193
+ {
194
+ "epoch": 1.02,
195
+ "grad_norm": 0.41796875,
196
+ "learning_rate": 1.6713045701579705e-05,
197
+ "loss": 0.9243,
198
+ "step": 270
199
+ },
200
+ {
201
+ "epoch": 1.05,
202
+ "grad_norm": 0.232421875,
203
+ "learning_rate": 1.638100845288331e-05,
204
+ "loss": 0.9084,
205
+ "step": 280
206
+ },
207
+ {
208
+ "epoch": 1.09,
209
+ "grad_norm": 0.349609375,
210
+ "learning_rate": 1.6036654142667043e-05,
211
+ "loss": 0.896,
212
+ "step": 290
213
+ },
214
+ {
215
+ "epoch": 1.13,
216
+ "grad_norm": 0.25390625,
217
+ "learning_rate": 1.568064746731156e-05,
218
+ "loss": 0.9311,
219
+ "step": 300
220
+ },
221
+ {
222
+ "epoch": 1.17,
223
+ "grad_norm": 0.236328125,
224
+ "learning_rate": 1.5313675615394373e-05,
225
+ "loss": 0.9182,
226
+ "step": 310
227
+ },
228
+ {
229
+ "epoch": 1.2,
230
+ "grad_norm": 0.326171875,
231
+ "learning_rate": 1.4936446941231186e-05,
232
+ "loss": 0.8967,
233
+ "step": 320
234
+ },
235
+ {
236
+ "epoch": 1.24,
237
+ "grad_norm": 0.2451171875,
238
+ "learning_rate": 1.4549689597561652e-05,
239
+ "loss": 0.8965,
240
+ "step": 330
241
+ },
242
+ {
243
+ "epoch": 1.28,
244
+ "grad_norm": 0.435546875,
245
+ "learning_rate": 1.4154150130018867e-05,
246
+ "loss": 0.9105,
247
+ "step": 340
248
+ },
249
+ {
250
+ "epoch": 1.32,
251
+ "grad_norm": 0.3359375,
252
+ "learning_rate": 1.375059203609562e-05,
253
+ "loss": 0.9089,
254
+ "step": 350
255
+ },
256
+ {
257
+ "epoch": 1.35,
258
+ "grad_norm": 0.2578125,
259
+ "learning_rate": 1.3339794291389015e-05,
260
+ "loss": 0.9066,
261
+ "step": 360
262
+ },
263
+ {
264
+ "epoch": 1.39,
265
+ "grad_norm": 0.271484375,
266
+ "learning_rate": 1.2922549845968174e-05,
267
+ "loss": 0.8878,
268
+ "step": 370
269
+ },
270
+ {
271
+ "epoch": 1.43,
272
+ "grad_norm": 0.30078125,
273
+ "learning_rate": 1.2499664093767458e-05,
274
+ "loss": 0.8909,
275
+ "step": 380
276
+ },
277
+ {
278
+ "epoch": 1.47,
279
+ "grad_norm": 2.8125,
280
+ "learning_rate": 1.2071953317959692e-05,
281
+ "loss": 0.8659,
282
+ "step": 390
283
+ },
284
+ {
285
+ "epoch": 1.51,
286
+ "grad_norm": 0.3125,
287
+ "learning_rate": 1.1640243115310219e-05,
288
+ "loss": 0.8685,
289
+ "step": 400
290
+ },
291
+ {
292
+ "epoch": 1.54,
293
+ "grad_norm": 0.216796875,
294
+ "learning_rate": 1.1205366802553231e-05,
295
+ "loss": 0.8959,
296
+ "step": 410
297
+ },
298
+ {
299
+ "epoch": 1.58,
300
+ "grad_norm": 0.310546875,
301
+ "learning_rate": 1.076816380786647e-05,
302
+ "loss": 0.9412,
303
+ "step": 420
304
+ },
305
+ {
306
+ "epoch": 1.62,
307
+ "grad_norm": 0.99609375,
308
+ "learning_rate": 1.0329478050549208e-05,
309
+ "loss": 0.8929,
310
+ "step": 430
311
+ },
312
+ {
313
+ "epoch": 1.66,
314
+ "grad_norm": 0.3359375,
315
+ "learning_rate": 9.890156312031165e-06,
316
+ "loss": 0.9102,
317
+ "step": 440
318
+ },
319
+ {
320
+ "epoch": 1.69,
321
+ "grad_norm": 0.37109375,
322
+ "learning_rate": 9.451046601356725e-06,
323
+ "loss": 0.8645,
324
+ "step": 450
325
+ },
326
+ {
327
+ "epoch": 1.73,
328
+ "grad_norm": 0.259765625,
329
+ "learning_rate": 9.012996518299547e-06,
330
+ "loss": 0.8554,
331
+ "step": 460
332
+ },
333
+ {
334
+ "epoch": 1.77,
335
+ "grad_norm": 0.314453125,
336
+ "learning_rate": 8.576851617267151e-06,
337
+ "loss": 0.9034,
338
+ "step": 470
339
+ },
340
+ {
341
+ "epoch": 1.81,
342
+ "grad_norm": 0.2001953125,
343
+ "learning_rate": 8.143453775153646e-06,
344
+ "loss": 0.8696,
345
+ "step": 480
346
+ },
347
+ {
348
+ "epoch": 1.84,
349
+ "grad_norm": 0.671875,
350
+ "learning_rate": 7.713639566291028e-06,
351
+ "loss": 0.8801,
352
+ "step": 490
353
+ },
354
+ {
355
+ "epoch": 1.88,
356
+ "grad_norm": 0.291015625,
357
+ "learning_rate": 7.2882386476358304e-06,
358
+ "loss": 0.8872,
359
+ "step": 500
360
+ },
361
+ {
362
+ "epoch": 1.92,
363
+ "grad_norm": 0.37109375,
364
+ "learning_rate": 6.868072157308213e-06,
365
+ "loss": 0.8586,
366
+ "step": 510
367
+ },
368
+ {
369
+ "epoch": 1.96,
370
+ "grad_norm": 0.7109375,
371
+ "learning_rate": 6.453951129574644e-06,
372
+ "loss": 0.8727,
373
+ "step": 520
374
+ },
375
+ {
376
+ "epoch": 1.99,
377
+ "grad_norm": 1.15625,
378
+ "learning_rate": 6.046674929333787e-06,
379
+ "loss": 0.8833,
380
+ "step": 530
381
+ }
382
+ ],
383
+ "logging_steps": 10,
384
+ "max_steps": 795,
385
+ "num_input_tokens_seen": 0,
386
+ "num_train_epochs": 3,
387
+ "save_steps": 500,
388
+ "total_flos": 1.03886006255616e+17,
389
+ "train_batch_size": 2,
390
+ "trial_name": null,
391
+ "trial_params": null
392
+ }
checkpoint-531/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:32b3f3f1ba6b00310654e40de5ffb34be735ed191cb929c117afe047b0ae8012
3
+ size 4920
checkpoint-795/README.md ADDED
@@ -0,0 +1,204 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: google/gemma-2b
4
+ ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ <!-- Provide a quick summary of what the model is/does. -->
9
+
10
+
11
+
12
+ ## Model Details
13
+
14
+ ### Model Description
15
+
16
+ <!-- Provide a longer summary of what this model is. -->
17
+
18
+
19
+
20
+ - **Developed by:** [More Information Needed]
21
+ - **Funded by [optional]:** [More Information Needed]
22
+ - **Shared by [optional]:** [More Information Needed]
23
+ - **Model type:** [More Information Needed]
24
+ - **Language(s) (NLP):** [More Information Needed]
25
+ - **License:** [More Information Needed]
26
+ - **Finetuned from model [optional]:** [More Information Needed]
27
+
28
+ ### Model Sources [optional]
29
+
30
+ <!-- Provide the basic links for the model. -->
31
+
32
+ - **Repository:** [More Information Needed]
33
+ - **Paper [optional]:** [More Information Needed]
34
+ - **Demo [optional]:** [More Information Needed]
35
+
36
+ ## Uses
37
+
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
+ ### Direct Use
41
+
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
+
44
+ [More Information Needed]
45
+
46
+ ### Downstream Use [optional]
47
+
48
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Out-of-Scope Use
53
+
54
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
+
56
+ [More Information Needed]
57
+
58
+ ## Bias, Risks, and Limitations
59
+
60
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ### Recommendations
65
+
66
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
+
68
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
+
70
+ ## How to Get Started with the Model
71
+
72
+ Use the code below to get started with the model.
73
+
74
+ [More Information Needed]
75
+
76
+ ## Training Details
77
+
78
+ ### Training Data
79
+
80
+ <!-- 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. -->
81
+
82
+ [More Information Needed]
83
+
84
+ ### Training Procedure
85
+
86
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
+
88
+ #### Preprocessing [optional]
89
+
90
+ [More Information Needed]
91
+
92
+
93
+ #### Training Hyperparameters
94
+
95
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
+
97
+ #### Speeds, Sizes, Times [optional]
98
+
99
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
+
101
+ [More Information Needed]
102
+
103
+ ## Evaluation
104
+
105
+ <!-- This section describes the evaluation protocols and provides the results. -->
106
+
107
+ ### Testing Data, Factors & Metrics
108
+
109
+ #### Testing Data
110
+
111
+ <!-- This should link to a Dataset Card if possible. -->
112
+
113
+ [More Information Needed]
114
+
115
+ #### Factors
116
+
117
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Metrics
122
+
123
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
+
125
+ [More Information Needed]
126
+
127
+ ### Results
128
+
129
+ [More Information Needed]
130
+
131
+ #### Summary
132
+
133
+
134
+
135
+ ## Model Examination [optional]
136
+
137
+ <!-- Relevant interpretability work for the model goes here -->
138
+
139
+ [More Information Needed]
140
+
141
+ ## Environmental Impact
142
+
143
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
+
145
+ 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).
146
+
147
+ - **Hardware Type:** [More Information Needed]
148
+ - **Hours used:** [More Information Needed]
149
+ - **Cloud Provider:** [More Information Needed]
150
+ - **Compute Region:** [More Information Needed]
151
+ - **Carbon Emitted:** [More Information Needed]
152
+
153
+ ## Technical Specifications [optional]
154
+
155
+ ### Model Architecture and Objective
156
+
157
+ [More Information Needed]
158
+
159
+ ### Compute Infrastructure
160
+
161
+ [More Information Needed]
162
+
163
+ #### Hardware
164
+
165
+ [More Information Needed]
166
+
167
+ #### Software
168
+
169
+ [More Information Needed]
170
+
171
+ ## Citation [optional]
172
+
173
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
+
175
+ **BibTeX:**
176
+
177
+ [More Information Needed]
178
+
179
+ **APA:**
180
+
181
+ [More Information Needed]
182
+
183
+ ## Glossary [optional]
184
+
185
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
+
187
+ [More Information Needed]
188
+
189
+ ## More Information [optional]
190
+
191
+ [More Information Needed]
192
+
193
+ ## Model Card Authors [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Contact
198
+
199
+ [More Information Needed]
200
+
201
+
202
+ ### Framework versions
203
+
204
+ - PEFT 0.8.2
checkpoint-795/adapter_config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "google/gemma-2b",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layers_pattern": null,
10
+ "layers_to_transform": null,
11
+ "loftq_config": {},
12
+ "lora_alpha": 8,
13
+ "lora_dropout": 0.05,
14
+ "megatron_config": null,
15
+ "megatron_core": "megatron.core",
16
+ "modules_to_save": null,
17
+ "peft_type": "LORA",
18
+ "r": 6,
19
+ "rank_pattern": {},
20
+ "revision": null,
21
+ "target_modules": [
22
+ "k_proj",
23
+ "o_proj",
24
+ "gate_proj",
25
+ "down_proj",
26
+ "up_proj",
27
+ "q_proj",
28
+ "v_proj"
29
+ ],
30
+ "task_type": "CAUSAL_LM",
31
+ "use_rslora": false
32
+ }
checkpoint-795/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c17fbdaff88767f841d69f4734e09241c8606f3123d94272e90d00f36bcf16b
3
+ size 14741912
checkpoint-795/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:005bf4b9984a255293375e316b4af74e20630bd72e792ad388ec070be9a546c1
3
+ size 29632634
checkpoint-795/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a6b782b11180f9b9fe7264f45aaf363b6d1b679a05b4dfc8f639aeb150db99b
3
+ size 14244
checkpoint-795/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:070ba9c3b446fbe3cba8b87fc24caa26b6a4dd4a41f58d60ddbe1df28e00b137
3
+ size 1064
checkpoint-795/special_tokens_map.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>"
5
+ ],
6
+ "bos_token": {
7
+ "content": "<bos>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false
12
+ },
13
+ "eos_token": {
14
+ "content": "<eos>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false
19
+ },
20
+ "pad_token": {
21
+ "content": "<pad>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false
26
+ },
27
+ "unk_token": {
28
+ "content": "<unk>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false
33
+ }
34
+ }
checkpoint-795/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:22449cb9ef4bad0db7dd93b46ddff7ab7d6a654dd4f903e130ddb6361eac3af5
3
+ size 17477473
checkpoint-795/tokenizer_config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_eos_token": false,
4
+ "added_tokens_decoder": {
5
+ "0": {
6
+ "content": "<pad>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "1": {
14
+ "content": "<eos>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "2": {
22
+ "content": "<bos>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "3": {
30
+ "content": "<unk>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "106": {
38
+ "content": "<|im_start|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "107": {
46
+ "content": "<|im_end|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ }
53
+ },
54
+ "additional_special_tokens": [
55
+ "<|im_start|>",
56
+ "<|im_end|>"
57
+ ],
58
+ "bos_token": "<bos>",
59
+ "chat_template": "{% if messages[0]['role'] == 'user' or messages[0]['role'] == 'system' %}{{ bos_token }}{% endif %}{% for message in messages %}{{ '<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n' }}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% elif messages[-1]['role'] == 'assistant' %}{{ eos_token }}{% endif %}",
60
+ "clean_up_tokenization_spaces": false,
61
+ "eos_token": "<eos>",
62
+ "legacy": null,
63
+ "model_max_length": 1000000000000000019884624838656,
64
+ "pad_token": "<pad>",
65
+ "sp_model_kwargs": {},
66
+ "spaces_between_special_tokens": false,
67
+ "tokenizer_class": "GemmaTokenizer",
68
+ "unk_token": "<unk>",
69
+ "use_default_system_prompt": false
70
+ }
checkpoint-795/trainer_state.json ADDED
@@ -0,0 +1,574 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 2.991533396048918,
5
+ "eval_steps": 500,
6
+ "global_step": 795,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.04,
13
+ "grad_norm": 2.453125,
14
+ "learning_rate": 2.5e-06,
15
+ "loss": 1.6646,
16
+ "step": 10
17
+ },
18
+ {
19
+ "epoch": 0.08,
20
+ "grad_norm": 2.71875,
21
+ "learning_rate": 5e-06,
22
+ "loss": 1.633,
23
+ "step": 20
24
+ },
25
+ {
26
+ "epoch": 0.11,
27
+ "grad_norm": 1.453125,
28
+ "learning_rate": 7.500000000000001e-06,
29
+ "loss": 1.5999,
30
+ "step": 30
31
+ },
32
+ {
33
+ "epoch": 0.15,
34
+ "grad_norm": 1.921875,
35
+ "learning_rate": 1e-05,
36
+ "loss": 1.6187,
37
+ "step": 40
38
+ },
39
+ {
40
+ "epoch": 0.19,
41
+ "grad_norm": 2.625,
42
+ "learning_rate": 1.25e-05,
43
+ "loss": 1.5918,
44
+ "step": 50
45
+ },
46
+ {
47
+ "epoch": 0.23,
48
+ "grad_norm": 0.59765625,
49
+ "learning_rate": 1.5000000000000002e-05,
50
+ "loss": 1.5936,
51
+ "step": 60
52
+ },
53
+ {
54
+ "epoch": 0.26,
55
+ "grad_norm": 2.015625,
56
+ "learning_rate": 1.7500000000000002e-05,
57
+ "loss": 1.5263,
58
+ "step": 70
59
+ },
60
+ {
61
+ "epoch": 0.3,
62
+ "grad_norm": 0.92578125,
63
+ "learning_rate": 2e-05,
64
+ "loss": 1.4784,
65
+ "step": 80
66
+ },
67
+ {
68
+ "epoch": 0.34,
69
+ "grad_norm": 0.474609375,
70
+ "learning_rate": 1.999034865600726e-05,
71
+ "loss": 1.3839,
72
+ "step": 90
73
+ },
74
+ {
75
+ "epoch": 0.38,
76
+ "grad_norm": 1.2109375,
77
+ "learning_rate": 1.9961413253717214e-05,
78
+ "loss": 1.3698,
79
+ "step": 100
80
+ },
81
+ {
82
+ "epoch": 0.41,
83
+ "grad_norm": 1.0390625,
84
+ "learning_rate": 1.9913249646234072e-05,
85
+ "loss": 1.2916,
86
+ "step": 110
87
+ },
88
+ {
89
+ "epoch": 0.45,
90
+ "grad_norm": 0.35546875,
91
+ "learning_rate": 1.9845950802266584e-05,
92
+ "loss": 1.2607,
93
+ "step": 120
94
+ },
95
+ {
96
+ "epoch": 0.49,
97
+ "grad_norm": 0.375,
98
+ "learning_rate": 1.9759646626673445e-05,
99
+ "loss": 1.2405,
100
+ "step": 130
101
+ },
102
+ {
103
+ "epoch": 0.53,
104
+ "grad_norm": 0.8828125,
105
+ "learning_rate": 1.9654503709711984e-05,
106
+ "loss": 1.2615,
107
+ "step": 140
108
+ },
109
+ {
110
+ "epoch": 0.56,
111
+ "grad_norm": 1.2421875,
112
+ "learning_rate": 1.9530725005474195e-05,
113
+ "loss": 1.1433,
114
+ "step": 150
115
+ },
116
+ {
117
+ "epoch": 0.6,
118
+ "grad_norm": 0.404296875,
119
+ "learning_rate": 1.93885494401308e-05,
120
+ "loss": 1.1599,
121
+ "step": 160
122
+ },
123
+ {
124
+ "epoch": 0.64,
125
+ "grad_norm": 0.91796875,
126
+ "learning_rate": 1.9228251450739495e-05,
127
+ "loss": 1.1325,
128
+ "step": 170
129
+ },
130
+ {
131
+ "epoch": 0.68,
132
+ "grad_norm": 0.55859375,
133
+ "learning_rate": 1.905014045550767e-05,
134
+ "loss": 1.0797,
135
+ "step": 180
136
+ },
137
+ {
138
+ "epoch": 0.71,
139
+ "grad_norm": 0.375,
140
+ "learning_rate": 1.8854560256532098e-05,
141
+ "loss": 1.041,
142
+ "step": 190
143
+ },
144
+ {
145
+ "epoch": 0.75,
146
+ "grad_norm": 1.2265625,
147
+ "learning_rate": 1.8641888376168483e-05,
148
+ "loss": 1.0286,
149
+ "step": 200
150
+ },
151
+ {
152
+ "epoch": 0.79,
153
+ "grad_norm": 0.287109375,
154
+ "learning_rate": 1.8412535328311813e-05,
155
+ "loss": 0.9831,
156
+ "step": 210
157
+ },
158
+ {
159
+ "epoch": 0.83,
160
+ "grad_norm": 0.28515625,
161
+ "learning_rate": 1.816694382599422e-05,
162
+ "loss": 0.9927,
163
+ "step": 220
164
+ },
165
+ {
166
+ "epoch": 0.87,
167
+ "grad_norm": 3.25,
168
+ "learning_rate": 1.7905587926829815e-05,
169
+ "loss": 1.0075,
170
+ "step": 230
171
+ },
172
+ {
173
+ "epoch": 0.9,
174
+ "grad_norm": 0.255859375,
175
+ "learning_rate": 1.762897211795607e-05,
176
+ "loss": 1.0232,
177
+ "step": 240
178
+ },
179
+ {
180
+ "epoch": 0.94,
181
+ "grad_norm": 0.6484375,
182
+ "learning_rate": 1.733763034223804e-05,
183
+ "loss": 0.9476,
184
+ "step": 250
185
+ },
186
+ {
187
+ "epoch": 0.98,
188
+ "grad_norm": 0.67578125,
189
+ "learning_rate": 1.7032124967615112e-05,
190
+ "loss": 0.9338,
191
+ "step": 260
192
+ },
193
+ {
194
+ "epoch": 1.02,
195
+ "grad_norm": 0.41796875,
196
+ "learning_rate": 1.6713045701579705e-05,
197
+ "loss": 0.9243,
198
+ "step": 270
199
+ },
200
+ {
201
+ "epoch": 1.05,
202
+ "grad_norm": 0.232421875,
203
+ "learning_rate": 1.638100845288331e-05,
204
+ "loss": 0.9084,
205
+ "step": 280
206
+ },
207
+ {
208
+ "epoch": 1.09,
209
+ "grad_norm": 0.349609375,
210
+ "learning_rate": 1.6036654142667043e-05,
211
+ "loss": 0.896,
212
+ "step": 290
213
+ },
214
+ {
215
+ "epoch": 1.13,
216
+ "grad_norm": 0.25390625,
217
+ "learning_rate": 1.568064746731156e-05,
218
+ "loss": 0.9311,
219
+ "step": 300
220
+ },
221
+ {
222
+ "epoch": 1.17,
223
+ "grad_norm": 0.236328125,
224
+ "learning_rate": 1.5313675615394373e-05,
225
+ "loss": 0.9182,
226
+ "step": 310
227
+ },
228
+ {
229
+ "epoch": 1.2,
230
+ "grad_norm": 0.326171875,
231
+ "learning_rate": 1.4936446941231186e-05,
232
+ "loss": 0.8967,
233
+ "step": 320
234
+ },
235
+ {
236
+ "epoch": 1.24,
237
+ "grad_norm": 0.2451171875,
238
+ "learning_rate": 1.4549689597561652e-05,
239
+ "loss": 0.8965,
240
+ "step": 330
241
+ },
242
+ {
243
+ "epoch": 1.28,
244
+ "grad_norm": 0.435546875,
245
+ "learning_rate": 1.4154150130018867e-05,
246
+ "loss": 0.9105,
247
+ "step": 340
248
+ },
249
+ {
250
+ "epoch": 1.32,
251
+ "grad_norm": 0.3359375,
252
+ "learning_rate": 1.375059203609562e-05,
253
+ "loss": 0.9089,
254
+ "step": 350
255
+ },
256
+ {
257
+ "epoch": 1.35,
258
+ "grad_norm": 0.2578125,
259
+ "learning_rate": 1.3339794291389015e-05,
260
+ "loss": 0.9066,
261
+ "step": 360
262
+ },
263
+ {
264
+ "epoch": 1.39,
265
+ "grad_norm": 0.271484375,
266
+ "learning_rate": 1.2922549845968174e-05,
267
+ "loss": 0.8878,
268
+ "step": 370
269
+ },
270
+ {
271
+ "epoch": 1.43,
272
+ "grad_norm": 0.30078125,
273
+ "learning_rate": 1.2499664093767458e-05,
274
+ "loss": 0.8909,
275
+ "step": 380
276
+ },
277
+ {
278
+ "epoch": 1.47,
279
+ "grad_norm": 2.8125,
280
+ "learning_rate": 1.2071953317959692e-05,
281
+ "loss": 0.8659,
282
+ "step": 390
283
+ },
284
+ {
285
+ "epoch": 1.51,
286
+ "grad_norm": 0.3125,
287
+ "learning_rate": 1.1640243115310219e-05,
288
+ "loss": 0.8685,
289
+ "step": 400
290
+ },
291
+ {
292
+ "epoch": 1.54,
293
+ "grad_norm": 0.216796875,
294
+ "learning_rate": 1.1205366802553231e-05,
295
+ "loss": 0.8959,
296
+ "step": 410
297
+ },
298
+ {
299
+ "epoch": 1.58,
300
+ "grad_norm": 0.310546875,
301
+ "learning_rate": 1.076816380786647e-05,
302
+ "loss": 0.9412,
303
+ "step": 420
304
+ },
305
+ {
306
+ "epoch": 1.62,
307
+ "grad_norm": 0.99609375,
308
+ "learning_rate": 1.0329478050549208e-05,
309
+ "loss": 0.8929,
310
+ "step": 430
311
+ },
312
+ {
313
+ "epoch": 1.66,
314
+ "grad_norm": 0.3359375,
315
+ "learning_rate": 9.890156312031165e-06,
316
+ "loss": 0.9102,
317
+ "step": 440
318
+ },
319
+ {
320
+ "epoch": 1.69,
321
+ "grad_norm": 0.37109375,
322
+ "learning_rate": 9.451046601356725e-06,
323
+ "loss": 0.8645,
324
+ "step": 450
325
+ },
326
+ {
327
+ "epoch": 1.73,
328
+ "grad_norm": 0.259765625,
329
+ "learning_rate": 9.012996518299547e-06,
330
+ "loss": 0.8554,
331
+ "step": 460
332
+ },
333
+ {
334
+ "epoch": 1.77,
335
+ "grad_norm": 0.314453125,
336
+ "learning_rate": 8.576851617267151e-06,
337
+ "loss": 0.9034,
338
+ "step": 470
339
+ },
340
+ {
341
+ "epoch": 1.81,
342
+ "grad_norm": 0.2001953125,
343
+ "learning_rate": 8.143453775153646e-06,
344
+ "loss": 0.8696,
345
+ "step": 480
346
+ },
347
+ {
348
+ "epoch": 1.84,
349
+ "grad_norm": 0.671875,
350
+ "learning_rate": 7.713639566291028e-06,
351
+ "loss": 0.8801,
352
+ "step": 490
353
+ },
354
+ {
355
+ "epoch": 1.88,
356
+ "grad_norm": 0.291015625,
357
+ "learning_rate": 7.2882386476358304e-06,
358
+ "loss": 0.8872,
359
+ "step": 500
360
+ },
361
+ {
362
+ "epoch": 1.92,
363
+ "grad_norm": 0.37109375,
364
+ "learning_rate": 6.868072157308213e-06,
365
+ "loss": 0.8586,
366
+ "step": 510
367
+ },
368
+ {
369
+ "epoch": 1.96,
370
+ "grad_norm": 0.7109375,
371
+ "learning_rate": 6.453951129574644e-06,
372
+ "loss": 0.8727,
373
+ "step": 520
374
+ },
375
+ {
376
+ "epoch": 1.99,
377
+ "grad_norm": 1.15625,
378
+ "learning_rate": 6.046674929333787e-06,
379
+ "loss": 0.8833,
380
+ "step": 530
381
+ },
382
+ {
383
+ "epoch": 2.03,
384
+ "grad_norm": 0.2431640625,
385
+ "learning_rate": 5.647029709127355e-06,
386
+ "loss": 0.9192,
387
+ "step": 540
388
+ },
389
+ {
390
+ "epoch": 2.07,
391
+ "grad_norm": 0.5859375,
392
+ "learning_rate": 5.2557868916543996e-06,
393
+ "loss": 0.9092,
394
+ "step": 550
395
+ },
396
+ {
397
+ "epoch": 2.11,
398
+ "grad_norm": 0.392578125,
399
+ "learning_rate": 4.873701680718146e-06,
400
+ "loss": 0.8563,
401
+ "step": 560
402
+ },
403
+ {
404
+ "epoch": 2.14,
405
+ "grad_norm": 0.28515625,
406
+ "learning_rate": 4.501511603479653e-06,
407
+ "loss": 0.8795,
408
+ "step": 570
409
+ },
410
+ {
411
+ "epoch": 2.18,
412
+ "grad_norm": 0.283203125,
413
+ "learning_rate": 4.13993508683214e-06,
414
+ "loss": 0.8673,
415
+ "step": 580
416
+ },
417
+ {
418
+ "epoch": 2.22,
419
+ "grad_norm": 0.283203125,
420
+ "learning_rate": 3.7896700706439826e-06,
421
+ "loss": 0.8649,
422
+ "step": 590
423
+ },
424
+ {
425
+ "epoch": 2.26,
426
+ "grad_norm": 0.40625,
427
+ "learning_rate": 3.4513926605471504e-06,
428
+ "loss": 0.8592,
429
+ "step": 600
430
+ },
431
+ {
432
+ "epoch": 2.3,
433
+ "grad_norm": 0.2490234375,
434
+ "learning_rate": 3.125755822871607e-06,
435
+ "loss": 0.8603,
436
+ "step": 610
437
+ },
438
+ {
439
+ "epoch": 2.33,
440
+ "grad_norm": 0.23828125,
441
+ "learning_rate": 2.813388124244778e-06,
442
+ "loss": 0.8614,
443
+ "step": 620
444
+ },
445
+ {
446
+ "epoch": 2.37,
447
+ "grad_norm": 0.251953125,
448
+ "learning_rate": 2.514892518288988e-06,
449
+ "loss": 0.8799,
450
+ "step": 630
451
+ },
452
+ {
453
+ "epoch": 2.41,
454
+ "grad_norm": 0.27734375,
455
+ "learning_rate": 2.230845181758928e-06,
456
+ "loss": 0.8356,
457
+ "step": 640
458
+ },
459
+ {
460
+ "epoch": 2.45,
461
+ "grad_norm": 0.453125,
462
+ "learning_rate": 1.961794402365611e-06,
463
+ "loss": 0.8888,
464
+ "step": 650
465
+ },
466
+ {
467
+ "epoch": 2.48,
468
+ "grad_norm": 0.2470703125,
469
+ "learning_rate": 1.7082595204337183e-06,
470
+ "loss": 0.8796,
471
+ "step": 660
472
+ },
473
+ {
474
+ "epoch": 2.52,
475
+ "grad_norm": 0.482421875,
476
+ "learning_rate": 1.4707299264351914e-06,
477
+ "loss": 0.8694,
478
+ "step": 670
479
+ },
480
+ {
481
+ "epoch": 2.56,
482
+ "grad_norm": 0.259765625,
483
+ "learning_rate": 1.2496641163340562e-06,
484
+ "loss": 0.8944,
485
+ "step": 680
486
+ },
487
+ {
488
+ "epoch": 2.6,
489
+ "grad_norm": 0.51953125,
490
+ "learning_rate": 1.0454888065659775e-06,
491
+ "loss": 0.8564,
492
+ "step": 690
493
+ },
494
+ {
495
+ "epoch": 2.63,
496
+ "grad_norm": 0.2265625,
497
+ "learning_rate": 8.585981103608343e-07,
498
+ "loss": 0.8361,
499
+ "step": 700
500
+ },
501
+ {
502
+ "epoch": 2.67,
503
+ "grad_norm": 0.23828125,
504
+ "learning_rate": 6.8935277699825e-07,
505
+ "loss": 0.869,
506
+ "step": 710
507
+ },
508
+ {
509
+ "epoch": 2.71,
510
+ "grad_norm": 0.2294921875,
511
+ "learning_rate": 5.380794954645141e-07,
512
+ "loss": 0.8573,
513
+ "step": 720
514
+ },
515
+ {
516
+ "epoch": 2.75,
517
+ "grad_norm": 0.35546875,
518
+ "learning_rate": 4.0507026385502747e-07,
519
+ "loss": 0.8439,
520
+ "step": 730
521
+ },
522
+ {
523
+ "epoch": 2.78,
524
+ "grad_norm": 0.216796875,
525
+ "learning_rate": 2.905818257394799e-07,
526
+ "loss": 0.9043,
527
+ "step": 740
528
+ },
529
+ {
530
+ "epoch": 2.82,
531
+ "grad_norm": 0.2177734375,
532
+ "learning_rate": 1.9483517457776436e-07,
533
+ "loss": 0.8677,
534
+ "step": 750
535
+ },
536
+ {
537
+ "epoch": 2.86,
538
+ "grad_norm": 0.3203125,
539
+ "learning_rate": 1.1801512714318286e-07,
540
+ "loss": 0.8762,
541
+ "step": 760
542
+ },
543
+ {
544
+ "epoch": 2.9,
545
+ "grad_norm": 0.390625,
546
+ "learning_rate": 6.026996677640062e-08,
547
+ "loss": 0.8791,
548
+ "step": 770
549
+ },
550
+ {
551
+ "epoch": 2.94,
552
+ "grad_norm": 0.322265625,
553
+ "learning_rate": 2.171115715874139e-08,
554
+ "loss": 0.91,
555
+ "step": 780
556
+ },
557
+ {
558
+ "epoch": 2.97,
559
+ "grad_norm": 0.212890625,
560
+ "learning_rate": 2.4131271573191172e-09,
561
+ "loss": 0.8937,
562
+ "step": 790
563
+ }
564
+ ],
565
+ "logging_steps": 10,
566
+ "max_steps": 795,
567
+ "num_input_tokens_seen": 0,
568
+ "num_train_epochs": 3,
569
+ "save_steps": 500,
570
+ "total_flos": 1.5541346535840154e+17,
571
+ "train_batch_size": 2,
572
+ "trial_name": null,
573
+ "trial_params": null
574
+ }
checkpoint-795/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:32b3f3f1ba6b00310654e40de5ffb34be735ed191cb929c117afe047b0ae8012
3
+ size 4920
config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/gemma-2b",
3
+ "architectures": [
4
+ "GemmaForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 2,
9
+ "eos_token_id": 1,
10
+ "head_dim": 256,
11
+ "hidden_act": "gelu",
12
+ "hidden_size": 2048,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 16384,
15
+ "max_position_embeddings": 8192,
16
+ "model_type": "gemma",
17
+ "num_attention_heads": 8,
18
+ "num_hidden_layers": 18,
19
+ "num_key_value_heads": 1,
20
+ "pad_token_id": 0,
21
+ "rms_norm_eps": 1e-06,
22
+ "rope_scaling": null,
23
+ "rope_theta": 10000.0,
24
+ "torch_dtype": "float16",
25
+ "transformers_version": "4.38.2",
26
+ "use_cache": true,
27
+ "vocab_size": 256000
28
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 2,
4
+ "eos_token_id": 1,
5
+ "pad_token_id": 0,
6
+ "transformers_version": "4.38.2"
7
+ }
model-00001-of-00003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b3d23bcd8078f27974de5a51ed0953b4953a6b9b08306e0705d1154a1d2a0fc3
3
+ size 1948291704
model-00002-of-00003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2e71276f24c4335ed5fb7e149be48912e03fdf7295537836cdfd348bcb3bda3c
3
+ size 1981891624
model-00003-of-00003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07c77d96e48e7f1d298c8426b5739bf3d9aa1f1c3a7f53874d587461faa01114
3
+ size 1082180264
model.safetensors.index.json ADDED
@@ -0,0 +1,171 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "total_size": 5012344832
4
+ },
5
+ "weight_map": {
6
+ "model.embed_tokens.weight": "model-00001-of-00003.safetensors",
7
+ "model.layers.0.input_layernorm.weight": "model-00001-of-00003.safetensors",
8
+ "model.layers.0.mlp.down_proj.weight": "model-00001-of-00003.safetensors",
9
+ "model.layers.0.mlp.gate_proj.weight": "model-00001-of-00003.safetensors",
10
+ "model.layers.0.mlp.up_proj.weight": "model-00001-of-00003.safetensors",
11
+ "model.layers.0.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
12
+ "model.layers.0.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
13
+ "model.layers.0.self_attn.o_proj.weight": "model-00001-of-00003.safetensors",
14
+ "model.layers.0.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
15
+ "model.layers.0.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
16
+ "model.layers.1.input_layernorm.weight": "model-00001-of-00003.safetensors",
17
+ "model.layers.1.mlp.down_proj.weight": "model-00001-of-00003.safetensors",
18
+ "model.layers.1.mlp.gate_proj.weight": "model-00001-of-00003.safetensors",
19
+ "model.layers.1.mlp.up_proj.weight": "model-00001-of-00003.safetensors",
20
+ "model.layers.1.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
21
+ "model.layers.1.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
22
+ "model.layers.1.self_attn.o_proj.weight": "model-00001-of-00003.safetensors",
23
+ "model.layers.1.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
24
+ "model.layers.1.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
25
+ "model.layers.10.input_layernorm.weight": "model-00002-of-00003.safetensors",
26
+ "model.layers.10.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
27
+ "model.layers.10.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
28
+ "model.layers.10.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
29
+ "model.layers.10.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
30
+ "model.layers.10.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
31
+ "model.layers.10.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
32
+ "model.layers.10.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
33
+ "model.layers.10.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
34
+ "model.layers.11.input_layernorm.weight": "model-00002-of-00003.safetensors",
35
+ "model.layers.11.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
36
+ "model.layers.11.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
37
+ "model.layers.11.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
38
+ "model.layers.11.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
39
+ "model.layers.11.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
40
+ "model.layers.11.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
41
+ "model.layers.11.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
42
+ "model.layers.11.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
43
+ "model.layers.12.input_layernorm.weight": "model-00002-of-00003.safetensors",
44
+ "model.layers.12.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
45
+ "model.layers.12.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
46
+ "model.layers.12.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
47
+ "model.layers.12.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
48
+ "model.layers.12.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
49
+ "model.layers.12.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
50
+ "model.layers.12.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
51
+ "model.layers.12.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
52
+ "model.layers.13.input_layernorm.weight": "model-00003-of-00003.safetensors",
53
+ "model.layers.13.mlp.down_proj.weight": "model-00003-of-00003.safetensors",
54
+ "model.layers.13.mlp.gate_proj.weight": "model-00003-of-00003.safetensors",
55
+ "model.layers.13.mlp.up_proj.weight": "model-00003-of-00003.safetensors",
56
+ "model.layers.13.post_attention_layernorm.weight": "model-00003-of-00003.safetensors",
57
+ "model.layers.13.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
58
+ "model.layers.13.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
59
+ "model.layers.13.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
60
+ "model.layers.13.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
61
+ "model.layers.14.input_layernorm.weight": "model-00003-of-00003.safetensors",
62
+ "model.layers.14.mlp.down_proj.weight": "model-00003-of-00003.safetensors",
63
+ "model.layers.14.mlp.gate_proj.weight": "model-00003-of-00003.safetensors",
64
+ "model.layers.14.mlp.up_proj.weight": "model-00003-of-00003.safetensors",
65
+ "model.layers.14.post_attention_layernorm.weight": "model-00003-of-00003.safetensors",
66
+ "model.layers.14.self_attn.k_proj.weight": "model-00003-of-00003.safetensors",
67
+ "model.layers.14.self_attn.o_proj.weight": "model-00003-of-00003.safetensors",
68
+ "model.layers.14.self_attn.q_proj.weight": "model-00003-of-00003.safetensors",
69
+ "model.layers.14.self_attn.v_proj.weight": "model-00003-of-00003.safetensors",
70
+ "model.layers.15.input_layernorm.weight": "model-00003-of-00003.safetensors",
71
+ "model.layers.15.mlp.down_proj.weight": "model-00003-of-00003.safetensors",
72
+ "model.layers.15.mlp.gate_proj.weight": "model-00003-of-00003.safetensors",
73
+ "model.layers.15.mlp.up_proj.weight": "model-00003-of-00003.safetensors",
74
+ "model.layers.15.post_attention_layernorm.weight": "model-00003-of-00003.safetensors",
75
+ "model.layers.15.self_attn.k_proj.weight": "model-00003-of-00003.safetensors",
76
+ "model.layers.15.self_attn.o_proj.weight": "model-00003-of-00003.safetensors",
77
+ "model.layers.15.self_attn.q_proj.weight": "model-00003-of-00003.safetensors",
78
+ "model.layers.15.self_attn.v_proj.weight": "model-00003-of-00003.safetensors",
79
+ "model.layers.16.input_layernorm.weight": "model-00003-of-00003.safetensors",
80
+ "model.layers.16.mlp.down_proj.weight": "model-00003-of-00003.safetensors",
81
+ "model.layers.16.mlp.gate_proj.weight": "model-00003-of-00003.safetensors",
82
+ "model.layers.16.mlp.up_proj.weight": "model-00003-of-00003.safetensors",
83
+ "model.layers.16.post_attention_layernorm.weight": "model-00003-of-00003.safetensors",
84
+ "model.layers.16.self_attn.k_proj.weight": "model-00003-of-00003.safetensors",
85
+ "model.layers.16.self_attn.o_proj.weight": "model-00003-of-00003.safetensors",
86
+ "model.layers.16.self_attn.q_proj.weight": "model-00003-of-00003.safetensors",
87
+ "model.layers.16.self_attn.v_proj.weight": "model-00003-of-00003.safetensors",
88
+ "model.layers.17.input_layernorm.weight": "model-00003-of-00003.safetensors",
89
+ "model.layers.17.mlp.down_proj.weight": "model-00003-of-00003.safetensors",
90
+ "model.layers.17.mlp.gate_proj.weight": "model-00003-of-00003.safetensors",
91
+ "model.layers.17.mlp.up_proj.weight": "model-00003-of-00003.safetensors",
92
+ "model.layers.17.post_attention_layernorm.weight": "model-00003-of-00003.safetensors",
93
+ "model.layers.17.self_attn.k_proj.weight": "model-00003-of-00003.safetensors",
94
+ "model.layers.17.self_attn.o_proj.weight": "model-00003-of-00003.safetensors",
95
+ "model.layers.17.self_attn.q_proj.weight": "model-00003-of-00003.safetensors",
96
+ "model.layers.17.self_attn.v_proj.weight": "model-00003-of-00003.safetensors",
97
+ "model.layers.2.input_layernorm.weight": "model-00001-of-00003.safetensors",
98
+ "model.layers.2.mlp.down_proj.weight": "model-00001-of-00003.safetensors",
99
+ "model.layers.2.mlp.gate_proj.weight": "model-00001-of-00003.safetensors",
100
+ "model.layers.2.mlp.up_proj.weight": "model-00001-of-00003.safetensors",
101
+ "model.layers.2.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
102
+ "model.layers.2.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
103
+ "model.layers.2.self_attn.o_proj.weight": "model-00001-of-00003.safetensors",
104
+ "model.layers.2.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
105
+ "model.layers.2.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
106
+ "model.layers.3.input_layernorm.weight": "model-00001-of-00003.safetensors",
107
+ "model.layers.3.mlp.down_proj.weight": "model-00001-of-00003.safetensors",
108
+ "model.layers.3.mlp.gate_proj.weight": "model-00001-of-00003.safetensors",
109
+ "model.layers.3.mlp.up_proj.weight": "model-00001-of-00003.safetensors",
110
+ "model.layers.3.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
111
+ "model.layers.3.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
112
+ "model.layers.3.self_attn.o_proj.weight": "model-00001-of-00003.safetensors",
113
+ "model.layers.3.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
114
+ "model.layers.3.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
115
+ "model.layers.4.input_layernorm.weight": "model-00002-of-00003.safetensors",
116
+ "model.layers.4.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
117
+ "model.layers.4.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
118
+ "model.layers.4.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
119
+ "model.layers.4.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
120
+ "model.layers.4.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
121
+ "model.layers.4.self_attn.o_proj.weight": "model-00001-of-00003.safetensors",
122
+ "model.layers.4.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
123
+ "model.layers.4.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
124
+ "model.layers.5.input_layernorm.weight": "model-00002-of-00003.safetensors",
125
+ "model.layers.5.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
126
+ "model.layers.5.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
127
+ "model.layers.5.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
128
+ "model.layers.5.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
129
+ "model.layers.5.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
130
+ "model.layers.5.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
131
+ "model.layers.5.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
132
+ "model.layers.5.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
133
+ "model.layers.6.input_layernorm.weight": "model-00002-of-00003.safetensors",
134
+ "model.layers.6.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
135
+ "model.layers.6.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
136
+ "model.layers.6.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
137
+ "model.layers.6.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
138
+ "model.layers.6.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
139
+ "model.layers.6.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
140
+ "model.layers.6.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
141
+ "model.layers.6.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
142
+ "model.layers.7.input_layernorm.weight": "model-00002-of-00003.safetensors",
143
+ "model.layers.7.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
144
+ "model.layers.7.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
145
+ "model.layers.7.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
146
+ "model.layers.7.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
147
+ "model.layers.7.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
148
+ "model.layers.7.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
149
+ "model.layers.7.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
150
+ "model.layers.7.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
151
+ "model.layers.8.input_layernorm.weight": "model-00002-of-00003.safetensors",
152
+ "model.layers.8.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
153
+ "model.layers.8.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
154
+ "model.layers.8.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
155
+ "model.layers.8.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
156
+ "model.layers.8.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
157
+ "model.layers.8.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
158
+ "model.layers.8.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
159
+ "model.layers.8.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
160
+ "model.layers.9.input_layernorm.weight": "model-00002-of-00003.safetensors",
161
+ "model.layers.9.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
162
+ "model.layers.9.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
163
+ "model.layers.9.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
164
+ "model.layers.9.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
165
+ "model.layers.9.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
166
+ "model.layers.9.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
167
+ "model.layers.9.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
168
+ "model.layers.9.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
169
+ "model.norm.weight": "model-00003-of-00003.safetensors"
170
+ }
171
+ }
runs/Mar13_16-30-02_e65672b6422a/events.out.tfevents.1710347411.e65672b6422a.583.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6445ab50c5f3f0511dd37befc26b0284587b07cb39cc67b7c3b6f62eea105a88
3
+ size 22030
special_tokens_map.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>"
5
+ ],
6
+ "bos_token": {
7
+ "content": "<bos>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false
12
+ },
13
+ "eos_token": {
14
+ "content": "<eos>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false
19
+ },
20
+ "pad_token": {
21
+ "content": "<pad>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false
26
+ },
27
+ "unk_token": {
28
+ "content": "<unk>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false
33
+ }
34
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:22449cb9ef4bad0db7dd93b46ddff7ab7d6a654dd4f903e130ddb6361eac3af5
3
+ size 17477473
tokenizer_config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_eos_token": false,
4
+ "added_tokens_decoder": {
5
+ "0": {
6
+ "content": "<pad>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "1": {
14
+ "content": "<eos>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "2": {
22
+ "content": "<bos>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "3": {
30
+ "content": "<unk>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "106": {
38
+ "content": "<|im_start|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "107": {
46
+ "content": "<|im_end|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ }
53
+ },
54
+ "additional_special_tokens": [
55
+ "<|im_start|>",
56
+ "<|im_end|>"
57
+ ],
58
+ "bos_token": "<bos>",
59
+ "chat_template": "{% if messages[0]['role'] == 'user' or messages[0]['role'] == 'system' %}{{ bos_token }}{% endif %}{% for message in messages %}{{ '<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n' }}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% elif messages[-1]['role'] == 'assistant' %}{{ eos_token }}{% endif %}",
60
+ "clean_up_tokenization_spaces": false,
61
+ "eos_token": "<eos>",
62
+ "legacy": null,
63
+ "model_max_length": 1000000000000000019884624838656,
64
+ "pad_token": "<pad>",
65
+ "sp_model_kwargs": {},
66
+ "spaces_between_special_tokens": false,
67
+ "tokenizer_class": "GemmaTokenizer",
68
+ "unk_token": "<unk>",
69
+ "use_default_system_prompt": false
70
+ }