Upload folder using huggingface_hub
Browse files- .ipynb_checkpoints/config-checkpoint.json +70 -0
- config.json +70 -0
- gptq_model-4bit-128g.safetensors +3 -0
- quantize_config.json +11 -0
- special_tokens_map.json +23 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +43 -0
.ipynb_checkpoints/config-checkpoint.json
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "Deci/DeciLM-7B",
|
3 |
+
"architectures": [
|
4 |
+
"DeciLMForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_bias": false,
|
7 |
+
"auto_map": {
|
8 |
+
"AutoConfig": "Deci/DeciLM-7B--configuration_decilm.DeciLMConfig",
|
9 |
+
"AutoModelForCausalLM": "Deci/DeciLM-7B--modeling_decilm.DeciLMForCausalLM"
|
10 |
+
},
|
11 |
+
"bos_token_id": 1,
|
12 |
+
"eos_token_id": 2,
|
13 |
+
"hidden_act": "silu",
|
14 |
+
"hidden_size": 4096,
|
15 |
+
"initializer_range": 0.02,
|
16 |
+
"intermediate_size": 14336,
|
17 |
+
"max_position_embeddings": 8192,
|
18 |
+
"model_type": "deci_lm",
|
19 |
+
"num_attention_heads": 32,
|
20 |
+
"num_hidden_layers": 32,
|
21 |
+
"num_key_value_heads": 32,
|
22 |
+
"num_key_value_heads_per_layer": [
|
23 |
+
4,
|
24 |
+
4,
|
25 |
+
4,
|
26 |
+
4,
|
27 |
+
4,
|
28 |
+
2,
|
29 |
+
2,
|
30 |
+
2,
|
31 |
+
2,
|
32 |
+
2,
|
33 |
+
4,
|
34 |
+
2,
|
35 |
+
2,
|
36 |
+
2,
|
37 |
+
2,
|
38 |
+
2,
|
39 |
+
2,
|
40 |
+
2,
|
41 |
+
2,
|
42 |
+
2,
|
43 |
+
1,
|
44 |
+
1,
|
45 |
+
1,
|
46 |
+
1,
|
47 |
+
1,
|
48 |
+
1,
|
49 |
+
1,
|
50 |
+
1,
|
51 |
+
1,
|
52 |
+
1,
|
53 |
+
1,
|
54 |
+
4
|
55 |
+
],
|
56 |
+
"pretraining_tp": 1,
|
57 |
+
"rms_norm_eps": 1e-05,
|
58 |
+
"rope_scaling": {
|
59 |
+
"factor": 2.0,
|
60 |
+
"type": "dynamic"
|
61 |
+
},
|
62 |
+
"rope_theta": 10000.0,
|
63 |
+
"tie_word_embeddings": false,
|
64 |
+
"tokenizer_class": "LlamaTokenizer",
|
65 |
+
"torch_dtype": "float16",
|
66 |
+
"transformers_version": "4.36.2",
|
67 |
+
"use_bfloat16": true,
|
68 |
+
"use_cache": true,
|
69 |
+
"vocab_size": 32000
|
70 |
+
}
|
config.json
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "Deci/DeciLM-7B",
|
3 |
+
"architectures": [
|
4 |
+
"DeciLMForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_bias": false,
|
7 |
+
"auto_map": {
|
8 |
+
"AutoConfig": "Deci/DeciLM-7B--configuration_decilm.DeciLMConfig",
|
9 |
+
"AutoModelForCausalLM": "Deci/DeciLM-7B--modeling_decilm.DeciLMForCausalLM"
|
10 |
+
},
|
11 |
+
"bos_token_id": 1,
|
12 |
+
"eos_token_id": 2,
|
13 |
+
"hidden_act": "silu",
|
14 |
+
"hidden_size": 4096,
|
15 |
+
"initializer_range": 0.02,
|
16 |
+
"intermediate_size": 14336,
|
17 |
+
"max_position_embeddings": 8192,
|
18 |
+
"model_type": "deci_lm",
|
19 |
+
"num_attention_heads": 32,
|
20 |
+
"num_hidden_layers": 32,
|
21 |
+
"num_key_value_heads": 32,
|
22 |
+
"num_key_value_heads_per_layer": [
|
23 |
+
4,
|
24 |
+
4,
|
25 |
+
4,
|
26 |
+
4,
|
27 |
+
4,
|
28 |
+
2,
|
29 |
+
2,
|
30 |
+
2,
|
31 |
+
2,
|
32 |
+
2,
|
33 |
+
4,
|
34 |
+
2,
|
35 |
+
2,
|
36 |
+
2,
|
37 |
+
2,
|
38 |
+
2,
|
39 |
+
2,
|
40 |
+
2,
|
41 |
+
2,
|
42 |
+
2,
|
43 |
+
1,
|
44 |
+
1,
|
45 |
+
1,
|
46 |
+
1,
|
47 |
+
1,
|
48 |
+
1,
|
49 |
+
1,
|
50 |
+
1,
|
51 |
+
1,
|
52 |
+
1,
|
53 |
+
1,
|
54 |
+
4
|
55 |
+
],
|
56 |
+
"pretraining_tp": 1,
|
57 |
+
"rms_norm_eps": 1e-05,
|
58 |
+
"rope_scaling": {
|
59 |
+
"factor": 2.0,
|
60 |
+
"type": "dynamic"
|
61 |
+
},
|
62 |
+
"rope_theta": 10000.0,
|
63 |
+
"tie_word_embeddings": false,
|
64 |
+
"tokenizer_class": "LlamaTokenizer",
|
65 |
+
"torch_dtype": "float16",
|
66 |
+
"transformers_version": "4.36.2",
|
67 |
+
"use_bfloat16": true,
|
68 |
+
"use_cache": true,
|
69 |
+
"vocab_size": 32000
|
70 |
+
}
|
gptq_model-4bit-128g.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d4797b2378f59feb84bdc532337f309762a54d06b5fe912e587d902f48eb9575
|
3 |
+
size 4055604032
|
quantize_config.json
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bits": 4,
|
3 |
+
"group_size": 128,
|
4 |
+
"damp_percent": 0.01,
|
5 |
+
"desc_act": false,
|
6 |
+
"static_groups": false,
|
7 |
+
"sym": true,
|
8 |
+
"true_sequential": true,
|
9 |
+
"model_name_or_path": null,
|
10 |
+
"model_file_base_name": null
|
11 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "</s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"unk_token": {
|
17 |
+
"content": "<unk>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
}
|
23 |
+
}
|
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:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
|
3 |
+
size 493443
|
tokenizer_config.json
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"0": {
|
6 |
+
"content": "<unk>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"1": {
|
14 |
+
"content": "<s>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
},
|
21 |
+
"2": {
|
22 |
+
"content": "</s>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false,
|
27 |
+
"special": true
|
28 |
+
}
|
29 |
+
},
|
30 |
+
"additional_special_tokens": [],
|
31 |
+
"bos_token": "<s>",
|
32 |
+
"chat_template": "{% for message in messages %}\n{% if message['role'] == 'user' %}\n{{ '### User:\n' + message['content'] }}\n{% elif message['role'] == 'system' %}\n{{ '### System:\n' + message['content'] }}\n{% elif message['role'] == 'assistant' %}\n{{ '### Assistant:\n' + message['content'] }}\n{% endif %}\n{% if loop.last and add_generation_prompt %}\n{{ '### Assistant:' }}\n{% endif %}\n{% endfor %}",
|
33 |
+
"clean_up_tokenization_spaces": false,
|
34 |
+
"eos_token": "</s>",
|
35 |
+
"legacy": true,
|
36 |
+
"model_max_length": 1000000000000000019884624838656,
|
37 |
+
"pad_token": null,
|
38 |
+
"sp_model_kwargs": {},
|
39 |
+
"spaces_between_special_tokens": false,
|
40 |
+
"tokenizer_class": "LlamaTokenizer",
|
41 |
+
"unk_token": "<unk>",
|
42 |
+
"use_default_system_prompt": true
|
43 |
+
}
|