fgasdrasdyxcvv commited on
Commit
32347b9
1 Parent(s): 6d41674

Upload 8 files

Browse files
added_tokens.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "<|im_end|>": 32001,
3
+ "<|im_start|>": 32000
4
+ }
config.json ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "apple/OpenELM-1_1B-Instruct",
3
+ "activation_fn_name": "swish",
4
+ "architectures": [
5
+ "OpenELMForCausalLM"
6
+ ],
7
+ "auto_map": {
8
+ "AutoConfig": "apple/OpenELM-1_1B-Instruct--configuration_openelm.OpenELMConfig",
9
+ "AutoModelForCausalLM": "apple/OpenELM-1_1B-Instruct--modeling_openelm.OpenELMForCausalLM"
10
+ },
11
+ "bos_token_id": 32000,
12
+ "eos_token_id": 32001,
13
+ "ffn_dim_divisor": 256,
14
+ "ffn_multipliers": [
15
+ 0.5,
16
+ 0.63,
17
+ 0.76,
18
+ 0.89,
19
+ 1.02,
20
+ 1.15,
21
+ 1.28,
22
+ 1.41,
23
+ 1.54,
24
+ 1.67,
25
+ 1.8,
26
+ 1.93,
27
+ 2.06,
28
+ 2.19,
29
+ 2.31,
30
+ 2.44,
31
+ 2.57,
32
+ 2.7,
33
+ 2.83,
34
+ 2.96,
35
+ 3.09,
36
+ 3.22,
37
+ 3.35,
38
+ 3.48,
39
+ 3.61,
40
+ 3.74,
41
+ 3.87,
42
+ 4.0
43
+ ],
44
+ "ffn_with_glu": true,
45
+ "head_dim": 64,
46
+ "initializer_range": 0.02,
47
+ "max_context_length": 2048,
48
+ "model_dim": 2048,
49
+ "model_type": "openelm",
50
+ "normalization_layer_name": "rms_norm",
51
+ "normalize_qk_projections": true,
52
+ "num_gqa_groups": 4,
53
+ "num_kv_heads": [
54
+ 4,
55
+ 4,
56
+ 4,
57
+ 5,
58
+ 5,
59
+ 5,
60
+ 5,
61
+ 5,
62
+ 5,
63
+ 5,
64
+ 6,
65
+ 6,
66
+ 6,
67
+ 6,
68
+ 6,
69
+ 6,
70
+ 6,
71
+ 6,
72
+ 7,
73
+ 7,
74
+ 7,
75
+ 7,
76
+ 7,
77
+ 7,
78
+ 8,
79
+ 8,
80
+ 8,
81
+ 8
82
+ ],
83
+ "num_query_heads": [
84
+ 16,
85
+ 16,
86
+ 16,
87
+ 20,
88
+ 20,
89
+ 20,
90
+ 20,
91
+ 20,
92
+ 20,
93
+ 20,
94
+ 24,
95
+ 24,
96
+ 24,
97
+ 24,
98
+ 24,
99
+ 24,
100
+ 24,
101
+ 24,
102
+ 28,
103
+ 28,
104
+ 28,
105
+ 28,
106
+ 28,
107
+ 28,
108
+ 32,
109
+ 32,
110
+ 32,
111
+ 32
112
+ ],
113
+ "num_transformer_layers": 28,
114
+ "pad_token_id": 32001,
115
+ "qkv_multipliers": [
116
+ 0.5,
117
+ 1.0
118
+ ],
119
+ "rope_freq_constant": 10000,
120
+ "rope_max_length": 4096,
121
+ "share_input_output_layers": true,
122
+ "torch_dtype": "bfloat16",
123
+ "transformers_version": "4.40.1",
124
+ "use_cache": true,
125
+ "vocab_size": 32002
126
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 32000,
4
+ "eos_token_id": 32001,
5
+ "pad_token_id": 32001,
6
+ "transformers_version": "4.40.1"
7
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2bf56ebe09bcae6ff83329e9a78e00f0163623aafe0812d91b2ea652caa43499
3
+ size 2159816888
special_tokens_map.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ {
4
+ "content": "<|im_start|>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false
9
+ },
10
+ {
11
+ "content": "<|im_end|>",
12
+ "lstrip": false,
13
+ "normalized": false,
14
+ "rstrip": false,
15
+ "single_word": false
16
+ }
17
+ ],
18
+ "bos_token": "<|im_start|>",
19
+ "eos_token": "<|im_end|>",
20
+ "pad_token": "<unk>",
21
+ "unk_token": {
22
+ "content": "<unk>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false
27
+ }
28
+ }
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723
tokenizer_config.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": true,
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": "<s>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "2": {
23
+ "content": "</s>",
24
+ "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": true
29
+ },
30
+ "32000": {
31
+ "content": "<|im_start|>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false,
36
+ "special": true
37
+ },
38
+ "32001": {
39
+ "content": "<|im_end|>",
40
+ "lstrip": false,
41
+ "normalized": false,
42
+ "rstrip": false,
43
+ "single_word": false,
44
+ "special": true
45
+ }
46
+ },
47
+ "additional_special_tokens": [
48
+ "<|im_start|>",
49
+ "<|im_end|>"
50
+ ],
51
+ "bos_token": "<|im_start|>",
52
+ "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 %}",
53
+ "clean_up_tokenization_spaces": false,
54
+ "eos_token": "<|im_end|>",
55
+ "legacy": false,
56
+ "model_max_length": 1000000000000000019884624838656,
57
+ "pad_token": "<unk>",
58
+ "padding_side": "right",
59
+ "sp_model_kwargs": {},
60
+ "spaces_between_special_tokens": false,
61
+ "tokenizer_class": "LlamaTokenizer",
62
+ "unk_token": "<unk>",
63
+ "use_default_system_prompt": false
64
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6243fa8e061ad863d0c78e81c4fea60be5f8f033c9b804d89363f9e28166055a
3
+ size 5112