impossibleexchange commited on
Commit
5f33996
·
verified ·
1 Parent(s): 1111c64

Upload model

Browse files
config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": ["LlamaForCausalLM"],
3
+ "attention_bias": false,
4
+ "bos_token_id": 1,
5
+ "eos_token_id": 2,
6
+ "pad_token_id": 2,
7
+ "hidden_act": "silu",
8
+ "hidden_size": 768,
9
+ "initializer_range": 0.02,
10
+ "intermediate_size": 3072,
11
+ "max_position_embeddings": 1024,
12
+ "model_type": "llama",
13
+ "num_attention_heads": 24,
14
+ "num_hidden_layers": 6,
15
+ "num_key_value_heads": 8,
16
+ "pretraining_tp": 1,
17
+ "rms_norm_eps": 1e-5,
18
+ "rope_scaling": null,
19
+ "rope_theta": 10000.0,
20
+ "tie_word_embeddings": false,
21
+ "torch_dtype": "float32",
22
+ "transformers_version": "4.35.2",
23
+ "use_cache": true,
24
+ "vocab_size": 32128
25
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6fdacc417fd69784ef63e8b2cc69e0da795771013f07a695da9f79a3f945d30c
3
+ size 405058720
model.safetensors.index.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "weight_map": {
3
+ "lm_head.weight": "model.safetensors",
4
+ "model.embed_tokens.weight": "model.safetensors",
5
+ "model.layers.0.input_layernorm.weight": "model.safetensors",
6
+ "model.layers.0.mlp.down_proj.weight": "model.safetensors",
7
+ "model.layers.0.mlp.gate_proj.weight": "model.safetensors",
8
+ "model.layers.0.mlp.up_proj.weight": "model.safetensors",
9
+ "model.layers.0.post_attention_layernorm.weight": "model.safetensors",
10
+ "model.layers.0.self_attn.k_proj.weight": "model.safetensors",
11
+ "model.layers.0.self_attn.o_proj.weight": "model.safetensors",
12
+ "model.layers.0.self_attn.q_proj.weight": "model.safetensors",
13
+ "model.layers.0.self_attn.v_proj.weight": "model.safetensors",
14
+ "model.layers.1.input_layernorm.weight": "model.safetensors",
15
+ "model.layers.1.mlp.down_proj.weight": "model.safetensors",
16
+ "model.layers.1.mlp.gate_proj.weight": "model.safetensors",
17
+ "model.layers.1.mlp.up_proj.weight": "model.safetensors",
18
+ "model.layers.1.post_attention_layernorm.weight": "model.safetensors",
19
+ "model.layers.1.self_attn.k_proj.weight": "model.safetensors",
20
+ "model.layers.1.self_attn.o_proj.weight": "model.safetensors",
21
+ "model.layers.1.self_attn.q_proj.weight": "model.safetensors",
22
+ "model.layers.1.self_attn.v_proj.weight": "model.safetensors",
23
+ "model.layers.2.input_layernorm.weight": "model.safetensors",
24
+ "model.layers.2.mlp.down_proj.weight": "model.safetensors",
25
+ "model.layers.2.mlp.gate_proj.weight": "model.safetensors",
26
+ "model.layers.2.mlp.up_proj.weight": "model.safetensors",
27
+ "model.layers.2.post_attention_layernorm.weight": "model.safetensors",
28
+ "model.layers.2.self_attn.k_proj.weight": "model.safetensors",
29
+ "model.layers.2.self_attn.o_proj.weight": "model.safetensors",
30
+ "model.layers.2.self_attn.q_proj.weight": "model.safetensors",
31
+ "model.layers.2.self_attn.v_proj.weight": "model.safetensors",
32
+ "model.layers.3.input_layernorm.weight": "model.safetensors",
33
+ "model.layers.3.mlp.down_proj.weight": "model.safetensors",
34
+ "model.layers.3.mlp.gate_proj.weight": "model.safetensors",
35
+ "model.layers.3.mlp.up_proj.weight": "model.safetensors",
36
+ "model.layers.3.post_attention_layernorm.weight": "model.safetensors",
37
+ "model.layers.3.self_attn.k_proj.weight": "model.safetensors",
38
+ "model.layers.3.self_attn.o_proj.weight": "model.safetensors",
39
+ "model.layers.3.self_attn.q_proj.weight": "model.safetensors",
40
+ "model.layers.3.self_attn.v_proj.weight": "model.safetensors",
41
+ "model.layers.4.input_layernorm.weight": "model.safetensors",
42
+ "model.layers.4.mlp.down_proj.weight": "model.safetensors",
43
+ "model.layers.4.mlp.gate_proj.weight": "model.safetensors",
44
+ "model.layers.4.mlp.up_proj.weight": "model.safetensors",
45
+ "model.layers.4.post_attention_layernorm.weight": "model.safetensors",
46
+ "model.layers.4.self_attn.k_proj.weight": "model.safetensors",
47
+ "model.layers.4.self_attn.o_proj.weight": "model.safetensors",
48
+ "model.layers.4.self_attn.q_proj.weight": "model.safetensors",
49
+ "model.layers.4.self_attn.v_proj.weight": "model.safetensors",
50
+ "model.layers.5.input_layernorm.weight": "model.safetensors",
51
+ "model.layers.5.mlp.down_proj.weight": "model.safetensors",
52
+ "model.layers.5.mlp.gate_proj.weight": "model.safetensors",
53
+ "model.layers.5.mlp.up_proj.weight": "model.safetensors",
54
+ "model.layers.5.post_attention_layernorm.weight": "model.safetensors",
55
+ "model.layers.5.self_attn.k_proj.weight": "model.safetensors",
56
+ "model.layers.5.self_attn.o_proj.weight": "model.safetensors",
57
+ "model.layers.5.self_attn.q_proj.weight": "model.safetensors",
58
+ "model.layers.5.self_attn.v_proj.weight": "model.safetensors",
59
+ "model.norm.weight": "model.safetensors"
60
+ }
61
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "pad_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<unk>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
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:1a8f238a200be6c23fbba0f9a999ab4fe3c09ca303b29805e68cf6659bfb7d89
3
+ size 131
tokenizer_config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<unk>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "<s>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "</s>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ }
27
+ },
28
+ "bos_token": "<s>",
29
+ "chat_template": "{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
30
+ "clean_up_tokenization_spaces": false,
31
+ "eos_token": "</s>",
32
+ "legacy": false,
33
+ "model_max_length": 1000000000000000019884624838656,
34
+ "pad_token": "</s>",
35
+ "padding_side": "right",
36
+ "sp_model_kwargs": {},
37
+ "spaces_between_special_tokens": false,
38
+ "tokenizer_class": "LlamaTokenizer",
39
+ "unk_token": "<unk>",
40
+ "use_default_system_prompt": false
41
+ }