vltnmmdv commited on
Commit
bd34d21
·
verified ·
1 Parent(s): 86b1b2b

Add files using upload-large-folder tool

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
config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "DeepseekForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "auto_map": {
8
+ "AutoConfig": "ai-sage/GigaChat-20B-A3B-base--configuration_deepseek.DeepseekConfig",
9
+ "AutoModel": "ai-sage/GigaChat-20B-A3B-base--modelling_deepseek.DeepseekModel",
10
+ "AutoModelForCausalLM": "ai-sage/GigaChat-20B-A3B-base--modelling_deepseek.DeepseekForCausalLM"
11
+ },
12
+ "aux_loss_alpha": 0.001,
13
+ "bos_token_id": 1,
14
+ "eos_token_id": 128001,
15
+ "first_k_dense_replace": 1,
16
+ "hidden_act": "silu",
17
+ "hidden_size": 2048,
18
+ "initializer_range": 0.006,
19
+ "intermediate_size": 14336,
20
+ "max_position_embeddings": 131072,
21
+ "moe_implementation": "eager",
22
+ "moe_intermediate_size": 1792,
23
+ "moe_layer_freq": 1,
24
+ "n_routed_experts": 64,
25
+ "n_shared_experts": 2,
26
+ "norm_topk_prob": false,
27
+ "num_attention_heads": 16,
28
+ "num_experts_per_tok": 6,
29
+ "num_hidden_layers": 28,
30
+ "num_key_value_heads": 8,
31
+ "pad_token_id": 1,
32
+ "pretraining_tp": 1,
33
+ "return_dict": false,
34
+ "rms_norm_eps": 1e-05,
35
+ "rope_scaling": null,
36
+ "rope_theta": 1400000,
37
+ "scoring_func": "softmax",
38
+ "seq_aux": true,
39
+ "tie_word_embeddings": false,
40
+ "torch_dtype": "bfloat16",
41
+ "transformers_version": "4.48.0",
42
+ "use_cache": true,
43
+ "vocab_size": 128256
44
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 128001,
5
+ "pad_token_id": 1,
6
+ "transformers_version": "4.48.0"
7
+ }
pytorch_model-00001-of-00009.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:13237deed6b3c535de870ce19964cef33d0a1e657947dfc1a86231f9b070de05
3
+ size 4994075149
pytorch_model-00002-of-00009.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:81fb556c13dccdab2bba39c012277036a2a465b953cb1081ea3eb2361c6dd883
3
+ size 4997784867
pytorch_model-00003-of-00009.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ad41c0c164e444b8f212a881cffa5442679524755eee2f08aca796ba085471c
3
+ size 4994368696
pytorch_model-00004-of-00009.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e34a0e502ec7c464e2b8d479c4ea06addf5e17ab779e162d75d4e6522a50052
3
+ size 4997785559
pytorch_model-00005-of-00009.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:50c0351b77611930818427f2277a436e26d8b9afd7545a1347d3352ecd7e16e1
3
+ size 4994369208
pytorch_model-00006-of-00009.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b74f2a769bd05d6c1f5cf4e72da71c47114053c8fef84b812959a0265a9d8e16
3
+ size 4994369208
pytorch_model-00007-of-00009.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:25c0858727455a375318a872cda7955ca6dbf0fc5883c1d3b220e8b1163f2eb8
3
+ size 4997785559
pytorch_model-00008-of-00009.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a39357ac4bcc5a11550639df14a5370cc2df5728d1843f00a94ee029ca39b16e
3
+ size 4994369208
pytorch_model-00009-of-00009.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f4ae5cc3c061a102c82465b3a42d04f7cba524692c52b22162328a180d0cbed
3
+ size 1215607594
pytorch_model.bin.index.json ADDED
The diff for this file is too large to render. See raw diff
 
special_tokens_map.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|role_sep|>",
4
+ "<|message_sep|>",
5
+ "[",
6
+ "]",
7
+ "<|role_sep|>",
8
+ "<|message_sep|>",
9
+ "[",
10
+ "]"
11
+ ],
12
+ "bos_token": {
13
+ "content": "<s>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false
18
+ },
19
+ "eos_token": {
20
+ "content": "<|message_sep|>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false
25
+ }
26
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6fc8146adda45ec7f4876d832f80b55e8dd3e1fa648fbd54d059a601ee73cea3
3
+ size 10678892
tokenizer_config.json ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_eos_token": false,
3
+ "added_tokens": {
4
+ "1": {
5
+ "content": "<s>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "128000": {
13
+ "content": "<|role_sep|>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "128001": {
21
+ "content": "<|message_sep|>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "61": {
29
+ "content": "[",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "63": {
37
+ "content": "]",
38
+ "lstrip": false,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ }
44
+ },
45
+ "added_tokens_decoder": {
46
+ "1": {
47
+ "content": "<s>",
48
+ "lstrip": false,
49
+ "normalized": false,
50
+ "rstrip": false,
51
+ "single_word": false,
52
+ "special": true
53
+ },
54
+ "61": {
55
+ "content": "[",
56
+ "lstrip": false,
57
+ "normalized": false,
58
+ "rstrip": false,
59
+ "single_word": false,
60
+ "special": true
61
+ },
62
+ "63": {
63
+ "content": "]",
64
+ "lstrip": false,
65
+ "normalized": false,
66
+ "rstrip": false,
67
+ "single_word": false,
68
+ "special": true
69
+ },
70
+ "128000": {
71
+ "content": "<|role_sep|>",
72
+ "lstrip": false,
73
+ "normalized": false,
74
+ "rstrip": false,
75
+ "single_word": false,
76
+ "special": true
77
+ },
78
+ "128001": {
79
+ "content": "<|message_sep|>",
80
+ "lstrip": false,
81
+ "normalized": false,
82
+ "rstrip": false,
83
+ "single_word": false,
84
+ "special": true
85
+ }
86
+ },
87
+ "additional_special_tokens": [
88
+ "<|role_sep|>",
89
+ "<|message_sep|>",
90
+ "[",
91
+ "]",
92
+ "<|role_sep|>",
93
+ "<|message_sep|>",
94
+ "[",
95
+ "]"
96
+ ],
97
+ "bos_token": "<s>",
98
+ "chat_template": "{% if messages[0]['role'] == 'system' -%}\n {%- set loop_messages = messages[1:] -%}\n {%- set system_message = bos_token + messages[0]['content'] + additional_special_tokens[1] -%}\n{%- else -%}\n {%- set loop_messages = messages -%}\n {%- set system_message = bos_token + '' -%}\n{%- endif -%}\n{%- for message in loop_messages %}\n {% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}\n {{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}\n {% endif %}\n \n {%- if loop.index0 == 0 -%}\n {{ system_message -}}\n {%- endif -%}\n {%- if message['role'] == 'user' -%}\n {{ message['role'] + additional_special_tokens[0] + message['content'] + additional_special_tokens[1] -}}\n {{ 'available functions' + additional_special_tokens[0] + additional_special_tokens[2] + additional_special_tokens[3] + additional_special_tokens[1] -}}\n {%- endif -%}\n {%- if message['role'] == 'assistant' -%}\n {{ message['role'] + additional_special_tokens[0] + message['content'] + additional_special_tokens[1] -}}\n {%- endif -%}\n {%- if loop.last and add_generation_prompt -%}\n {{ 'assistant' + additional_special_tokens[0] -}}\n {%- endif -%}\n{%- endfor %}",
99
+ "clean_up_tokenization_spaces": true,
100
+ "eos_token": "<|message_sep|>",
101
+ "extra_special_tokens": {},
102
+ "legacy": true,
103
+ "model_max_length": 1000000000000000019884624838656,
104
+ "tokenizer_class": "PreTrainedTokenizerFast",
105
+ "unk_token": null
106
+ }