Natch69 commited on
Commit
72d8c46
1 Parent(s): f0f8dc9

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ 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
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - merge
5
+ - mergekit
6
+ - lazymergekit
7
+ - unsloth/gemma-2b-bnb-4bit
8
+ - TinyLlama/TinyLlama-1.1B-Chat-v1.0
9
+ ---
10
+
11
+ # Gemma-TinyLLama-Passthrough
12
+
13
+ Gemma-TinyLLama-Passthrough is a merge of the following models using [mergekit](https://github.com/cg123/mergekit):
14
+ * [unsloth/gemma-2b-bnb-4bit](https://huggingface.co/unsloth/gemma-2b-bnb-4bit)
15
+ * [TinyLlama/TinyLlama-1.1B-Chat-v1.0](https://huggingface.co/TinyLlama/TinyLlama-1.1B-Chat-v1.0)
16
+
17
+ ## 🧩 Configuration
18
+
19
+ \```yaml
20
+ # models:
21
+ # - model: unsloth/gemma-7b-bnb-4bit
22
+ # layer_range: [0, 32]
23
+ # # no parameters necessary for base model
24
+ # - model: mistralai/Mistral-7B-v0.1
25
+ # layer_range: [24, 32]
26
+ # merge_method: passthrough
27
+ # # base_model: unsloth/gemma-7b-bnb-4bit
28
+ # parameters:
29
+ # normalize: true
30
+ # int8_mask: true
31
+ # dtype: float16
32
+ slices:
33
+ - sources:
34
+ - model: unsloth/gemma-2b-bnb-4bit
35
+ layer_range: [0, 16]
36
+ - sources:
37
+ - model: TinyLlama/TinyLlama-1.1B-Chat-v1.0
38
+ layer_range: [6, 22]
39
+ merge_method: passthrough
40
+ dtype: bfloat16
41
+ # models:
42
+ # - model: unsloth/gemma-2b-bnb-4bit
43
+ # parameters:
44
+ # density: 0.53
45
+ # weight: 0.45
46
+ # - model: TinyLlama/TinyLlama-1.1B-Chat-v1.0
47
+ # parameters:
48
+ # weight: 0.5
49
+ # merge_method: ties
50
+ # base_model: unsloth/gemma-2b-bnb-4bit
51
+ # parameters:
52
+ # int8_mask: true
53
+ # dtype: bfloat16
54
+ \```
config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "unsloth/gemma-2b-bnb-4bit",
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": 32,
19
+ "num_key_value_heads": 1,
20
+ "pad_token_id": 0,
21
+ "quantization_config": {
22
+ "_load_in_4bit": true,
23
+ "_load_in_8bit": false,
24
+ "bnb_4bit_compute_dtype": "bfloat16",
25
+ "bnb_4bit_quant_type": "nf4",
26
+ "bnb_4bit_use_double_quant": true,
27
+ "llm_int8_enable_fp32_cpu_offload": false,
28
+ "llm_int8_has_fp16_weight": false,
29
+ "llm_int8_skip_modules": null,
30
+ "llm_int8_threshold": 6.0,
31
+ "load_in_4bit": true,
32
+ "load_in_8bit": false,
33
+ "quant_method": "bitsandbytes"
34
+ },
35
+ "rms_norm_eps": 1e-06,
36
+ "rope_scaling": null,
37
+ "rope_theta": 10000.0,
38
+ "torch_dtype": "bfloat16",
39
+ "transformers_version": "4.38.2",
40
+ "use_cache": true,
41
+ "vocab_size": 256000
42
+ }
mergekit_config.yml ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ # models:
3
+ # - model: unsloth/gemma-7b-bnb-4bit
4
+ # layer_range: [0, 32]
5
+ # # no parameters necessary for base model
6
+ # - model: mistralai/Mistral-7B-v0.1
7
+ # layer_range: [24, 32]
8
+ # merge_method: passthrough
9
+ # # base_model: unsloth/gemma-7b-bnb-4bit
10
+ # parameters:
11
+ # normalize: true
12
+ # int8_mask: true
13
+ # dtype: float16
14
+ slices:
15
+ - sources:
16
+ - model: unsloth/gemma-2b-bnb-4bit
17
+ layer_range: [0, 16]
18
+ - sources:
19
+ - model: TinyLlama/TinyLlama-1.1B-Chat-v1.0
20
+ layer_range: [6, 22]
21
+ merge_method: passthrough
22
+ dtype: bfloat16
23
+ # models:
24
+ # - model: unsloth/gemma-2b-bnb-4bit
25
+ # parameters:
26
+ # density: 0.53
27
+ # weight: 0.45
28
+ # - model: TinyLlama/TinyLlama-1.1B-Chat-v1.0
29
+ # parameters:
30
+ # weight: 0.5
31
+ # merge_method: ties
32
+ # base_model: unsloth/gemma-2b-bnb-4bit
33
+ # parameters:
34
+ # int8_mask: true
35
+ # dtype: bfloat16
model-00001-of-00003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:67d09e774e277a84210be1f5636712a0e729e961034a225886e0784394795d26
3
+ size 1993541152
model-00002-of-00003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:87520a9287547ad16392c5fa9c71aab20cb45f0ac9e5609856bd60ab584476c5
3
+ size 1177652152
model-00003-of-00003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:926089f30481e7b2733d372564bd32d4afe7a646ffc1202b72a22480aee22cac
3
+ size 1048576144
model.safetensors.index.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"metadata": {"mergekit_version": "0.0.4.2", "total_size": 4219736064}, "weight_map": {"model.norm.weight": "model-00001-of-00003.safetensors", "model.layers.31.mlp.down_proj.weight": "model-00001-of-00003.safetensors", "model.layers.31.mlp.gate_proj.weight": "model-00001-of-00003.safetensors", "model.layers.31.mlp.up_proj.weight": "model-00001-of-00003.safetensors", "model.layers.31.post_attention_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.31.self_attn.o_proj.weight": "model-00001-of-00003.safetensors", "model.layers.31.self_attn.v_proj.weight": "model-00001-of-00003.safetensors", "model.layers.31.self_attn.k_proj.weight": "model-00001-of-00003.safetensors", "model.layers.31.self_attn.q_proj.weight": "model-00001-of-00003.safetensors", "model.layers.31.input_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.30.mlp.down_proj.weight": "model-00001-of-00003.safetensors", "model.layers.30.mlp.gate_proj.weight": "model-00001-of-00003.safetensors", "model.layers.30.mlp.up_proj.weight": "model-00001-of-00003.safetensors", "model.layers.30.post_attention_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.30.self_attn.o_proj.weight": "model-00001-of-00003.safetensors", "model.layers.30.self_attn.v_proj.weight": "model-00001-of-00003.safetensors", "model.layers.30.self_attn.k_proj.weight": "model-00001-of-00003.safetensors", "model.layers.30.self_attn.q_proj.weight": "model-00001-of-00003.safetensors", "model.layers.30.input_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.29.mlp.down_proj.weight": "model-00001-of-00003.safetensors", "model.layers.29.mlp.gate_proj.weight": "model-00001-of-00003.safetensors", "model.layers.29.mlp.up_proj.weight": "model-00001-of-00003.safetensors", "model.layers.29.post_attention_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.29.self_attn.o_proj.weight": "model-00001-of-00003.safetensors", "model.layers.29.self_attn.v_proj.weight": "model-00001-of-00003.safetensors", "model.layers.29.self_attn.k_proj.weight": "model-00001-of-00003.safetensors", "model.layers.29.self_attn.q_proj.weight": "model-00001-of-00003.safetensors", "model.layers.29.input_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.28.mlp.down_proj.weight": "model-00001-of-00003.safetensors", "model.layers.28.mlp.gate_proj.weight": "model-00001-of-00003.safetensors", "model.layers.28.mlp.up_proj.weight": "model-00001-of-00003.safetensors", "model.layers.28.post_attention_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.28.self_attn.o_proj.weight": "model-00001-of-00003.safetensors", "model.layers.28.self_attn.v_proj.weight": "model-00001-of-00003.safetensors", "model.layers.28.self_attn.k_proj.weight": "model-00001-of-00003.safetensors", "model.layers.28.self_attn.q_proj.weight": "model-00001-of-00003.safetensors", "model.layers.28.input_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.27.mlp.down_proj.weight": "model-00001-of-00003.safetensors", "model.layers.27.mlp.gate_proj.weight": "model-00001-of-00003.safetensors", "model.layers.27.mlp.up_proj.weight": "model-00001-of-00003.safetensors", "model.layers.27.post_attention_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.27.self_attn.o_proj.weight": "model-00001-of-00003.safetensors", "model.layers.27.self_attn.v_proj.weight": "model-00001-of-00003.safetensors", "model.layers.27.self_attn.k_proj.weight": "model-00001-of-00003.safetensors", "model.layers.27.self_attn.q_proj.weight": "model-00001-of-00003.safetensors", "model.layers.27.input_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.26.mlp.down_proj.weight": "model-00001-of-00003.safetensors", "model.layers.26.mlp.gate_proj.weight": "model-00001-of-00003.safetensors", "model.layers.26.mlp.up_proj.weight": "model-00001-of-00003.safetensors", "model.layers.26.post_attention_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.26.self_attn.o_proj.weight": "model-00001-of-00003.safetensors", "model.layers.26.self_attn.v_proj.weight": "model-00001-of-00003.safetensors", "model.layers.26.self_attn.k_proj.weight": "model-00001-of-00003.safetensors", "model.layers.26.self_attn.q_proj.weight": "model-00001-of-00003.safetensors", "model.layers.26.input_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.25.mlp.down_proj.weight": "model-00001-of-00003.safetensors", "model.layers.25.mlp.gate_proj.weight": "model-00001-of-00003.safetensors", "model.layers.25.mlp.up_proj.weight": "model-00001-of-00003.safetensors", "model.layers.25.post_attention_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.25.self_attn.o_proj.weight": "model-00001-of-00003.safetensors", "model.layers.25.self_attn.v_proj.weight": "model-00001-of-00003.safetensors", "model.layers.25.self_attn.k_proj.weight": "model-00001-of-00003.safetensors", "model.layers.25.self_attn.q_proj.weight": "model-00001-of-00003.safetensors", "model.layers.25.input_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.24.mlp.down_proj.weight": "model-00001-of-00003.safetensors", "model.layers.24.mlp.gate_proj.weight": "model-00001-of-00003.safetensors", "model.layers.24.mlp.up_proj.weight": "model-00001-of-00003.safetensors", "model.layers.24.post_attention_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.24.self_attn.o_proj.weight": "model-00001-of-00003.safetensors", "model.layers.24.self_attn.v_proj.weight": "model-00001-of-00003.safetensors", "model.layers.24.self_attn.k_proj.weight": "model-00001-of-00003.safetensors", "model.layers.24.self_attn.q_proj.weight": "model-00001-of-00003.safetensors", "model.layers.24.input_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.23.mlp.down_proj.weight": "model-00001-of-00003.safetensors", "model.layers.23.mlp.gate_proj.weight": "model-00001-of-00003.safetensors", "model.layers.23.mlp.up_proj.weight": "model-00001-of-00003.safetensors", "model.layers.23.post_attention_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.23.self_attn.o_proj.weight": "model-00001-of-00003.safetensors", "model.layers.23.self_attn.v_proj.weight": "model-00001-of-00003.safetensors", "model.layers.23.self_attn.k_proj.weight": "model-00001-of-00003.safetensors", "model.layers.23.self_attn.q_proj.weight": "model-00001-of-00003.safetensors", "model.layers.23.input_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.22.mlp.down_proj.weight": "model-00001-of-00003.safetensors", "model.layers.22.mlp.gate_proj.weight": "model-00001-of-00003.safetensors", "model.layers.22.mlp.up_proj.weight": "model-00001-of-00003.safetensors", "model.layers.22.post_attention_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.22.self_attn.o_proj.weight": "model-00001-of-00003.safetensors", "model.layers.22.self_attn.v_proj.weight": "model-00001-of-00003.safetensors", "model.layers.22.self_attn.k_proj.weight": "model-00001-of-00003.safetensors", "model.layers.22.self_attn.q_proj.weight": "model-00001-of-00003.safetensors", "model.layers.22.input_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.21.mlp.down_proj.weight": "model-00001-of-00003.safetensors", "model.layers.21.mlp.gate_proj.weight": "model-00001-of-00003.safetensors", "model.layers.21.mlp.up_proj.weight": "model-00001-of-00003.safetensors", "model.layers.21.post_attention_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.21.self_attn.o_proj.weight": "model-00001-of-00003.safetensors", "model.layers.21.self_attn.v_proj.weight": "model-00001-of-00003.safetensors", "model.layers.21.self_attn.k_proj.weight": "model-00001-of-00003.safetensors", "model.layers.21.self_attn.q_proj.weight": "model-00001-of-00003.safetensors", "model.layers.21.input_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.20.mlp.down_proj.weight": "model-00001-of-00003.safetensors", "model.layers.20.mlp.gate_proj.weight": "model-00001-of-00003.safetensors", "model.layers.20.mlp.up_proj.weight": "model-00001-of-00003.safetensors", "model.layers.20.post_attention_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.20.self_attn.o_proj.weight": "model-00001-of-00003.safetensors", "model.layers.20.self_attn.v_proj.weight": "model-00001-of-00003.safetensors", "model.layers.20.self_attn.k_proj.weight": "model-00001-of-00003.safetensors", "model.layers.20.self_attn.q_proj.weight": "model-00001-of-00003.safetensors", "model.layers.20.input_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.19.mlp.down_proj.weight": "model-00001-of-00003.safetensors", "model.layers.19.mlp.gate_proj.weight": "model-00001-of-00003.safetensors", "model.layers.19.mlp.up_proj.weight": "model-00001-of-00003.safetensors", "model.layers.19.post_attention_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.19.self_attn.o_proj.weight": "model-00001-of-00003.safetensors", "model.layers.19.self_attn.v_proj.weight": "model-00001-of-00003.safetensors", "model.layers.19.self_attn.k_proj.weight": "model-00001-of-00003.safetensors", "model.layers.19.self_attn.q_proj.weight": "model-00001-of-00003.safetensors", "model.layers.19.input_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.18.mlp.down_proj.weight": "model-00001-of-00003.safetensors", "model.layers.18.mlp.gate_proj.weight": "model-00001-of-00003.safetensors", "model.layers.18.mlp.up_proj.weight": "model-00001-of-00003.safetensors", "model.layers.18.post_attention_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.18.self_attn.o_proj.weight": "model-00001-of-00003.safetensors", "model.layers.18.self_attn.v_proj.weight": "model-00001-of-00003.safetensors", "model.layers.18.self_attn.k_proj.weight": "model-00001-of-00003.safetensors", "model.layers.18.self_attn.q_proj.weight": "model-00001-of-00003.safetensors", "model.layers.18.input_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.17.mlp.down_proj.weight": "model-00001-of-00003.safetensors", "model.layers.17.mlp.gate_proj.weight": "model-00001-of-00003.safetensors", "model.layers.17.mlp.up_proj.weight": "model-00001-of-00003.safetensors", "model.layers.17.post_attention_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.17.self_attn.o_proj.weight": "model-00001-of-00003.safetensors", "model.layers.17.self_attn.v_proj.weight": "model-00001-of-00003.safetensors", "model.layers.17.self_attn.k_proj.weight": "model-00001-of-00003.safetensors", "model.layers.17.self_attn.q_proj.weight": "model-00001-of-00003.safetensors", "model.layers.17.input_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.16.mlp.down_proj.weight": "model-00001-of-00003.safetensors", "model.layers.16.mlp.gate_proj.weight": "model-00001-of-00003.safetensors", "model.layers.16.mlp.up_proj.weight": "model-00001-of-00003.safetensors", "model.layers.16.post_attention_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.16.self_attn.o_proj.weight": "model-00001-of-00003.safetensors", "model.layers.16.self_attn.v_proj.weight": "model-00001-of-00003.safetensors", "model.layers.16.self_attn.k_proj.weight": "model-00001-of-00003.safetensors", "model.layers.16.self_attn.q_proj.weight": "model-00001-of-00003.safetensors", "model.layers.16.input_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.15.mlp.down_proj.weight": "model-00001-of-00003.safetensors", "model.layers.15.mlp.gate_proj.weight": "model-00001-of-00003.safetensors", "model.layers.15.mlp.up_proj.weight": "model-00001-of-00003.safetensors", "model.layers.15.post_attention_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.15.self_attn.o_proj.weight": "model-00001-of-00003.safetensors", "model.layers.15.self_attn.v_proj.weight": "model-00001-of-00003.safetensors", "model.layers.15.self_attn.k_proj.weight": "model-00001-of-00003.safetensors", "model.layers.15.self_attn.q_proj.weight": "model-00001-of-00003.safetensors", "model.layers.15.input_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.14.mlp.down_proj.weight": "model-00001-of-00003.safetensors", "model.layers.14.mlp.gate_proj.weight": "model-00001-of-00003.safetensors", "model.layers.14.mlp.up_proj.weight": "model-00001-of-00003.safetensors", "model.layers.14.post_attention_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.14.self_attn.o_proj.weight": "model-00001-of-00003.safetensors", "model.layers.14.self_attn.v_proj.weight": "model-00001-of-00003.safetensors", "model.layers.14.self_attn.k_proj.weight": "model-00001-of-00003.safetensors", "model.layers.14.self_attn.q_proj.weight": "model-00001-of-00003.safetensors", "model.layers.14.input_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.13.mlp.down_proj.weight": "model-00001-of-00003.safetensors", "model.layers.13.mlp.gate_proj.weight": "model-00001-of-00003.safetensors", "model.layers.13.mlp.up_proj.weight": "model-00001-of-00003.safetensors", "model.layers.13.post_attention_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.13.self_attn.o_proj.weight": "model-00001-of-00003.safetensors", "model.layers.13.self_attn.v_proj.weight": "model-00001-of-00003.safetensors", "model.layers.13.self_attn.k_proj.weight": "model-00001-of-00003.safetensors", "model.layers.13.self_attn.q_proj.weight": "model-00001-of-00003.safetensors", "model.layers.13.input_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.12.mlp.down_proj.weight": "model-00001-of-00003.safetensors", "model.layers.12.mlp.gate_proj.weight": "model-00001-of-00003.safetensors", "model.layers.12.mlp.up_proj.weight": "model-00001-of-00003.safetensors", "model.layers.12.post_attention_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.12.self_attn.o_proj.weight": "model-00001-of-00003.safetensors", "model.layers.12.self_attn.v_proj.weight": "model-00001-of-00003.safetensors", "model.layers.12.self_attn.k_proj.weight": "model-00001-of-00003.safetensors", "model.layers.12.self_attn.q_proj.weight": "model-00001-of-00003.safetensors", "model.layers.12.input_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.11.mlp.down_proj.weight": "model-00001-of-00003.safetensors", "model.layers.11.mlp.gate_proj.weight": "model-00001-of-00003.safetensors", "model.layers.11.mlp.up_proj.weight": "model-00001-of-00003.safetensors", "model.layers.11.post_attention_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.11.self_attn.o_proj.weight": "model-00001-of-00003.safetensors", "model.layers.11.self_attn.v_proj.weight": "model-00001-of-00003.safetensors", "model.layers.11.self_attn.k_proj.weight": "model-00001-of-00003.safetensors", "model.layers.11.self_attn.q_proj.weight": "model-00001-of-00003.safetensors", "model.layers.11.input_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.10.mlp.down_proj.weight": "model-00001-of-00003.safetensors", "model.layers.10.mlp.gate_proj.weight": "model-00002-of-00003.safetensors", "model.layers.10.mlp.up_proj.weight": "model-00002-of-00003.safetensors", "model.layers.10.post_attention_layernorm.weight": "model-00002-of-00003.safetensors", "model.layers.10.self_attn.o_proj.weight": "model-00002-of-00003.safetensors", "model.layers.10.self_attn.v_proj.weight": "model-00002-of-00003.safetensors", "model.layers.10.self_attn.k_proj.weight": "model-00002-of-00003.safetensors", "model.layers.10.self_attn.q_proj.weight": "model-00002-of-00003.safetensors", "model.layers.10.input_layernorm.weight": "model-00002-of-00003.safetensors", "model.layers.9.mlp.down_proj.weight": "model-00002-of-00003.safetensors", "model.layers.9.mlp.gate_proj.weight": "model-00002-of-00003.safetensors", "model.layers.9.mlp.up_proj.weight": "model-00002-of-00003.safetensors", "model.layers.9.post_attention_layernorm.weight": "model-00002-of-00003.safetensors", "model.layers.9.self_attn.o_proj.weight": "model-00002-of-00003.safetensors", "model.layers.9.self_attn.v_proj.weight": "model-00002-of-00003.safetensors", "model.layers.9.self_attn.k_proj.weight": "model-00002-of-00003.safetensors", "model.layers.9.self_attn.q_proj.weight": "model-00002-of-00003.safetensors", "model.layers.9.input_layernorm.weight": "model-00002-of-00003.safetensors", "model.layers.8.mlp.down_proj.weight": "model-00002-of-00003.safetensors", "model.layers.8.mlp.gate_proj.weight": "model-00002-of-00003.safetensors", "model.layers.8.mlp.up_proj.weight": "model-00002-of-00003.safetensors", "model.layers.8.post_attention_layernorm.weight": "model-00002-of-00003.safetensors", "model.layers.8.self_attn.o_proj.weight": "model-00002-of-00003.safetensors", "model.layers.8.self_attn.v_proj.weight": "model-00002-of-00003.safetensors", "model.layers.8.self_attn.k_proj.weight": "model-00002-of-00003.safetensors", "model.layers.8.self_attn.q_proj.weight": "model-00002-of-00003.safetensors", "model.layers.8.input_layernorm.weight": "model-00002-of-00003.safetensors", "model.layers.7.mlp.down_proj.weight": "model-00002-of-00003.safetensors", "model.layers.7.mlp.gate_proj.weight": "model-00002-of-00003.safetensors", "model.layers.7.mlp.up_proj.weight": "model-00002-of-00003.safetensors", "model.layers.7.post_attention_layernorm.weight": "model-00002-of-00003.safetensors", "model.layers.7.self_attn.o_proj.weight": "model-00002-of-00003.safetensors", "model.layers.7.self_attn.v_proj.weight": "model-00002-of-00003.safetensors", "model.layers.7.self_attn.k_proj.weight": "model-00002-of-00003.safetensors", "model.layers.7.self_attn.q_proj.weight": "model-00002-of-00003.safetensors", "model.layers.7.input_layernorm.weight": "model-00002-of-00003.safetensors", "model.layers.6.mlp.down_proj.weight": "model-00002-of-00003.safetensors", "model.layers.6.mlp.gate_proj.weight": "model-00002-of-00003.safetensors", "model.layers.6.mlp.up_proj.weight": "model-00002-of-00003.safetensors", "model.layers.6.post_attention_layernorm.weight": "model-00002-of-00003.safetensors", "model.layers.6.self_attn.o_proj.weight": "model-00002-of-00003.safetensors", "model.layers.6.self_attn.v_proj.weight": "model-00002-of-00003.safetensors", "model.layers.6.self_attn.k_proj.weight": "model-00002-of-00003.safetensors", "model.layers.6.self_attn.q_proj.weight": "model-00002-of-00003.safetensors", "model.layers.6.input_layernorm.weight": "model-00002-of-00003.safetensors", "model.layers.5.mlp.down_proj.weight": "model-00002-of-00003.safetensors", "model.layers.5.mlp.gate_proj.weight": "model-00002-of-00003.safetensors", "model.layers.5.mlp.up_proj.weight": "model-00002-of-00003.safetensors", "model.layers.5.post_attention_layernorm.weight": "model-00002-of-00003.safetensors", "model.layers.5.self_attn.o_proj.weight": "model-00002-of-00003.safetensors", "model.layers.5.self_attn.v_proj.weight": "model-00002-of-00003.safetensors", "model.layers.5.self_attn.k_proj.weight": "model-00002-of-00003.safetensors", "model.layers.5.self_attn.q_proj.weight": "model-00002-of-00003.safetensors", "model.layers.5.input_layernorm.weight": "model-00002-of-00003.safetensors", "model.layers.4.mlp.down_proj.weight": "model-00002-of-00003.safetensors", "model.layers.4.mlp.gate_proj.weight": "model-00002-of-00003.safetensors", "model.layers.4.mlp.up_proj.weight": "model-00002-of-00003.safetensors", "model.layers.4.post_attention_layernorm.weight": "model-00002-of-00003.safetensors", "model.layers.4.self_attn.o_proj.weight": "model-00002-of-00003.safetensors", "model.layers.4.self_attn.v_proj.weight": "model-00002-of-00003.safetensors", "model.layers.4.self_attn.k_proj.weight": "model-00002-of-00003.safetensors", "model.layers.4.self_attn.q_proj.weight": "model-00002-of-00003.safetensors", "model.layers.4.input_layernorm.weight": "model-00002-of-00003.safetensors", "model.layers.3.mlp.down_proj.weight": "model-00002-of-00003.safetensors", "model.layers.3.mlp.gate_proj.weight": "model-00002-of-00003.safetensors", "model.layers.3.mlp.up_proj.weight": "model-00002-of-00003.safetensors", "model.layers.3.post_attention_layernorm.weight": "model-00002-of-00003.safetensors", "model.layers.3.self_attn.o_proj.weight": "model-00002-of-00003.safetensors", "model.layers.3.self_attn.v_proj.weight": "model-00002-of-00003.safetensors", "model.layers.3.self_attn.k_proj.weight": "model-00002-of-00003.safetensors", "model.layers.3.self_attn.q_proj.weight": "model-00002-of-00003.safetensors", "model.layers.3.input_layernorm.weight": "model-00002-of-00003.safetensors", "model.layers.2.mlp.down_proj.weight": "model-00002-of-00003.safetensors", "model.layers.2.mlp.gate_proj.weight": "model-00002-of-00003.safetensors", "model.layers.2.mlp.up_proj.weight": "model-00002-of-00003.safetensors", "model.layers.2.post_attention_layernorm.weight": "model-00002-of-00003.safetensors", "model.layers.2.self_attn.o_proj.weight": "model-00002-of-00003.safetensors", "model.layers.2.self_attn.v_proj.weight": "model-00002-of-00003.safetensors", "model.layers.2.self_attn.k_proj.weight": "model-00002-of-00003.safetensors", "model.layers.2.self_attn.q_proj.weight": "model-00002-of-00003.safetensors", "model.layers.2.input_layernorm.weight": "model-00002-of-00003.safetensors", "model.layers.1.mlp.down_proj.weight": "model-00002-of-00003.safetensors", "model.layers.1.mlp.gate_proj.weight": "model-00002-of-00003.safetensors", "model.layers.1.mlp.up_proj.weight": "model-00002-of-00003.safetensors", "model.layers.1.post_attention_layernorm.weight": "model-00002-of-00003.safetensors", "model.layers.1.self_attn.o_proj.weight": "model-00002-of-00003.safetensors", "model.layers.1.self_attn.v_proj.weight": "model-00002-of-00003.safetensors", "model.layers.1.self_attn.k_proj.weight": "model-00002-of-00003.safetensors", "model.layers.1.self_attn.q_proj.weight": "model-00002-of-00003.safetensors", "model.layers.1.input_layernorm.weight": "model-00002-of-00003.safetensors", "model.layers.0.mlp.down_proj.weight": "model-00002-of-00003.safetensors", "model.layers.0.mlp.gate_proj.weight": "model-00002-of-00003.safetensors", "model.layers.0.mlp.up_proj.weight": "model-00002-of-00003.safetensors", "model.layers.0.post_attention_layernorm.weight": "model-00002-of-00003.safetensors", "model.layers.0.self_attn.o_proj.weight": "model-00002-of-00003.safetensors", "model.layers.0.self_attn.v_proj.weight": "model-00002-of-00003.safetensors", "model.layers.0.self_attn.k_proj.weight": "model-00002-of-00003.safetensors", "model.layers.0.self_attn.q_proj.weight": "model-00002-of-00003.safetensors", "model.layers.0.input_layernorm.weight": "model-00002-of-00003.safetensors", "model.embed_tokens.weight": "model-00003-of-00003.safetensors"}}
special_tokens_map.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<start_of_turn>",
4
+ "<end_of_turn>"
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:05e97791a5e007260de1db7e1692e53150e08cea481e2bf25435553380c147ee
3
+ size 17477929
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:61a7b147390c64585d6c3543dd6fc636906c9af3865a5548f27f31aee1d4c8e2
3
+ size 4241003
tokenizer_config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
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": "<start_of_turn>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "107": {
46
+ "content": "<end_of_turn>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ }
53
+ },
54
+ "additional_special_tokens": [
55
+ "<start_of_turn>",
56
+ "<end_of_turn>"
57
+ ],
58
+ "bos_token": "<bos>",
59
+ "chat_template": "{{ bos_token }}{% if messages[0]['role'] == 'system' %}{{ raise_exception('System role not supported') }}{% endif %}{% for message in messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if (message['role'] == 'assistant') %}{% set role = 'model' %}{% else %}{% set role = message['role'] %}{% endif %}{{ '<start_of_turn>' + role + '\n' + message['content'] | trim + '<end_of_turn>\n' }}{% endfor %}{% if add_generation_prompt %}{{'<start_of_turn>model\n'}}{% 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
+ }