Add 7B chat preview
Browse files- config.json +6 -6
- tokenizer_config.json +1 -1
config.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
| 3 |
"architectures": [
|
| 4 |
"LlamaForCausalLM"
|
| 5 |
],
|
| 6 |
"attention_bias": false,
|
| 7 |
"attention_dropout": 0.0,
|
| 8 |
-
"bos_token_id":
|
| 9 |
-
"eos_token_id":
|
| 10 |
"head_dim": 128,
|
| 11 |
"hidden_act": "silu",
|
| 12 |
"hidden_size": 4096,
|
|
@@ -24,8 +24,8 @@
|
|
| 24 |
"rope_scaling": null,
|
| 25 |
"rope_theta": 10000.0,
|
| 26 |
"tie_word_embeddings": false,
|
| 27 |
-
"torch_dtype": "
|
| 28 |
-
"transformers_version": "4.
|
| 29 |
-
"use_cache":
|
| 30 |
"vocab_size": 32064
|
| 31 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "LSX-UniWue/LLaMmlein_7B",
|
| 3 |
"architectures": [
|
| 4 |
"LlamaForCausalLM"
|
| 5 |
],
|
| 6 |
"attention_bias": false,
|
| 7 |
"attention_dropout": 0.0,
|
| 8 |
+
"bos_token_id": 32011,
|
| 9 |
+
"eos_token_id": 32012,
|
| 10 |
"head_dim": 128,
|
| 11 |
"hidden_act": "silu",
|
| 12 |
"hidden_size": 4096,
|
|
|
|
| 24 |
"rope_scaling": null,
|
| 25 |
"rope_theta": 10000.0,
|
| 26 |
"tie_word_embeddings": false,
|
| 27 |
+
"torch_dtype": "bfloat16",
|
| 28 |
+
"transformers_version": "4.44.2",
|
| 29 |
+
"use_cache": false,
|
| 30 |
"vocab_size": 32064
|
| 31 |
}
|
tokenizer_config.json
CHANGED
|
@@ -137,7 +137,7 @@
|
|
| 137 |
"<|im_end|>"
|
| 138 |
],
|
| 139 |
"bos_token": "<|im_start|>",
|
| 140 |
-
"chat_template": "{% for message in messages %}{
|
| 141 |
"clean_up_tokenization_spaces": false,
|
| 142 |
"eos_token": "<|im_end|>",
|
| 143 |
"extra_special_tokens": {},
|
|
|
|
| 137 |
"<|im_end|>"
|
| 138 |
],
|
| 139 |
"bos_token": "<|im_start|>",
|
| 140 |
+
"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 %}",
|
| 141 |
"clean_up_tokenization_spaces": false,
|
| 142 |
"eos_token": "<|im_end|>",
|
| 143 |
"extra_special_tokens": {},
|