ThunderBeee commited on
Commit
0f3d3fa
1 Parent(s): 5801bef

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,22 +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
36
- octopus-v2-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
37
- octopus-v2-F16.gguf filter=lfs diff=lfs merge=lfs -text
38
- octopus-v2-Q5_1.gguf filter=lfs diff=lfs merge=lfs -text
39
- octopus-v2-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
40
- octopus-v2-Q3_K.gguf filter=lfs diff=lfs merge=lfs -text
41
- octopus-v2-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
42
- octopus-v2-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
43
- octopus-v2-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
44
- octopus-v2-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
45
- octopus-v2-Q5_K.gguf filter=lfs diff=lfs merge=lfs -text
46
- octopus-v2-Q4_K.gguf filter=lfs diff=lfs merge=lfs -text
47
- octopus-v2-Q4_1.gguf filter=lfs diff=lfs merge=lfs -text
48
- octopus-v2-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
49
- octopus-v2-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
50
- octopus-v2-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
51
- octopus-v2.gguf filter=lfs diff=lfs merge=lfs -text
52
- octopus-v2-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
53
- octopus-v2-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
54
- octopus-v2-Q8_0.gguf 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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
added_tokens.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "<nexa_0>": 256000,
3
+ "<nexa_10>": 256010,
4
+ "<nexa_11>": 256011,
5
+ "<nexa_12>": 256012,
6
+ "<nexa_13>": 256013,
7
+ "<nexa_14>": 256014,
8
+ "<nexa_15>": 256015,
9
+ "<nexa_16>": 256016,
10
+ "<nexa_17>": 256017,
11
+ "<nexa_18>": 256018,
12
+ "<nexa_19>": 256019,
13
+ "<nexa_1>": 256001,
14
+ "<nexa_20>": 256020,
15
+ "<nexa_2>": 256002,
16
+ "<nexa_3>": 256003,
17
+ "<nexa_4>": 256004,
18
+ "<nexa_5>": 256005,
19
+ "<nexa_6>": 256006,
20
+ "<nexa_7>": 256007,
21
+ "<nexa_8>": 256008,
22
+ "<nexa_9>": 256009,
23
+ "<nexa_end>": 256021
24
+ }
config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/home/mingyuanma/.cache/huggingface/hub/models--NexaAIDev--Octopus-v2/snapshots/524fc80b2b907ce18f7c3220e32fcec093c1440b",
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_activation": null,
13
+ "hidden_size": 2048,
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 16384,
16
+ "max_position_embeddings": 8192,
17
+ "model_type": "gemma",
18
+ "num_attention_heads": 8,
19
+ "num_hidden_layers": 18,
20
+ "num_key_value_heads": 1,
21
+ "pad_token_id": 0,
22
+ "quantization_config": {
23
+ "bits": 4,
24
+ "group_size": 128,
25
+ "modules_to_not_convert": null,
26
+ "quant_method": "awq",
27
+ "version": "gemm",
28
+ "zero_point": true
29
+ },
30
+ "rms_norm_eps": 1e-06,
31
+ "rope_scaling": null,
32
+ "rope_theta": 10000.0,
33
+ "torch_dtype": "float16",
34
+ "transformers_version": "4.40.1",
35
+ "use_cache": true,
36
+ "vocab_size": 256022
37
+ }
generation_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 2,
4
+ "do_sample": true,
5
+ "eos_token_id": 1,
6
+ "pad_token_id": 0,
7
+ "transformers_version": "4.40.1"
8
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a856545ac25b5dfafcf09b3ee8d8e0a77746bf5e50ea0645f08d126c6421364
3
+ size 3127142064
special_tokens_map.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<nexa_0>",
4
+ "<nexa_1>",
5
+ "<nexa_2>",
6
+ "<nexa_3>",
7
+ "<nexa_4>",
8
+ "<nexa_5>",
9
+ "<nexa_6>",
10
+ "<nexa_7>",
11
+ "<nexa_8>",
12
+ "<nexa_9>",
13
+ "<nexa_10>",
14
+ "<nexa_11>",
15
+ "<nexa_12>",
16
+ "<nexa_13>",
17
+ "<nexa_14>",
18
+ "<nexa_15>",
19
+ "<nexa_16>",
20
+ "<nexa_17>",
21
+ "<nexa_18>",
22
+ "<nexa_19>",
23
+ "<nexa_20>",
24
+ "<nexa_end>"
25
+ ],
26
+ "bos_token": {
27
+ "content": "<bos>",
28
+ "lstrip": false,
29
+ "normalized": false,
30
+ "rstrip": false,
31
+ "single_word": false
32
+ },
33
+ "eos_token": {
34
+ "content": "<eos>",
35
+ "lstrip": false,
36
+ "normalized": false,
37
+ "rstrip": false,
38
+ "single_word": false
39
+ },
40
+ "pad_token": {
41
+ "content": "<pad>",
42
+ "lstrip": false,
43
+ "normalized": false,
44
+ "rstrip": false,
45
+ "single_word": false
46
+ },
47
+ "unk_token": {
48
+ "content": "<unk>",
49
+ "lstrip": false,
50
+ "normalized": false,
51
+ "rstrip": false,
52
+ "single_word": false
53
+ }
54
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:071b1ea1d2c840ff4b368148add00755a2b924134e28307ebabd363879932843
3
+ size 17482040
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,266 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "256000": {
54
+ "content": "<nexa_0>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "256001": {
62
+ "content": "<nexa_1>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "256002": {
70
+ "content": "<nexa_2>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "256003": {
78
+ "content": "<nexa_3>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "256004": {
86
+ "content": "<nexa_4>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "256005": {
94
+ "content": "<nexa_5>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "256006": {
102
+ "content": "<nexa_6>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "256007": {
110
+ "content": "<nexa_7>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": true
116
+ },
117
+ "256008": {
118
+ "content": "<nexa_8>",
119
+ "lstrip": false,
120
+ "normalized": false,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": true
124
+ },
125
+ "256009": {
126
+ "content": "<nexa_9>",
127
+ "lstrip": false,
128
+ "normalized": false,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": true
132
+ },
133
+ "256010": {
134
+ "content": "<nexa_10>",
135
+ "lstrip": false,
136
+ "normalized": false,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": true
140
+ },
141
+ "256011": {
142
+ "content": "<nexa_11>",
143
+ "lstrip": false,
144
+ "normalized": false,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": true
148
+ },
149
+ "256012": {
150
+ "content": "<nexa_12>",
151
+ "lstrip": false,
152
+ "normalized": false,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": true
156
+ },
157
+ "256013": {
158
+ "content": "<nexa_13>",
159
+ "lstrip": false,
160
+ "normalized": false,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": true
164
+ },
165
+ "256014": {
166
+ "content": "<nexa_14>",
167
+ "lstrip": false,
168
+ "normalized": false,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": true
172
+ },
173
+ "256015": {
174
+ "content": "<nexa_15>",
175
+ "lstrip": false,
176
+ "normalized": false,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": true
180
+ },
181
+ "256016": {
182
+ "content": "<nexa_16>",
183
+ "lstrip": false,
184
+ "normalized": false,
185
+ "rstrip": false,
186
+ "single_word": false,
187
+ "special": true
188
+ },
189
+ "256017": {
190
+ "content": "<nexa_17>",
191
+ "lstrip": false,
192
+ "normalized": false,
193
+ "rstrip": false,
194
+ "single_word": false,
195
+ "special": true
196
+ },
197
+ "256018": {
198
+ "content": "<nexa_18>",
199
+ "lstrip": false,
200
+ "normalized": false,
201
+ "rstrip": false,
202
+ "single_word": false,
203
+ "special": true
204
+ },
205
+ "256019": {
206
+ "content": "<nexa_19>",
207
+ "lstrip": false,
208
+ "normalized": false,
209
+ "rstrip": false,
210
+ "single_word": false,
211
+ "special": true
212
+ },
213
+ "256020": {
214
+ "content": "<nexa_20>",
215
+ "lstrip": false,
216
+ "normalized": false,
217
+ "rstrip": false,
218
+ "single_word": false,
219
+ "special": true
220
+ },
221
+ "256021": {
222
+ "content": "<nexa_end>",
223
+ "lstrip": false,
224
+ "normalized": false,
225
+ "rstrip": false,
226
+ "single_word": false,
227
+ "special": true
228
+ }
229
+ },
230
+ "additional_special_tokens": [
231
+ "<nexa_0>",
232
+ "<nexa_1>",
233
+ "<nexa_2>",
234
+ "<nexa_3>",
235
+ "<nexa_4>",
236
+ "<nexa_5>",
237
+ "<nexa_6>",
238
+ "<nexa_7>",
239
+ "<nexa_8>",
240
+ "<nexa_9>",
241
+ "<nexa_10>",
242
+ "<nexa_11>",
243
+ "<nexa_12>",
244
+ "<nexa_13>",
245
+ "<nexa_14>",
246
+ "<nexa_15>",
247
+ "<nexa_16>",
248
+ "<nexa_17>",
249
+ "<nexa_18>",
250
+ "<nexa_19>",
251
+ "<nexa_20>",
252
+ "<nexa_end>"
253
+ ],
254
+ "bos_token": "<bos>",
255
+ "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 %}",
256
+ "clean_up_tokenization_spaces": false,
257
+ "eos_token": "<eos>",
258
+ "legacy": null,
259
+ "model_max_length": 1000000000000000019884624838656,
260
+ "pad_token": "<pad>",
261
+ "sp_model_kwargs": {},
262
+ "spaces_between_special_tokens": false,
263
+ "tokenizer_class": "GemmaTokenizer",
264
+ "unk_token": "<unk>",
265
+ "use_default_system_prompt": false
266
+ }