AlonKellner-Jounce commited on
Commit
45e3283
·
verified ·
1 Parent(s): 645d41a

no special tokens

Browse files
config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Phi3ForCausalLM"
4
+ ],
5
+ "attention_dropout": 0.0,
6
+ "bos_token_id": 1,
7
+ "embd_pdrop": 0.0,
8
+ "eos_token_id": 2,
9
+ "hidden_act": "silu",
10
+ "hidden_size": 64,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 1,
13
+ "max_position_embeddings": 4096,
14
+ "model_type": "phi3",
15
+ "num_attention_heads": 1,
16
+ "num_hidden_layers": 4,
17
+ "num_key_value_heads": 1,
18
+ "original_max_position_embeddings": 4096,
19
+ "pad_token_id": 3,
20
+ "resid_pdrop": 0.0,
21
+ "rms_norm_eps": 1e-05,
22
+ "rope_scaling": null,
23
+ "rope_theta": 10000.0,
24
+ "sliding_window": null,
25
+ "tie_word_embeddings": false,
26
+ "torch_dtype": "bfloat16",
27
+ "transformers_version": "4.46.1",
28
+ "use_cache": true,
29
+ "vocab_size": 8
30
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "pad_token_id": 3,
6
+ "transformers_version": "4.46.1"
7
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:14750df4c1117957b74c2ea0f06d084282c96a82552daec90a4bb58ed385b5ac
3
+ size 138568
special_tokens_map.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "[CLS]",
3
+ "cls_token": "[CLS]",
4
+ "eos_token": "[SEP]",
5
+ "mask_token": "[MASK]",
6
+ "pad_token": "[PAD]",
7
+ "sep_token": "[SEP]",
8
+ "unk_token": "[UNK]"
9
+ }
tokenizer.json ADDED
@@ -0,0 +1,168 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "1.0",
3
+ "truncation": null,
4
+ "padding": null,
5
+ "added_tokens": [
6
+ {
7
+ "id": 0,
8
+ "content": "[UNK]",
9
+ "single_word": false,
10
+ "lstrip": false,
11
+ "rstrip": false,
12
+ "normalized": true,
13
+ "special": false
14
+ },
15
+ {
16
+ "id": 1,
17
+ "content": "[CLS]",
18
+ "single_word": false,
19
+ "lstrip": false,
20
+ "rstrip": false,
21
+ "normalized": true,
22
+ "special": false
23
+ },
24
+ {
25
+ "id": 2,
26
+ "content": "[SEP]",
27
+ "single_word": false,
28
+ "lstrip": false,
29
+ "rstrip": false,
30
+ "normalized": true,
31
+ "special": false
32
+ },
33
+ {
34
+ "id": 3,
35
+ "content": "[PAD]",
36
+ "single_word": false,
37
+ "lstrip": false,
38
+ "rstrip": false,
39
+ "normalized": true,
40
+ "special": false
41
+ },
42
+ {
43
+ "id": 4,
44
+ "content": "[MASK]",
45
+ "single_word": false,
46
+ "lstrip": false,
47
+ "rstrip": false,
48
+ "normalized": true,
49
+ "special": false
50
+ }
51
+ ],
52
+ "normalizer": {
53
+ "type": "Sequence",
54
+ "normalizers": [
55
+ {
56
+ "type": "NFD"
57
+ },
58
+ {
59
+ "type": "Lowercase"
60
+ },
61
+ {
62
+ "type": "StripAccents"
63
+ }
64
+ ]
65
+ },
66
+ "pre_tokenizer": {
67
+ "type": "Sequence",
68
+ "pretokenizers": [
69
+ {
70
+ "type": "Whitespace"
71
+ },
72
+ {
73
+ "type": "Digits",
74
+ "individual_digits": true
75
+ }
76
+ ]
77
+ },
78
+ "post_processor": {
79
+ "type": "TemplateProcessing",
80
+ "single": [
81
+ {
82
+ "SpecialToken": {
83
+ "id": "[CLS]",
84
+ "type_id": 0
85
+ }
86
+ },
87
+ {
88
+ "Sequence": {
89
+ "id": "A",
90
+ "type_id": 0
91
+ }
92
+ },
93
+ {
94
+ "SpecialToken": {
95
+ "id": "[SEP]",
96
+ "type_id": 0
97
+ }
98
+ }
99
+ ],
100
+ "pair": [
101
+ {
102
+ "SpecialToken": {
103
+ "id": "[CLS]",
104
+ "type_id": 0
105
+ }
106
+ },
107
+ {
108
+ "Sequence": {
109
+ "id": "A",
110
+ "type_id": 0
111
+ }
112
+ },
113
+ {
114
+ "SpecialToken": {
115
+ "id": "[SEP]",
116
+ "type_id": 0
117
+ }
118
+ },
119
+ {
120
+ "Sequence": {
121
+ "id": "B",
122
+ "type_id": 1
123
+ }
124
+ },
125
+ {
126
+ "SpecialToken": {
127
+ "id": "[SEP]",
128
+ "type_id": 1
129
+ }
130
+ }
131
+ ],
132
+ "special_tokens": {
133
+ "[CLS]": {
134
+ "id": "[CLS]",
135
+ "ids": [
136
+ 1
137
+ ],
138
+ "tokens": [
139
+ "[CLS]"
140
+ ]
141
+ },
142
+ "[SEP]": {
143
+ "id": "[SEP]",
144
+ "ids": [
145
+ 2
146
+ ],
147
+ "tokens": [
148
+ "[SEP]"
149
+ ]
150
+ }
151
+ }
152
+ },
153
+ "decoder": null,
154
+ "model": {
155
+ "type": "WordLevel",
156
+ "vocab": {
157
+ "[UNK]": 0,
158
+ "[CLS]": 1,
159
+ "[SEP]": 2,
160
+ "[PAD]": 3,
161
+ "[MASK]": 4,
162
+ "broken": 5,
163
+ "spoken": 6,
164
+ "token": 7
165
+ },
166
+ "unk_token": "[UNK]"
167
+ }
168
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[UNK]",
5
+ "lstrip": false,
6
+ "normalized": true,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": false
10
+ },
11
+ "1": {
12
+ "content": "[CLS]",
13
+ "lstrip": false,
14
+ "normalized": true,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": false
18
+ },
19
+ "2": {
20
+ "content": "[SEP]",
21
+ "lstrip": false,
22
+ "normalized": true,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": false
26
+ },
27
+ "3": {
28
+ "content": "[PAD]",
29
+ "lstrip": false,
30
+ "normalized": true,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": false
34
+ },
35
+ "4": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": true,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": false
42
+ }
43
+ },
44
+ "bos_token": "[CLS]",
45
+ "chat_template": "{% for message in messages %}{{ message['content'] }}{% endfor %}",
46
+ "clean_up_tokenization_spaces": false,
47
+ "cls_token": "[CLS]",
48
+ "eos_token": "[SEP]",
49
+ "mask_token": "[MASK]",
50
+ "max_new_tokens": 1048576,
51
+ "model_max_length": 1048576,
52
+ "pad_token": "[PAD]",
53
+ "padding_side": "right",
54
+ "sep_token": "[SEP]",
55
+ "tokenizer_class": "PreTrainedTokenizerFast",
56
+ "unk_token": "[UNK]"
57
+ }