johannhartmann commited on
Commit
0c1bc02
Β·
verified Β·
1 Parent(s): 27b8d9e

Upload folder using huggingface_hub

Browse files
added_tokens.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</s>": 20001,
3
+ "<s>": 20000,
4
+ "<|end_header_id|>": 20003,
5
+ "<|eom_id|>": 20004,
6
+ "<|eot_id|>": 20005,
7
+ "<|start_header_id|>": 20002
8
+ }
config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "./models/bueble-lm-2b",
3
+ "architectures": [
4
+ "Gemma2ForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "attn_logit_softcapping": 50.0,
9
+ "bos_token_id": 1,
10
+ "cache_implementation": "hybrid",
11
+ "eos_token_id": 2,
12
+ "final_logit_softcapping": 30.0,
13
+ "head_dim": 256,
14
+ "hidden_act": "gelu_pytorch_tanh",
15
+ "hidden_activation": "gelu_pytorch_tanh",
16
+ "hidden_size": 2304,
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 9216,
19
+ "max_position_embeddings": 8192,
20
+ "model_type": "gemma2",
21
+ "num_attention_heads": 8,
22
+ "num_hidden_layers": 26,
23
+ "num_key_value_heads": 4,
24
+ "pad_token_id": 3,
25
+ "query_pre_attn_scalar": 256,
26
+ "rms_norm_eps": 1e-06,
27
+ "rope_theta": 10000.0,
28
+ "sliding_window": 4096,
29
+ "torch_dtype": "bfloat16",
30
+ "transformers_version": "4.46.1",
31
+ "use_cache": true,
32
+ "vocab_size": 20032
33
+ }
generation_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "cache_implementation": "hybrid",
5
+ "eos_token_id": 2,
6
+ "pad_token_id": 3,
7
+ "transformers_version": "4.46.1"
8
+ }
model-00001-of-00003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ad51782a40518730fd9970ccf9c9c2709170d6059c4ce5a728cad970c4305296
3
+ size 1989418512
model-00002-of-00003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:67135bd6c8a4eb112ec85adb854be689560f9a8321c73020ee526919cb6f09cb
3
+ size 1996220256
model-00003-of-00003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d171150a5e34f6f9434a7eb112b03f7eb4259ae81478e7e7ee045ee9e1822aad
3
+ size 248045512
model.safetensors.index.json ADDED
@@ -0,0 +1,296 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "total_size": 4233650688
4
+ },
5
+ "weight_map": {
6
+ "lm_head.weight": "model-00003-of-00003.safetensors",
7
+ "model.embed_tokens.weight": "model-00001-of-00003.safetensors",
8
+ "model.layers.0.input_layernorm.weight": "model-00001-of-00003.safetensors",
9
+ "model.layers.0.mlp.down_proj.weight": "model-00001-of-00003.safetensors",
10
+ "model.layers.0.mlp.gate_proj.weight": "model-00001-of-00003.safetensors",
11
+ "model.layers.0.mlp.up_proj.weight": "model-00001-of-00003.safetensors",
12
+ "model.layers.0.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
13
+ "model.layers.0.post_feedforward_layernorm.weight": "model-00001-of-00003.safetensors",
14
+ "model.layers.0.pre_feedforward_layernorm.weight": "model-00001-of-00003.safetensors",
15
+ "model.layers.0.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
16
+ "model.layers.0.self_attn.o_proj.weight": "model-00001-of-00003.safetensors",
17
+ "model.layers.0.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
18
+ "model.layers.0.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
19
+ "model.layers.1.input_layernorm.weight": "model-00001-of-00003.safetensors",
20
+ "model.layers.1.mlp.down_proj.weight": "model-00001-of-00003.safetensors",
21
+ "model.layers.1.mlp.gate_proj.weight": "model-00001-of-00003.safetensors",
22
+ "model.layers.1.mlp.up_proj.weight": "model-00001-of-00003.safetensors",
23
+ "model.layers.1.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
24
+ "model.layers.1.post_feedforward_layernorm.weight": "model-00001-of-00003.safetensors",
25
+ "model.layers.1.pre_feedforward_layernorm.weight": "model-00001-of-00003.safetensors",
26
+ "model.layers.1.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
27
+ "model.layers.1.self_attn.o_proj.weight": "model-00001-of-00003.safetensors",
28
+ "model.layers.1.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
29
+ "model.layers.1.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
30
+ "model.layers.10.input_layernorm.weight": "model-00001-of-00003.safetensors",
31
+ "model.layers.10.mlp.down_proj.weight": "model-00001-of-00003.safetensors",
32
+ "model.layers.10.mlp.gate_proj.weight": "model-00001-of-00003.safetensors",
33
+ "model.layers.10.mlp.up_proj.weight": "model-00001-of-00003.safetensors",
34
+ "model.layers.10.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
35
+ "model.layers.10.post_feedforward_layernorm.weight": "model-00001-of-00003.safetensors",
36
+ "model.layers.10.pre_feedforward_layernorm.weight": "model-00001-of-00003.safetensors",
37
+ "model.layers.10.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
38
+ "model.layers.10.self_attn.o_proj.weight": "model-00001-of-00003.safetensors",
39
+ "model.layers.10.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
40
+ "model.layers.10.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
41
+ "model.layers.11.input_layernorm.weight": "model-00001-of-00003.safetensors",
42
+ "model.layers.11.mlp.down_proj.weight": "model-00001-of-00003.safetensors",
43
+ "model.layers.11.mlp.gate_proj.weight": "model-00001-of-00003.safetensors",
44
+ "model.layers.11.mlp.up_proj.weight": "model-00001-of-00003.safetensors",
45
+ "model.layers.11.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
46
+ "model.layers.11.post_feedforward_layernorm.weight": "model-00001-of-00003.safetensors",
47
+ "model.layers.11.pre_feedforward_layernorm.weight": "model-00001-of-00003.safetensors",
48
+ "model.layers.11.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
49
+ "model.layers.11.self_attn.o_proj.weight": "model-00001-of-00003.safetensors",
50
+ "model.layers.11.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
51
+ "model.layers.11.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
52
+ "model.layers.12.input_layernorm.weight": "model-00002-of-00003.safetensors",
53
+ "model.layers.12.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
54
+ "model.layers.12.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
55
+ "model.layers.12.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
56
+ "model.layers.12.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
57
+ "model.layers.12.post_feedforward_layernorm.weight": "model-00002-of-00003.safetensors",
58
+ "model.layers.12.pre_feedforward_layernorm.weight": "model-00002-of-00003.safetensors",
59
+ "model.layers.12.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
60
+ "model.layers.12.self_attn.o_proj.weight": "model-00001-of-00003.safetensors",
61
+ "model.layers.12.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
62
+ "model.layers.12.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
63
+ "model.layers.13.input_layernorm.weight": "model-00002-of-00003.safetensors",
64
+ "model.layers.13.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
65
+ "model.layers.13.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
66
+ "model.layers.13.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
67
+ "model.layers.13.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
68
+ "model.layers.13.post_feedforward_layernorm.weight": "model-00002-of-00003.safetensors",
69
+ "model.layers.13.pre_feedforward_layernorm.weight": "model-00002-of-00003.safetensors",
70
+ "model.layers.13.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
71
+ "model.layers.13.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
72
+ "model.layers.13.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
73
+ "model.layers.13.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
74
+ "model.layers.14.input_layernorm.weight": "model-00002-of-00003.safetensors",
75
+ "model.layers.14.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
76
+ "model.layers.14.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
77
+ "model.layers.14.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
78
+ "model.layers.14.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
79
+ "model.layers.14.post_feedforward_layernorm.weight": "model-00002-of-00003.safetensors",
80
+ "model.layers.14.pre_feedforward_layernorm.weight": "model-00002-of-00003.safetensors",
81
+ "model.layers.14.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
82
+ "model.layers.14.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
83
+ "model.layers.14.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
84
+ "model.layers.14.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
85
+ "model.layers.15.input_layernorm.weight": "model-00002-of-00003.safetensors",
86
+ "model.layers.15.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
87
+ "model.layers.15.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
88
+ "model.layers.15.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
89
+ "model.layers.15.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
90
+ "model.layers.15.post_feedforward_layernorm.weight": "model-00002-of-00003.safetensors",
91
+ "model.layers.15.pre_feedforward_layernorm.weight": "model-00002-of-00003.safetensors",
92
+ "model.layers.15.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
93
+ "model.layers.15.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
94
+ "model.layers.15.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
95
+ "model.layers.15.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
96
+ "model.layers.16.input_layernorm.weight": "model-00002-of-00003.safetensors",
97
+ "model.layers.16.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
98
+ "model.layers.16.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
99
+ "model.layers.16.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
100
+ "model.layers.16.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
101
+ "model.layers.16.post_feedforward_layernorm.weight": "model-00002-of-00003.safetensors",
102
+ "model.layers.16.pre_feedforward_layernorm.weight": "model-00002-of-00003.safetensors",
103
+ "model.layers.16.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
104
+ "model.layers.16.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
105
+ "model.layers.16.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
106
+ "model.layers.16.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
107
+ "model.layers.17.input_layernorm.weight": "model-00002-of-00003.safetensors",
108
+ "model.layers.17.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
109
+ "model.layers.17.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
110
+ "model.layers.17.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
111
+ "model.layers.17.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
112
+ "model.layers.17.post_feedforward_layernorm.weight": "model-00002-of-00003.safetensors",
113
+ "model.layers.17.pre_feedforward_layernorm.weight": "model-00002-of-00003.safetensors",
114
+ "model.layers.17.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
115
+ "model.layers.17.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
116
+ "model.layers.17.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
117
+ "model.layers.17.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
118
+ "model.layers.18.input_layernorm.weight": "model-00002-of-00003.safetensors",
119
+ "model.layers.18.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
120
+ "model.layers.18.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
121
+ "model.layers.18.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
122
+ "model.layers.18.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
123
+ "model.layers.18.post_feedforward_layernorm.weight": "model-00002-of-00003.safetensors",
124
+ "model.layers.18.pre_feedforward_layernorm.weight": "model-00002-of-00003.safetensors",
125
+ "model.layers.18.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
126
+ "model.layers.18.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
127
+ "model.layers.18.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
128
+ "model.layers.18.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
129
+ "model.layers.19.input_layernorm.weight": "model-00002-of-00003.safetensors",
130
+ "model.layers.19.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
131
+ "model.layers.19.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
132
+ "model.layers.19.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
133
+ "model.layers.19.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
134
+ "model.layers.19.post_feedforward_layernorm.weight": "model-00002-of-00003.safetensors",
135
+ "model.layers.19.pre_feedforward_layernorm.weight": "model-00002-of-00003.safetensors",
136
+ "model.layers.19.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
137
+ "model.layers.19.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
138
+ "model.layers.19.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
139
+ "model.layers.19.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
140
+ "model.layers.2.input_layernorm.weight": "model-00001-of-00003.safetensors",
141
+ "model.layers.2.mlp.down_proj.weight": "model-00001-of-00003.safetensors",
142
+ "model.layers.2.mlp.gate_proj.weight": "model-00001-of-00003.safetensors",
143
+ "model.layers.2.mlp.up_proj.weight": "model-00001-of-00003.safetensors",
144
+ "model.layers.2.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
145
+ "model.layers.2.post_feedforward_layernorm.weight": "model-00001-of-00003.safetensors",
146
+ "model.layers.2.pre_feedforward_layernorm.weight": "model-00001-of-00003.safetensors",
147
+ "model.layers.2.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
148
+ "model.layers.2.self_attn.o_proj.weight": "model-00001-of-00003.safetensors",
149
+ "model.layers.2.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
150
+ "model.layers.2.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
151
+ "model.layers.20.input_layernorm.weight": "model-00002-of-00003.safetensors",
152
+ "model.layers.20.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
153
+ "model.layers.20.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
154
+ "model.layers.20.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
155
+ "model.layers.20.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
156
+ "model.layers.20.post_feedforward_layernorm.weight": "model-00002-of-00003.safetensors",
157
+ "model.layers.20.pre_feedforward_layernorm.weight": "model-00002-of-00003.safetensors",
158
+ "model.layers.20.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
159
+ "model.layers.20.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
160
+ "model.layers.20.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
161
+ "model.layers.20.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
162
+ "model.layers.21.input_layernorm.weight": "model-00002-of-00003.safetensors",
163
+ "model.layers.21.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
164
+ "model.layers.21.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
165
+ "model.layers.21.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
166
+ "model.layers.21.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
167
+ "model.layers.21.post_feedforward_layernorm.weight": "model-00002-of-00003.safetensors",
168
+ "model.layers.21.pre_feedforward_layernorm.weight": "model-00002-of-00003.safetensors",
169
+ "model.layers.21.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
170
+ "model.layers.21.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
171
+ "model.layers.21.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
172
+ "model.layers.21.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
173
+ "model.layers.22.input_layernorm.weight": "model-00002-of-00003.safetensors",
174
+ "model.layers.22.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
175
+ "model.layers.22.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
176
+ "model.layers.22.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
177
+ "model.layers.22.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
178
+ "model.layers.22.post_feedforward_layernorm.weight": "model-00002-of-00003.safetensors",
179
+ "model.layers.22.pre_feedforward_layernorm.weight": "model-00002-of-00003.safetensors",
180
+ "model.layers.22.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
181
+ "model.layers.22.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
182
+ "model.layers.22.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
183
+ "model.layers.22.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
184
+ "model.layers.23.input_layernorm.weight": "model-00002-of-00003.safetensors",
185
+ "model.layers.23.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
186
+ "model.layers.23.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
187
+ "model.layers.23.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
188
+ "model.layers.23.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
189
+ "model.layers.23.post_feedforward_layernorm.weight": "model-00002-of-00003.safetensors",
190
+ "model.layers.23.pre_feedforward_layernorm.weight": "model-00002-of-00003.safetensors",
191
+ "model.layers.23.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
192
+ "model.layers.23.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
193
+ "model.layers.23.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
194
+ "model.layers.23.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
195
+ "model.layers.24.input_layernorm.weight": "model-00002-of-00003.safetensors",
196
+ "model.layers.24.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
197
+ "model.layers.24.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
198
+ "model.layers.24.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
199
+ "model.layers.24.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
200
+ "model.layers.24.post_feedforward_layernorm.weight": "model-00002-of-00003.safetensors",
201
+ "model.layers.24.pre_feedforward_layernorm.weight": "model-00002-of-00003.safetensors",
202
+ "model.layers.24.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
203
+ "model.layers.24.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
204
+ "model.layers.24.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
205
+ "model.layers.24.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
206
+ "model.layers.25.input_layernorm.weight": "model-00003-of-00003.safetensors",
207
+ "model.layers.25.mlp.down_proj.weight": "model-00003-of-00003.safetensors",
208
+ "model.layers.25.mlp.gate_proj.weight": "model-00003-of-00003.safetensors",
209
+ "model.layers.25.mlp.up_proj.weight": "model-00003-of-00003.safetensors",
210
+ "model.layers.25.post_attention_layernorm.weight": "model-00003-of-00003.safetensors",
211
+ "model.layers.25.post_feedforward_layernorm.weight": "model-00003-of-00003.safetensors",
212
+ "model.layers.25.pre_feedforward_layernorm.weight": "model-00003-of-00003.safetensors",
213
+ "model.layers.25.self_attn.k_proj.weight": "model-00003-of-00003.safetensors",
214
+ "model.layers.25.self_attn.o_proj.weight": "model-00003-of-00003.safetensors",
215
+ "model.layers.25.self_attn.q_proj.weight": "model-00003-of-00003.safetensors",
216
+ "model.layers.25.self_attn.v_proj.weight": "model-00003-of-00003.safetensors",
217
+ "model.layers.3.input_layernorm.weight": "model-00001-of-00003.safetensors",
218
+ "model.layers.3.mlp.down_proj.weight": "model-00001-of-00003.safetensors",
219
+ "model.layers.3.mlp.gate_proj.weight": "model-00001-of-00003.safetensors",
220
+ "model.layers.3.mlp.up_proj.weight": "model-00001-of-00003.safetensors",
221
+ "model.layers.3.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
222
+ "model.layers.3.post_feedforward_layernorm.weight": "model-00001-of-00003.safetensors",
223
+ "model.layers.3.pre_feedforward_layernorm.weight": "model-00001-of-00003.safetensors",
224
+ "model.layers.3.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
225
+ "model.layers.3.self_attn.o_proj.weight": "model-00001-of-00003.safetensors",
226
+ "model.layers.3.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
227
+ "model.layers.3.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
228
+ "model.layers.4.input_layernorm.weight": "model-00001-of-00003.safetensors",
229
+ "model.layers.4.mlp.down_proj.weight": "model-00001-of-00003.safetensors",
230
+ "model.layers.4.mlp.gate_proj.weight": "model-00001-of-00003.safetensors",
231
+ "model.layers.4.mlp.up_proj.weight": "model-00001-of-00003.safetensors",
232
+ "model.layers.4.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
233
+ "model.layers.4.post_feedforward_layernorm.weight": "model-00001-of-00003.safetensors",
234
+ "model.layers.4.pre_feedforward_layernorm.weight": "model-00001-of-00003.safetensors",
235
+ "model.layers.4.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
236
+ "model.layers.4.self_attn.o_proj.weight": "model-00001-of-00003.safetensors",
237
+ "model.layers.4.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
238
+ "model.layers.4.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
239
+ "model.layers.5.input_layernorm.weight": "model-00001-of-00003.safetensors",
240
+ "model.layers.5.mlp.down_proj.weight": "model-00001-of-00003.safetensors",
241
+ "model.layers.5.mlp.gate_proj.weight": "model-00001-of-00003.safetensors",
242
+ "model.layers.5.mlp.up_proj.weight": "model-00001-of-00003.safetensors",
243
+ "model.layers.5.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
244
+ "model.layers.5.post_feedforward_layernorm.weight": "model-00001-of-00003.safetensors",
245
+ "model.layers.5.pre_feedforward_layernorm.weight": "model-00001-of-00003.safetensors",
246
+ "model.layers.5.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
247
+ "model.layers.5.self_attn.o_proj.weight": "model-00001-of-00003.safetensors",
248
+ "model.layers.5.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
249
+ "model.layers.5.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
250
+ "model.layers.6.input_layernorm.weight": "model-00001-of-00003.safetensors",
251
+ "model.layers.6.mlp.down_proj.weight": "model-00001-of-00003.safetensors",
252
+ "model.layers.6.mlp.gate_proj.weight": "model-00001-of-00003.safetensors",
253
+ "model.layers.6.mlp.up_proj.weight": "model-00001-of-00003.safetensors",
254
+ "model.layers.6.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
255
+ "model.layers.6.post_feedforward_layernorm.weight": "model-00001-of-00003.safetensors",
256
+ "model.layers.6.pre_feedforward_layernorm.weight": "model-00001-of-00003.safetensors",
257
+ "model.layers.6.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
258
+ "model.layers.6.self_attn.o_proj.weight": "model-00001-of-00003.safetensors",
259
+ "model.layers.6.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
260
+ "model.layers.6.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
261
+ "model.layers.7.input_layernorm.weight": "model-00001-of-00003.safetensors",
262
+ "model.layers.7.mlp.down_proj.weight": "model-00001-of-00003.safetensors",
263
+ "model.layers.7.mlp.gate_proj.weight": "model-00001-of-00003.safetensors",
264
+ "model.layers.7.mlp.up_proj.weight": "model-00001-of-00003.safetensors",
265
+ "model.layers.7.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
266
+ "model.layers.7.post_feedforward_layernorm.weight": "model-00001-of-00003.safetensors",
267
+ "model.layers.7.pre_feedforward_layernorm.weight": "model-00001-of-00003.safetensors",
268
+ "model.layers.7.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
269
+ "model.layers.7.self_attn.o_proj.weight": "model-00001-of-00003.safetensors",
270
+ "model.layers.7.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
271
+ "model.layers.7.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
272
+ "model.layers.8.input_layernorm.weight": "model-00001-of-00003.safetensors",
273
+ "model.layers.8.mlp.down_proj.weight": "model-00001-of-00003.safetensors",
274
+ "model.layers.8.mlp.gate_proj.weight": "model-00001-of-00003.safetensors",
275
+ "model.layers.8.mlp.up_proj.weight": "model-00001-of-00003.safetensors",
276
+ "model.layers.8.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
277
+ "model.layers.8.post_feedforward_layernorm.weight": "model-00001-of-00003.safetensors",
278
+ "model.layers.8.pre_feedforward_layernorm.weight": "model-00001-of-00003.safetensors",
279
+ "model.layers.8.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
280
+ "model.layers.8.self_attn.o_proj.weight": "model-00001-of-00003.safetensors",
281
+ "model.layers.8.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
282
+ "model.layers.8.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
283
+ "model.layers.9.input_layernorm.weight": "model-00001-of-00003.safetensors",
284
+ "model.layers.9.mlp.down_proj.weight": "model-00001-of-00003.safetensors",
285
+ "model.layers.9.mlp.gate_proj.weight": "model-00001-of-00003.safetensors",
286
+ "model.layers.9.mlp.up_proj.weight": "model-00001-of-00003.safetensors",
287
+ "model.layers.9.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
288
+ "model.layers.9.post_feedforward_layernorm.weight": "model-00001-of-00003.safetensors",
289
+ "model.layers.9.pre_feedforward_layernorm.weight": "model-00001-of-00003.safetensors",
290
+ "model.layers.9.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
291
+ "model.layers.9.self_attn.o_proj.weight": "model-00001-of-00003.safetensors",
292
+ "model.layers.9.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
293
+ "model.layers.9.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
294
+ "model.norm.weight": "model-00003-of-00003.safetensors"
295
+ }
296
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|begin_of_text|>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|eot_id|>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "<|eot_id|>",
17
+ "unk_token": {
18
+ "content": "<unk>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:16e8773affbd03448ffb79173feed1884514012160d3074641ee402dcad4f481
3
+ size 579378
tokenizer_config.json ADDED
@@ -0,0 +1,373 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": true,
4
+ "add_prefix_space": null,
5
+ "added_tokens_decoder": {
6
+ "0": {
7
+ "content": "<unk>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "1": {
15
+ "content": "<|begin_of_text|>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "2": {
23
+ "content": "<|end_of_text|>",
24
+ "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": true
29
+ },
30
+ "3": {
31
+ "content": "<pad>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false,
36
+ "special": true
37
+ },
38
+ "4": {
39
+ "content": "▁▁",
40
+ "lstrip": false,
41
+ "normalized": false,
42
+ "rstrip": false,
43
+ "single_word": false,
44
+ "special": false
45
+ },
46
+ "5": {
47
+ "content": "▁▁▁",
48
+ "lstrip": false,
49
+ "normalized": false,
50
+ "rstrip": false,
51
+ "single_word": false,
52
+ "special": false
53
+ },
54
+ "6": {
55
+ "content": "▁▁▁▁",
56
+ "lstrip": false,
57
+ "normalized": false,
58
+ "rstrip": false,
59
+ "single_word": false,
60
+ "special": false
61
+ },
62
+ "7": {
63
+ "content": "▁▁▁▁▁▁▁▁",
64
+ "lstrip": false,
65
+ "normalized": false,
66
+ "rstrip": false,
67
+ "single_word": false,
68
+ "special": false
69
+ },
70
+ "8": {
71
+ "content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
72
+ "lstrip": false,
73
+ "normalized": false,
74
+ "rstrip": false,
75
+ "single_word": false,
76
+ "special": false
77
+ },
78
+ "9": {
79
+ "content": "--",
80
+ "lstrip": false,
81
+ "normalized": false,
82
+ "rstrip": false,
83
+ "single_word": false,
84
+ "special": false
85
+ },
86
+ "10": {
87
+ "content": "----",
88
+ "lstrip": false,
89
+ "normalized": false,
90
+ "rstrip": false,
91
+ "single_word": false,
92
+ "special": false
93
+ },
94
+ "11": {
95
+ "content": "-----",
96
+ "lstrip": false,
97
+ "normalized": false,
98
+ "rstrip": false,
99
+ "single_word": false,
100
+ "special": false
101
+ },
102
+ "12": {
103
+ "content": "--------",
104
+ "lstrip": false,
105
+ "normalized": false,
106
+ "rstrip": false,
107
+ "single_word": false,
108
+ "special": false
109
+ },
110
+ "13": {
111
+ "content": "----------------",
112
+ "lstrip": false,
113
+ "normalized": false,
114
+ "rstrip": false,
115
+ "single_word": false,
116
+ "special": false
117
+ },
118
+ "14": {
119
+ "content": "++",
120
+ "lstrip": false,
121
+ "normalized": false,
122
+ "rstrip": false,
123
+ "single_word": false,
124
+ "special": false
125
+ },
126
+ "15": {
127
+ "content": "/**",
128
+ "lstrip": false,
129
+ "normalized": false,
130
+ "rstrip": false,
131
+ "single_word": false,
132
+ "special": false
133
+ },
134
+ "16": {
135
+ "content": "***",
136
+ "lstrip": false,
137
+ "normalized": false,
138
+ "rstrip": false,
139
+ "single_word": false,
140
+ "special": false
141
+ },
142
+ "17": {
143
+ "content": "****",
144
+ "lstrip": false,
145
+ "normalized": false,
146
+ "rstrip": false,
147
+ "single_word": false,
148
+ "special": false
149
+ },
150
+ "18": {
151
+ "content": "******",
152
+ "lstrip": false,
153
+ "normalized": false,
154
+ "rstrip": false,
155
+ "single_word": false,
156
+ "special": false
157
+ },
158
+ "19": {
159
+ "content": "********",
160
+ "lstrip": false,
161
+ "normalized": false,
162
+ "rstrip": false,
163
+ "single_word": false,
164
+ "special": false
165
+ },
166
+ "20": {
167
+ "content": "**/",
168
+ "lstrip": false,
169
+ "normalized": false,
170
+ "rstrip": false,
171
+ "single_word": false,
172
+ "special": false
173
+ },
174
+ "21": {
175
+ "content": "##",
176
+ "lstrip": false,
177
+ "normalized": false,
178
+ "rstrip": false,
179
+ "single_word": false,
180
+ "special": false
181
+ },
182
+ "22": {
183
+ "content": "###",
184
+ "lstrip": false,
185
+ "normalized": false,
186
+ "rstrip": false,
187
+ "single_word": false,
188
+ "special": false
189
+ },
190
+ "23": {
191
+ "content": "<|im_start|>",
192
+ "lstrip": false,
193
+ "normalized": false,
194
+ "rstrip": false,
195
+ "single_word": false,
196
+ "special": false
197
+ },
198
+ "24": {
199
+ "content": "<|im_end|>",
200
+ "lstrip": false,
201
+ "normalized": false,
202
+ "rstrip": false,
203
+ "single_word": false,
204
+ "special": false
205
+ },
206
+ "25": {
207
+ "content": "<|system|>",
208
+ "lstrip": false,
209
+ "normalized": false,
210
+ "rstrip": false,
211
+ "single_word": false,
212
+ "special": false
213
+ },
214
+ "26": {
215
+ "content": "<|user|>",
216
+ "lstrip": false,
217
+ "normalized": false,
218
+ "rstrip": false,
219
+ "single_word": false,
220
+ "special": false
221
+ },
222
+ "27": {
223
+ "content": "<|assistant|>",
224
+ "lstrip": false,
225
+ "normalized": false,
226
+ "rstrip": false,
227
+ "single_word": false,
228
+ "special": false
229
+ },
230
+ "28": {
231
+ "content": "▁—",
232
+ "lstrip": false,
233
+ "normalized": false,
234
+ "rstrip": false,
235
+ "single_word": false,
236
+ "special": false
237
+ },
238
+ "29": {
239
+ "content": "β–β€œ",
240
+ "lstrip": false,
241
+ "normalized": false,
242
+ "rstrip": false,
243
+ "single_word": false,
244
+ "special": false
245
+ },
246
+ "30": {
247
+ "content": "β€œ",
248
+ "lstrip": false,
249
+ "normalized": false,
250
+ "rstrip": false,
251
+ "single_word": false,
252
+ "special": false
253
+ },
254
+ "31": {
255
+ "content": "”",
256
+ "lstrip": false,
257
+ "normalized": false,
258
+ "rstrip": false,
259
+ "single_word": false,
260
+ "special": false
261
+ },
262
+ "32": {
263
+ "content": "’",
264
+ "lstrip": false,
265
+ "normalized": false,
266
+ "rstrip": false,
267
+ "single_word": false,
268
+ "special": false
269
+ },
270
+ "33": {
271
+ "content": "β€”",
272
+ "lstrip": false,
273
+ "normalized": false,
274
+ "rstrip": false,
275
+ "single_word": false,
276
+ "special": false
277
+ },
278
+ "34": {
279
+ "content": "{",
280
+ "lstrip": false,
281
+ "normalized": false,
282
+ "rstrip": false,
283
+ "single_word": false,
284
+ "special": false
285
+ },
286
+ "35": {
287
+ "content": "}\"",
288
+ "lstrip": false,
289
+ "normalized": false,
290
+ "rstrip": false,
291
+ "single_word": false,
292
+ "special": false
293
+ },
294
+ "36": {
295
+ "content": "{\"",
296
+ "lstrip": false,
297
+ "normalized": false,
298
+ "rstrip": false,
299
+ "single_word": false,
300
+ "special": false
301
+ },
302
+ "37": {
303
+ "content": "}",
304
+ "lstrip": false,
305
+ "normalized": false,
306
+ "rstrip": false,
307
+ "single_word": false,
308
+ "special": false
309
+ },
310
+ "20000": {
311
+ "content": "<s>",
312
+ "lstrip": false,
313
+ "normalized": false,
314
+ "rstrip": false,
315
+ "single_word": false,
316
+ "special": true
317
+ },
318
+ "20001": {
319
+ "content": "</s>",
320
+ "lstrip": false,
321
+ "normalized": false,
322
+ "rstrip": false,
323
+ "single_word": false,
324
+ "special": true
325
+ },
326
+ "20002": {
327
+ "content": "<|start_header_id|>",
328
+ "lstrip": false,
329
+ "normalized": false,
330
+ "rstrip": false,
331
+ "single_word": false,
332
+ "special": true
333
+ },
334
+ "20003": {
335
+ "content": "<|end_header_id|>",
336
+ "lstrip": false,
337
+ "normalized": false,
338
+ "rstrip": false,
339
+ "single_word": false,
340
+ "special": true
341
+ },
342
+ "20004": {
343
+ "content": "<|eom_id|>",
344
+ "lstrip": false,
345
+ "normalized": false,
346
+ "rstrip": false,
347
+ "single_word": false,
348
+ "special": true
349
+ },
350
+ "20005": {
351
+ "content": "<|eot_id|>",
352
+ "lstrip": false,
353
+ "normalized": false,
354
+ "rstrip": false,
355
+ "single_word": false,
356
+ "special": true
357
+ }
358
+ },
359
+ "bos_token": "<|begin_of_text|>",
360
+ "chat_template": "{{- bos_token }}\n{%- if custom_tools is defined %}\n {%- set tools = custom_tools %}\n{%- endif %}\n{%- if not tools_in_user_message is defined %}\n {%- set tools_in_user_message = true %}\n{%- endif %}\n{%- if not date_string is defined %}\n {%- if strftime_now is defined %}\n {%- set date_string = strftime_now(\"%d %b %Y\") %}\n {%- else %}\n {%- set date_string = \"26 Jul 2024\" %}\n {%- endif %}\n{%- endif %}\n{%- if not tools is defined %}\n {%- set tools = none %}\n{%- endif %}\n\n{#- This block extracts the system message, so we can slot it into the right place. #}\n{%- if messages[0]['role'] == 'system' %}\n {%- set system_message = messages[0]['content']|trim %}\n {%- set messages = messages[1:] %}\n{%- else %}\n {%- set system_message = \"\" %}\n{%- endif %}\n\n{#- System message #}\n{{- \"<|start_header_id|>system<|end_header_id|>\\n\\n\" }}\n{%- if tools is not none %}\n {{- \"Environment: ipython\\n\" }}\n{%- endif %}\n{{- \"Cutting Knowledge Date: December 2023\\n\" }}\n{{- \"Today Date: \" + date_string + \"\\n\\n\" }}\n{%- if tools is not none and not tools_in_user_message %}\n {{- \"You have access to the following functions. To call a function, please respond with JSON for a function call.\" }}\n {{- 'Respond in the format {\"name\": function name, \"parameters\": dictionary of argument name and its value}.' }}\n {{- \"Do not use variables.\\n\\n\" }}\n {%- for t in tools %}\n {{- t | tojson(indent=4) }}\n {{- \"\\n\\n\" }}\n {%- endfor %}\n{%- endif %}\n{{- system_message }}\n{{- \"<|eot_id|>\" }}\n\n{#- Custom tools are passed in a user message with some extra guidance #}\n{%- if tools_in_user_message and not tools is none %}\n {#- Extract the first user message so we can plug it in here #}\n {%- if messages | length != 0 %}\n {%- set first_user_message = messages[0]['content']|trim %}\n {%- set messages = messages[1:] %}\n {%- else %}\n {{- raise_exception(\"Cannot put tools in the first user message when there's no first user message!\") }}\n{%- endif %}\n {{- '<|start_header_id|>user<|end_header_id|>\\n\\n' -}}\n {{- \"Given the following functions, please respond with a JSON for a function call \" }}\n {{- \"with its proper arguments that best answers the given prompt.\\n\\n\" }}\n {{- 'Respond in the format {\"name\": function name, \"parameters\": dictionary of argument name and its value}.' }}\n {{- \"Do not use variables.\\n\\n\" }}\n {%- for t in tools %}\n {{- t | tojson(indent=4) }}\n {{- \"\\n\\n\" }}\n {%- endfor %}\n {{- first_user_message + \"<|eot_id|>\"}}\n{%- endif %}\n\n{%- for message in messages %}\n {%- if not (message.role == 'ipython' or message.role == 'tool' or 'tool_calls' in message) %}\n {{- '<|start_header_id|>' + message['role'] + '<|end_header_id|>\\n\\n'+ message['content'] | trim + '<|eot_id|>' }}\n {%- elif 'tool_calls' in message %}\n {%- if not message.tool_calls|length == 1 %}\n {{- raise_exception(\"This model only supports single tool-calls at once!\") }}\n {%- endif %}\n {%- set tool_call = message.tool_calls[0].function %}\n {{- '<|start_header_id|>assistant<|end_header_id|>\\n\\n' -}}\n {{- '{\"name\": \"' + tool_call.name + '\", ' }}\n {{- '\"parameters\": ' }}\n {{- tool_call.arguments | tojson }}\n {{- \"}\" }}\n {{- \"<|eot_id|>\" }}\n {%- elif message.role == \"tool\" or message.role == \"ipython\" %}\n {{- \"<|start_header_id|>ipython<|end_header_id|>\\n\\n\" }}\n {%- if message.content is mapping or message.content is iterable %}\n {{- message.content | tojson }}\n {%- else %}\n {{- message.content }}\n {%- endif %}\n {{- \"<|eot_id|>\" }}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|start_header_id|>assistant<|end_header_id|>\\n\\n' }}\n{%- endif %}\n",
361
+ "clean_up_tokenization_spaces": true,
362
+ "eos_token": "<|eot_id|>",
363
+ "legacy": true,
364
+ "model_max_length": 1000000000000000019884624838656,
365
+ "pad_token": "<|eot_id|>",
366
+ "padding_side": "left",
367
+ "sp_model_kwargs": {},
368
+ "spaces_between_special_tokens": false,
369
+ "split_special_tokens": false,
370
+ "tokenizer_class": "LlamaTokenizer",
371
+ "unk_token": "<unk>",
372
+ "use_default_system_prompt": false
373
+ }