Upload folder using huggingface_hub
Browse files- config.json +19 -0
- pytorch_model.bin +3 -0
- tokenizer.model +3 -0
- tokenizer_config.json +11 -0
config.json
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"LlamaForCausalLM"
|
4 |
+
],
|
5 |
+
"bos_token_id": 1,
|
6 |
+
"eos_token_id": 2,
|
7 |
+
"hidden_act": "silu",
|
8 |
+
"hidden_size": 8192,
|
9 |
+
"intermediate_size": 28672,
|
10 |
+
"max_position_embeddings": 32764,
|
11 |
+
"model_type": "llama",
|
12 |
+
"num_attention_heads": 64,
|
13 |
+
"num_hidden_layers": 80,
|
14 |
+
"num_key_value_heads": 8,
|
15 |
+
"rms_norm_eps": 9.999999747378752e-06,
|
16 |
+
"torch_dtype": "float16",
|
17 |
+
"vocab_size": 32000,
|
18 |
+
"rope_theta": 1000000.0
|
19 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1c8f9457b6144c239a3d79d867dcc03419c4291f65102604504f9ba5aed4de6e
|
3 |
+
size 41422564831
|
tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4f567f46e9ccc9fbeaf375f95cad98ba56034c80d96db411c7d25ddd19578a38
|
3 |
+
size 562934
|
tokenizer_config.json
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"tokenizer_class": "LlamaTokenizer",
|
3 |
+
"legacy": false,
|
4 |
+
"clean_up_tokenization_spaces": false,
|
5 |
+
"bos_token": "<s>",
|
6 |
+
"eos_token": "</s>",
|
7 |
+
"unk_token": "<unk>",
|
8 |
+
"add_bos_token": true,
|
9 |
+
"add_eos_token": false,
|
10 |
+
"chat_template": "{{ bos_token }}{% for message in messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if message['role'] == 'user' %}{{ '[INST] ' + message['content'] + ' [/INST]' }}{% elif message['role'] == 'assistant' %}{{ message['content'] + eos_token}}{% else %}{{ raise_exception('Only user and assistant roles are supported!') }}{% endif %}{% endfor %}"
|
11 |
+
}
|