Upload 5 files
Browse files- config.json +27 -27
- generation_config.json +6 -0
- special_tokens_map.json +30 -23
- tokenizer.json +2 -2
- tokenizer_config.json +6 -8
config.json
CHANGED
@@ -1,27 +1,27 @@
|
|
1 |
-
{
|
2 |
-
"_name_or_path": "Nitral-AI/
|
3 |
-
"architectures": [
|
4 |
-
"MistralForCausalLM"
|
5 |
-
],
|
6 |
-
"attention_dropout": 0.0,
|
7 |
-
"bos_token_id": 1,
|
8 |
-
"eos_token_id":
|
9 |
-
"head_dim": 128,
|
10 |
-
"hidden_act": "silu",
|
11 |
-
"hidden_size": 5120,
|
12 |
-
"initializer_range": 0.02,
|
13 |
-
"intermediate_size": 14336,
|
14 |
-
"max_position_embeddings": 1024000,
|
15 |
-
"model_type": "mistral",
|
16 |
-
"num_attention_heads": 32,
|
17 |
-
"num_hidden_layers": 40,
|
18 |
-
"num_key_value_heads": 8,
|
19 |
-
"rms_norm_eps": 1e-05,
|
20 |
-
"rope_theta": 1000000.0,
|
21 |
-
"sliding_window": null,
|
22 |
-
"tie_word_embeddings": false,
|
23 |
-
"torch_dtype": "bfloat16",
|
24 |
-
"transformers_version": "4.
|
25 |
-
"use_cache": true,
|
26 |
-
"vocab_size": 131072
|
27 |
-
}
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "Nitral-AI/Captain-Eris_Violet-V0.420-12B",
|
3 |
+
"architectures": [
|
4 |
+
"MistralForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": 1,
|
8 |
+
"eos_token_id": 15,
|
9 |
+
"head_dim": 128,
|
10 |
+
"hidden_act": "silu",
|
11 |
+
"hidden_size": 5120,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 14336,
|
14 |
+
"max_position_embeddings": 1024000,
|
15 |
+
"model_type": "mistral",
|
16 |
+
"num_attention_heads": 32,
|
17 |
+
"num_hidden_layers": 40,
|
18 |
+
"num_key_value_heads": 8,
|
19 |
+
"rms_norm_eps": 1e-05,
|
20 |
+
"rope_theta": 1000000.0,
|
21 |
+
"sliding_window": null,
|
22 |
+
"tie_word_embeddings": false,
|
23 |
+
"torch_dtype": "bfloat16",
|
24 |
+
"transformers_version": "4.47.1",
|
25 |
+
"use_cache": true,
|
26 |
+
"vocab_size": 131072
|
27 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 1,
|
4 |
+
"eos_token_id": 15,
|
5 |
+
"transformers_version": "4.44.2"
|
6 |
+
}
|
special_tokens_map.json
CHANGED
@@ -1,23 +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": "
|
11 |
-
"lstrip": false,
|
12 |
-
"normalized": false,
|
13 |
-
"rstrip": false,
|
14 |
-
"single_word": false
|
15 |
-
},
|
16 |
-
"
|
17 |
-
"content": "<
|
18 |
-
"lstrip": false,
|
19 |
-
"normalized": false,
|
20 |
-
"rstrip": false,
|
21 |
-
"single_word": false
|
22 |
-
}
|
23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "<|im_end|>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "<pad>",
|
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
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4b4c8fcd33487a449c07f423d47adb035bba8347ccf13eb074b4d1fef8acf919
|
3 |
+
size 17078288
|
tokenizer_config.json
CHANGED
@@ -116,7 +116,7 @@
|
|
116 |
"special": true
|
117 |
},
|
118 |
"14": {
|
119 |
-
"content": "
|
120 |
"lstrip": false,
|
121 |
"normalized": false,
|
122 |
"rstrip": false,
|
@@ -124,7 +124,7 @@
|
|
124 |
"special": true
|
125 |
},
|
126 |
"15": {
|
127 |
-
"content": "
|
128 |
"lstrip": false,
|
129 |
"normalized": false,
|
130 |
"rstrip": false,
|
@@ -8005,14 +8005,12 @@
|
|
8005 |
}
|
8006 |
},
|
8007 |
"bos_token": "<s>",
|
8008 |
-
"chat_template": "{
|
8009 |
"clean_up_tokenization_spaces": false,
|
8010 |
-
"eos_token": "
|
8011 |
-
"
|
8012 |
-
"input_ids",
|
8013 |
-
"attention_mask"
|
8014 |
-
],
|
8015 |
"model_max_length": 1000000000000000019884624838656,
|
|
|
8016 |
"tokenizer_class": "PreTrainedTokenizerFast",
|
8017 |
"unk_token": "<unk>"
|
8018 |
}
|
|
|
116 |
"special": true
|
117 |
},
|
118 |
"14": {
|
119 |
+
"content": "<|im_start|>",
|
120 |
"lstrip": false,
|
121 |
"normalized": false,
|
122 |
"rstrip": false,
|
|
|
124 |
"special": true
|
125 |
},
|
126 |
"15": {
|
127 |
+
"content": "<|im_end|>",
|
128 |
"lstrip": false,
|
129 |
"normalized": false,
|
130 |
"rstrip": false,
|
|
|
8005 |
}
|
8006 |
},
|
8007 |
"bos_token": "<s>",
|
8008 |
+
"chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
|
8009 |
"clean_up_tokenization_spaces": false,
|
8010 |
+
"eos_token": "<|im_end|>",
|
8011 |
+
"extra_special_tokens": {},
|
|
|
|
|
|
|
8012 |
"model_max_length": 1000000000000000019884624838656,
|
8013 |
+
"pad_token": "<pad>",
|
8014 |
"tokenizer_class": "PreTrainedTokenizerFast",
|
8015 |
"unk_token": "<unk>"
|
8016 |
}
|