Locutusque
commited on
Commit
•
e7e90df
1
Parent(s):
fce46aa
Upload 8 files
Browse files- added_tokens.json +5 -0
- config.json +13 -15
- generation_config.json +1 -5
- merges.txt +0 -0
- special_tokens_map.json +23 -0
- tokenizer.json +27 -0
- tokenizer_config.json +58 -26
- vocab.json +0 -0
added_tokens.json
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<|ASSISTANT|>": 50259,
|
3 |
+
"<|USER|>": 50258,
|
4 |
+
"[PAD]": 50257
|
5 |
+
}
|
config.json
CHANGED
@@ -1,27 +1,25 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
6 |
-
"attention_bias": false,
|
7 |
"bos_token_id": 1,
|
8 |
"eos_token_id": 2,
|
9 |
"hidden_act": "silu",
|
10 |
-
"hidden_size":
|
11 |
"initializer_range": 0.02,
|
12 |
-
"intermediate_size":
|
13 |
-
"max_position_embeddings":
|
14 |
-
"model_type": "
|
15 |
-
"num_attention_heads":
|
16 |
-
"num_hidden_layers":
|
17 |
-
"num_key_value_heads":
|
18 |
-
"
|
19 |
-
"rms_norm_eps": 1e-05,
|
20 |
-
"rope_scaling": null,
|
21 |
"rope_theta": 10000.0,
|
|
|
22 |
"tie_word_embeddings": false,
|
23 |
-
"torch_dtype": "
|
24 |
"transformers_version": "4.35.2",
|
25 |
"use_cache": true,
|
26 |
-
"vocab_size":
|
27 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "Locutusque/TinyMistral-248M-Instruct",
|
3 |
"architectures": [
|
4 |
+
"MistralForCausalLM"
|
5 |
],
|
|
|
6 |
"bos_token_id": 1,
|
7 |
"eos_token_id": 2,
|
8 |
"hidden_act": "silu",
|
9 |
+
"hidden_size": 1024,
|
10 |
"initializer_range": 0.02,
|
11 |
+
"intermediate_size": 4096,
|
12 |
+
"max_position_embeddings": 32768,
|
13 |
+
"model_type": "mistral",
|
14 |
+
"num_attention_heads": 32,
|
15 |
+
"num_hidden_layers": 12,
|
16 |
+
"num_key_value_heads": 8,
|
17 |
+
"rms_norm_eps": 1e-06,
|
|
|
|
|
18 |
"rope_theta": 10000.0,
|
19 |
+
"sliding_window": 32,
|
20 |
"tie_word_embeddings": false,
|
21 |
+
"torch_dtype": "float32",
|
22 |
"transformers_version": "4.35.2",
|
23 |
"use_cache": true,
|
24 |
+
"vocab_size": 32005
|
25 |
}
|
generation_config.json
CHANGED
@@ -1,10 +1,6 @@
|
|
1 |
{
|
|
|
2 |
"bos_token_id": 1,
|
3 |
-
"do_sample": true,
|
4 |
"eos_token_id": 2,
|
5 |
-
"max_length": 4096,
|
6 |
-
"pad_token_id": 0,
|
7 |
-
"temperature": 0.6,
|
8 |
-
"top_p": 0.9,
|
9 |
"transformers_version": "4.35.2"
|
10 |
}
|
|
|
1 |
{
|
2 |
+
"_from_model_config": true,
|
3 |
"bos_token_id": 1,
|
|
|
4 |
"eos_token_id": 2,
|
|
|
|
|
|
|
|
|
5 |
"transformers_version": "4.35.2"
|
6 |
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
special_tokens_map.json
CHANGED
@@ -1,4 +1,20 @@
|
|
1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
"bos_token": {
|
3 |
"content": "<s>",
|
4 |
"lstrip": false,
|
@@ -13,6 +29,13 @@
|
|
13 |
"rstrip": false,
|
14 |
"single_word": false
|
15 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
"unk_token": {
|
17 |
"content": "<unk>",
|
18 |
"lstrip": false,
|
|
|
1 |
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
{
|
4 |
+
"content": "<|ASSISTANT|>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false
|
9 |
+
},
|
10 |
+
{
|
11 |
+
"content": "<|USER|>",
|
12 |
+
"lstrip": false,
|
13 |
+
"normalized": false,
|
14 |
+
"rstrip": false,
|
15 |
+
"single_word": false
|
16 |
+
}
|
17 |
+
],
|
18 |
"bos_token": {
|
19 |
"content": "<s>",
|
20 |
"lstrip": false,
|
|
|
29 |
"rstrip": false,
|
30 |
"single_word": false
|
31 |
},
|
32 |
+
"pad_token": {
|
33 |
+
"content": "[PAD]",
|
34 |
+
"lstrip": false,
|
35 |
+
"normalized": false,
|
36 |
+
"rstrip": false,
|
37 |
+
"single_word": false
|
38 |
+
},
|
39 |
"unk_token": {
|
40 |
"content": "<unk>",
|
41 |
"lstrip": false,
|
tokenizer.json
CHANGED
@@ -29,6 +29,33 @@
|
|
29 |
"rstrip": false,
|
30 |
"normalized": false,
|
31 |
"special": true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
}
|
33 |
],
|
34 |
"normalizer": {
|
|
|
29 |
"rstrip": false,
|
30 |
"normalized": false,
|
31 |
"special": true
|
32 |
+
},
|
33 |
+
{
|
34 |
+
"id": 32000,
|
35 |
+
"content": "<|ASSISTANT|>",
|
36 |
+
"single_word": false,
|
37 |
+
"lstrip": false,
|
38 |
+
"rstrip": false,
|
39 |
+
"normalized": false,
|
40 |
+
"special": true
|
41 |
+
},
|
42 |
+
{
|
43 |
+
"id": 32001,
|
44 |
+
"content": "<|USER|>",
|
45 |
+
"single_word": false,
|
46 |
+
"lstrip": false,
|
47 |
+
"rstrip": false,
|
48 |
+
"normalized": false,
|
49 |
+
"special": true
|
50 |
+
},
|
51 |
+
{
|
52 |
+
"id": 32002,
|
53 |
+
"content": "[PAD]",
|
54 |
+
"single_word": false,
|
55 |
+
"lstrip": false,
|
56 |
+
"rstrip": false,
|
57 |
+
"normalized": false,
|
58 |
+
"special": true
|
59 |
}
|
60 |
],
|
61 |
"normalizer": {
|
tokenizer_config.json
CHANGED
@@ -1,35 +1,67 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
},
|
|
|
|
|
|
|
|
|
|
|
12 |
"clean_up_tokenization_spaces": false,
|
13 |
-
"eos_token":
|
14 |
-
"__type": "AddedToken",
|
15 |
-
"content": "</s>",
|
16 |
-
"lstrip": false,
|
17 |
-
"normalized": false,
|
18 |
-
"rstrip": false,
|
19 |
-
"single_word": false
|
20 |
-
},
|
21 |
"legacy": false,
|
22 |
"model_max_length": 1000000000000000019884624838656,
|
23 |
-
"pad_token":
|
24 |
"padding_side": "right",
|
25 |
"sp_model_kwargs": {},
|
26 |
"tokenizer_class": "LlamaTokenizer",
|
27 |
-
"unk_token":
|
28 |
-
|
29 |
-
"content": "<unk>",
|
30 |
-
"lstrip": false,
|
31 |
-
"normalized": false,
|
32 |
-
"rstrip": false,
|
33 |
-
"single_word": false
|
34 |
-
}
|
35 |
}
|
|
|
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 |
+
"32000": {
|
28 |
+
"content": "<|ASSISTANT|>",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"32001": {
|
36 |
+
"content": "<|USER|>",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
},
|
43 |
+
"32002": {
|
44 |
+
"content": "[PAD]",
|
45 |
+
"lstrip": false,
|
46 |
+
"normalized": false,
|
47 |
+
"rstrip": false,
|
48 |
+
"single_word": false,
|
49 |
+
"special": true
|
50 |
+
}
|
51 |
},
|
52 |
+
"additional_special_tokens": [
|
53 |
+
"<|ASSISTANT|>",
|
54 |
+
"<|USER|>"
|
55 |
+
],
|
56 |
+
"bos_token": "<s>",
|
57 |
"clean_up_tokenization_spaces": false,
|
58 |
+
"eos_token": "</s>",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
"legacy": false,
|
60 |
"model_max_length": 1000000000000000019884624838656,
|
61 |
+
"pad_token": "[PAD]",
|
62 |
"padding_side": "right",
|
63 |
"sp_model_kwargs": {},
|
64 |
"tokenizer_class": "LlamaTokenizer",
|
65 |
+
"unk_token": "<unk>",
|
66 |
+
"use_default_system_prompt": false
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
}
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|