Menouar commited on
Commit
d6e530e
1 Parent(s): 1fe1a3e

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ checkpoint-6384/tokenizer.json filter=lfs diff=lfs merge=lfs -text
37
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,306 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ base_model: google/gemma-2b
13
+ widget:
14
+ - example_title: Pirate!
15
+ messages:
16
+ - role: system
17
+ content: You are a pirate chatbot who always responds with Arr!
18
+ - role: user
19
+ content: "There's a llama on my lawn, how can I get rid of him?"
20
+ output:
21
+ text: >-
22
+ Arr! 'Tis a puzzlin' matter, me hearty! A llama on yer lawn be a rare
23
+ sight, but I've got a plan that might help ye get rid of 'im. Ye'll need
24
+ to gather some carrots and hay, and then lure the llama away with the
25
+ promise of a tasty treat. Once he's gone, ye can clean up yer lawn and
26
+ enjoy the peace and quiet once again. But beware, me hearty, for there
27
+ may be more llamas where that one came from! Arr!
28
+ model-index:
29
+ - name: gemma-2b-chat
30
+ results: []
31
+ datasets:
32
+ - HuggingFaceH4/deita-10k-v0-sft
33
+ language:
34
+ - en
35
+ pipeline_tag: text-generation
36
+ ---
37
+
38
+ # Model Card for gemma-2b-chat:
39
+
40
+ **gemma-2b-chat** is a language model that is trained to act as helpful 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 [
41
+ HuggingFaceH4/deita-10k-v0-sft](https://huggingface.co/datasets/HuggingFaceH4/deita-10k-v0-sft).
42
+
43
+ ## Training Procedure:
44
+
45
+ The training code used to create this model was generated by [Menouar/LLM-FineTuning-Notebook-Generator](https://huggingface.co/spaces/Menouar/LLM-FineTuning-Notebook-Generator).
46
+
47
+
48
+
49
+ ## Training hyperparameters
50
+
51
+ The following hyperparameters were used during the training:
52
+
53
+
54
+ - output_dir: temp_gemma-2b-chat
55
+
56
+ - overwrite_output_dir: True
57
+
58
+ - do_train: False
59
+
60
+ - do_eval: False
61
+
62
+ - do_predict: False
63
+
64
+ - evaluation_strategy: no
65
+
66
+ - prediction_loss_only: False
67
+
68
+ - per_device_train_batch_size: 3
69
+
70
+ - per_device_eval_batch_size: 8
71
+
72
+ - per_gpu_train_batch_size: None
73
+
74
+ - per_gpu_eval_batch_size: None
75
+
76
+ - gradient_accumulation_steps: 2
77
+
78
+ - eval_accumulation_steps: None
79
+
80
+ - eval_delay: 0
81
+
82
+ - learning_rate: 2e-05
83
+
84
+ - weight_decay: 0.0
85
+
86
+ - adam_beta1: 0.9
87
+
88
+ - adam_beta2: 0.999
89
+
90
+ - adam_epsilon: 1e-08
91
+
92
+ - max_grad_norm: 0.3
93
+
94
+ - num_train_epochs: 1
95
+
96
+ - max_steps: -1
97
+
98
+ - lr_scheduler_type: cosine
99
+
100
+ - lr_scheduler_kwargs: {}
101
+
102
+ - warmup_ratio: 0.1
103
+
104
+ - warmup_steps: 0
105
+
106
+ - log_level: passive
107
+
108
+ - log_level_replica: warning
109
+
110
+ - log_on_each_node: True
111
+
112
+ - logging_dir: temp_gemma-2b-chat/runs/Mar11_17-14-25_f4965e0005f4
113
+
114
+ - logging_strategy: steps
115
+
116
+ - logging_first_step: False
117
+
118
+ - logging_steps: 10
119
+
120
+ - logging_nan_inf_filter: True
121
+
122
+ - save_strategy: epoch
123
+
124
+ - save_steps: 500
125
+
126
+ - save_total_limit: None
127
+
128
+ - save_safetensors: True
129
+
130
+ - save_on_each_node: False
131
+
132
+ - save_only_model: False
133
+
134
+ - no_cuda: False
135
+
136
+ - use_cpu: False
137
+
138
+ - use_mps_device: False
139
+
140
+ - seed: 42
141
+
142
+ - data_seed: None
143
+
144
+ - jit_mode_eval: False
145
+
146
+ - use_ipex: False
147
+
148
+ - bf16: True
149
+
150
+ - fp16: False
151
+
152
+ - fp16_opt_level: O1
153
+
154
+ - half_precision_backend: auto
155
+
156
+ - bf16_full_eval: False
157
+
158
+ - fp16_full_eval: False
159
+
160
+ - tf32: None
161
+
162
+ - local_rank: 0
163
+
164
+ - ddp_backend: None
165
+
166
+ - tpu_num_cores: None
167
+
168
+ - tpu_metrics_debug: False
169
+
170
+ - debug: []
171
+
172
+ - dataloader_drop_last: False
173
+
174
+ - eval_steps: None
175
+
176
+ - dataloader_num_workers: 0
177
+
178
+ - dataloader_prefetch_factor: None
179
+
180
+ - past_index: -1
181
+
182
+ - run_name: temp_gemma-2b-chat
183
+
184
+ - disable_tqdm: False
185
+
186
+ - remove_unused_columns: True
187
+
188
+ - label_names: None
189
+
190
+ - load_best_model_at_end: False
191
+
192
+ - metric_for_best_model: None
193
+
194
+ - greater_is_better: None
195
+
196
+ - ignore_data_skip: False
197
+
198
+ - fsdp: []
199
+
200
+ - fsdp_min_num_params: 0
201
+
202
+ - fsdp_config: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
203
+
204
+ - fsdp_transformer_layer_cls_to_wrap: None
205
+
206
+ - accelerator_config: AcceleratorConfig(split_batches=False, dispatch_batches=None, even_batches=True, use_seedable_sampler=True)
207
+
208
+ - deepspeed: None
209
+
210
+ - label_smoothing_factor: 0.0
211
+
212
+ - optim: adamw_torch_fused
213
+
214
+ - optim_args: None
215
+
216
+ - adafactor: False
217
+
218
+ - group_by_length: False
219
+
220
+ - length_column_name: length
221
+
222
+ - report_to: ['tensorboard']
223
+
224
+ - ddp_find_unused_parameters: None
225
+
226
+ - ddp_bucket_cap_mb: None
227
+
228
+ - ddp_broadcast_buffers: None
229
+
230
+ - dataloader_pin_memory: True
231
+
232
+ - dataloader_persistent_workers: False
233
+
234
+ - skip_memory_metrics: True
235
+
236
+ - use_legacy_prediction_loop: False
237
+
238
+ - push_to_hub: False
239
+
240
+ - resume_from_checkpoint: None
241
+
242
+ - hub_model_id: None
243
+
244
+ - hub_strategy: every_save
245
+
246
+ - hub_token: None
247
+
248
+ - hub_private_repo: False
249
+
250
+ - hub_always_push: False
251
+
252
+ - gradient_checkpointing: True
253
+
254
+ - gradient_checkpointing_kwargs: {'use_reentrant': False}
255
+
256
+ - include_inputs_for_metrics: False
257
+
258
+ - fp16_backend: auto
259
+
260
+ - push_to_hub_model_id: None
261
+
262
+ - push_to_hub_organization: None
263
+
264
+ - push_to_hub_token: None
265
+
266
+ - mp_parameters:
267
+
268
+ - auto_find_batch_size: False
269
+
270
+ - full_determinism: False
271
+
272
+ - torchdynamo: None
273
+
274
+ - ray_scope: last
275
+
276
+ - ddp_timeout: 1800
277
+
278
+ - torch_compile: False
279
+
280
+ - torch_compile_backend: None
281
+
282
+ - torch_compile_mode: None
283
+
284
+ - dispatch_batches: None
285
+
286
+ - split_batches: None
287
+
288
+ - include_tokens_per_second: False
289
+
290
+ - include_num_input_tokens_seen: False
291
+
292
+ - neftune_noise_alpha: None
293
+
294
+ - distributed_state: Distributed environment: NO
295
+ Num processes: 1
296
+ Process index: 0
297
+ Local process index: 0
298
+ Device: cuda
299
+
300
+
301
+ - _n_gpu: 1
302
+
303
+ - __cached__setup_devices: cuda:0
304
+
305
+ - deepspeed_plugin: None
306
+
checkpoint-6384/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-6384/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
+ "q_proj",
24
+ "down_proj",
25
+ "up_proj",
26
+ "o_proj",
27
+ "v_proj",
28
+ "gate_proj"
29
+ ],
30
+ "task_type": "CAUSAL_LM",
31
+ "use_rslora": false
32
+ }
checkpoint-6384/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9469a6b6a634372e11b2fb66141fc2cc853eeaa4e843c58cc3c356cf0bf8a7bb
3
+ size 14741912
checkpoint-6384/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fecb6625753654faeb47ceea40058ab40499451fb6765019f867d333f3ea28a7
3
+ size 29632634
checkpoint-6384/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4ecccc4fdd121f8b25ccdf35c9afd31376b030dd664379b2ec694557a70fdd37
3
+ size 14244
checkpoint-6384/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:16b40f619461f142d6f0f19e5f110ccb7da3400a8f4065c43d6af14c74aae6f1
3
+ size 1064
checkpoint-6384/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-6384/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:22449cb9ef4bad0db7dd93b46ddff7ab7d6a654dd4f903e130ddb6361eac3af5
3
+ size 17477473
checkpoint-6384/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-6384/trainer_state.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-6384/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dafb6fe3975fd7b97e592aded1fede331dd3c46d8535ae93c49f8ef5ae9a30da
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:afb3b372ada0286822ffc0fd495c35bb576592f4a47f2c211e6c5f3bab4e9e1a
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:e5679371bf4d6342d416ab86ad12d3ed6035c3053ffb81e04c4f698d9c083291
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:59bf5020d7d85f2bf3f746dfa512289f36161f0fe778ee0b0f2bfc36aa32f310
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/Mar11_17-14-25_f4965e0005f4/events.out.tfevents.1710177330.f4965e0005f4.375.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5aaeb7c0d6350067a1dfd656c8f89ae3c2f4b5d384c67ebe07bf2fe333a25277
3
+ size 139979
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
+ }