Commit ·
bda49f7
verified ·
0
Parent(s):
Duplicate from autograd162/CodeLlama-34b-Instruct-12-layers
Browse files- .gitattributes +35 -0
- added_tokens.json +6 -0
- config.json +28 -0
- generation_config.json +6 -0
- model-00001-of-00004.safetensors +3 -0
- model-00002-of-00004.safetensors +3 -0
- model-00003-of-00004.safetensors +3 -0
- model-00004-of-00004.safetensors +3 -0
- model.safetensors.index.json +118 -0
- special_tokens_map.json +29 -0
- tokenizer.model +3 -0
- tokenizer_config.json +85 -0
.gitattributes
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
added_tokens.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"▁<EOT>": 32003,
|
| 3 |
+
"▁<MID>": 32001,
|
| 4 |
+
"▁<PRE>": 32000,
|
| 5 |
+
"▁<SUF>": 32002
|
| 6 |
+
}
|
config.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"LlamaForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_bias": false,
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"bos_token_id": 1,
|
| 8 |
+
"eos_token_id": 2,
|
| 9 |
+
"hidden_act": "silu",
|
| 10 |
+
"hidden_size": 8192,
|
| 11 |
+
"initializer_range": 0.02,
|
| 12 |
+
"intermediate_size": 22016,
|
| 13 |
+
"max_position_embeddings": 16384,
|
| 14 |
+
"mlp_bias": false,
|
| 15 |
+
"model_type": "llama",
|
| 16 |
+
"num_attention_heads": 64,
|
| 17 |
+
"num_hidden_layers": 12,
|
| 18 |
+
"num_key_value_heads": 8,
|
| 19 |
+
"pretraining_tp": 1,
|
| 20 |
+
"rms_norm_eps": 1e-05,
|
| 21 |
+
"rope_scaling": null,
|
| 22 |
+
"rope_theta": 1000000,
|
| 23 |
+
"tie_word_embeddings": false,
|
| 24 |
+
"torch_dtype": "bfloat16",
|
| 25 |
+
"transformers_version": "4.44.0",
|
| 26 |
+
"use_cache": true,
|
| 27 |
+
"vocab_size": 32000
|
| 28 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 1,
|
| 4 |
+
"eos_token_id": 2,
|
| 5 |
+
"transformers_version": "4.44.0"
|
| 6 |
+
}
|
model-00001-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:679949bfffd2f9623f633940999081f545a0edde4e72cd0311921a13dea48b08
|
| 3 |
+
size 4978740880
|
model-00002-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ed3e10b53fc5a5720dcc695e88701bb36d2d71762bc2363e8a18c0f1089325e5
|
| 3 |
+
size 4873882928
|
model-00003-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a1689fe8677db9a3432cd5cf89b2bf89ad2479f915604b552352d29c475c1b80
|
| 3 |
+
size 4815196024
|
model-00004-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b2baef7e56d689b6bb6bd3b86c1fed36ce9f4eb32e52fa554acc02c3b2607f45
|
| 3 |
+
size 2990622512
|
model.safetensors.index.json
ADDED
|
@@ -0,0 +1,118 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"metadata": {
|
| 3 |
+
"total_size": 17658429440
|
| 4 |
+
},
|
| 5 |
+
"weight_map": {
|
| 6 |
+
"lm_head.weight": "model-00004-of-00004.safetensors",
|
| 7 |
+
"model.embed_tokens.weight": "model-00001-of-00004.safetensors",
|
| 8 |
+
"model.layers.0.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 9 |
+
"model.layers.0.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 10 |
+
"model.layers.0.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 11 |
+
"model.layers.0.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 12 |
+
"model.layers.0.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 13 |
+
"model.layers.0.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 14 |
+
"model.layers.0.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 15 |
+
"model.layers.0.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 16 |
+
"model.layers.0.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 17 |
+
"model.layers.1.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 18 |
+
"model.layers.1.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 19 |
+
"model.layers.1.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 20 |
+
"model.layers.1.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 21 |
+
"model.layers.1.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 22 |
+
"model.layers.1.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 23 |
+
"model.layers.1.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 24 |
+
"model.layers.1.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 25 |
+
"model.layers.1.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 26 |
+
"model.layers.10.input_layernorm.weight": "model-00004-of-00004.safetensors",
|
| 27 |
+
"model.layers.10.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
|
| 28 |
+
"model.layers.10.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
|
| 29 |
+
"model.layers.10.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
|
| 30 |
+
"model.layers.10.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
|
| 31 |
+
"model.layers.10.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 32 |
+
"model.layers.10.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 33 |
+
"model.layers.10.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 34 |
+
"model.layers.10.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 35 |
+
"model.layers.11.input_layernorm.weight": "model-00004-of-00004.safetensors",
|
| 36 |
+
"model.layers.11.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
|
| 37 |
+
"model.layers.11.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
|
| 38 |
+
"model.layers.11.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
|
| 39 |
+
"model.layers.11.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
|
| 40 |
+
"model.layers.11.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
|
| 41 |
+
"model.layers.11.self_attn.o_proj.weight": "model-00004-of-00004.safetensors",
|
| 42 |
+
"model.layers.11.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
|
| 43 |
+
"model.layers.11.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
|
| 44 |
+
"model.layers.2.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 45 |
+
"model.layers.2.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 46 |
+
"model.layers.2.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 47 |
+
"model.layers.2.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 48 |
+
"model.layers.2.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 49 |
+
"model.layers.2.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 50 |
+
"model.layers.2.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 51 |
+
"model.layers.2.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 52 |
+
"model.layers.2.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 53 |
+
"model.layers.3.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 54 |
+
"model.layers.3.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 55 |
+
"model.layers.3.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 56 |
+
"model.layers.3.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 57 |
+
"model.layers.3.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 58 |
+
"model.layers.3.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 59 |
+
"model.layers.3.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 60 |
+
"model.layers.3.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 61 |
+
"model.layers.3.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 62 |
+
"model.layers.4.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 63 |
+
"model.layers.4.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 64 |
+
"model.layers.4.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 65 |
+
"model.layers.4.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 66 |
+
"model.layers.4.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 67 |
+
"model.layers.4.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 68 |
+
"model.layers.4.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 69 |
+
"model.layers.4.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 70 |
+
"model.layers.4.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 71 |
+
"model.layers.5.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 72 |
+
"model.layers.5.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 73 |
+
"model.layers.5.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 74 |
+
"model.layers.5.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 75 |
+
"model.layers.5.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 76 |
+
"model.layers.5.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 77 |
+
"model.layers.5.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 78 |
+
"model.layers.5.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 79 |
+
"model.layers.5.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 80 |
+
"model.layers.6.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 81 |
+
"model.layers.6.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 82 |
+
"model.layers.6.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 83 |
+
"model.layers.6.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 84 |
+
"model.layers.6.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 85 |
+
"model.layers.6.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 86 |
+
"model.layers.6.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 87 |
+
"model.layers.6.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 88 |
+
"model.layers.6.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 89 |
+
"model.layers.7.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 90 |
+
"model.layers.7.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 91 |
+
"model.layers.7.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 92 |
+
"model.layers.7.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 93 |
+
"model.layers.7.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 94 |
+
"model.layers.7.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 95 |
+
"model.layers.7.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 96 |
+
"model.layers.7.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 97 |
+
"model.layers.7.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 98 |
+
"model.layers.8.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 99 |
+
"model.layers.8.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 100 |
+
"model.layers.8.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 101 |
+
"model.layers.8.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 102 |
+
"model.layers.8.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 103 |
+
"model.layers.8.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 104 |
+
"model.layers.8.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 105 |
+
"model.layers.8.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 106 |
+
"model.layers.8.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 107 |
+
"model.layers.9.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 108 |
+
"model.layers.9.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 109 |
+
"model.layers.9.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 110 |
+
"model.layers.9.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 111 |
+
"model.layers.9.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 112 |
+
"model.layers.9.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 113 |
+
"model.layers.9.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 114 |
+
"model.layers.9.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 115 |
+
"model.layers.9.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 116 |
+
"model.norm.weight": "model-00004-of-00004.safetensors"
|
| 117 |
+
}
|
| 118 |
+
}
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"▁<PRE>",
|
| 4 |
+
"▁<MID>",
|
| 5 |
+
"▁<SUF>",
|
| 6 |
+
"▁<EOT>"
|
| 7 |
+
],
|
| 8 |
+
"bos_token": {
|
| 9 |
+
"content": "<s>",
|
| 10 |
+
"lstrip": false,
|
| 11 |
+
"normalized": false,
|
| 12 |
+
"rstrip": false,
|
| 13 |
+
"single_word": false
|
| 14 |
+
},
|
| 15 |
+
"eos_token": {
|
| 16 |
+
"content": "</s>",
|
| 17 |
+
"lstrip": false,
|
| 18 |
+
"normalized": false,
|
| 19 |
+
"rstrip": false,
|
| 20 |
+
"single_word": false
|
| 21 |
+
},
|
| 22 |
+
"unk_token": {
|
| 23 |
+
"content": "<unk>",
|
| 24 |
+
"lstrip": false,
|
| 25 |
+
"normalized": false,
|
| 26 |
+
"rstrip": false,
|
| 27 |
+
"single_word": false
|
| 28 |
+
}
|
| 29 |
+
}
|
tokenizer.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
|
| 3 |
+
size 499723
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_bos_token": true,
|
| 3 |
+
"add_eos_token": false,
|
| 4 |
+
"added_tokens_decoder": {
|
| 5 |
+
"0": {
|
| 6 |
+
"content": "<unk>",
|
| 7 |
+
"lstrip": false,
|
| 8 |
+
"normalized": false,
|
| 9 |
+
"rstrip": false,
|
| 10 |
+
"single_word": false,
|
| 11 |
+
"special": true
|
| 12 |
+
},
|
| 13 |
+
"1": {
|
| 14 |
+
"content": "<s>",
|
| 15 |
+
"lstrip": false,
|
| 16 |
+
"normalized": false,
|
| 17 |
+
"rstrip": false,
|
| 18 |
+
"single_word": false,
|
| 19 |
+
"special": true
|
| 20 |
+
},
|
| 21 |
+
"2": {
|
| 22 |
+
"content": "</s>",
|
| 23 |
+
"lstrip": false,
|
| 24 |
+
"normalized": false,
|
| 25 |
+
"rstrip": false,
|
| 26 |
+
"single_word": false,
|
| 27 |
+
"special": true
|
| 28 |
+
},
|
| 29 |
+
"32000": {
|
| 30 |
+
"content": "▁<PRE>",
|
| 31 |
+
"lstrip": false,
|
| 32 |
+
"normalized": false,
|
| 33 |
+
"rstrip": false,
|
| 34 |
+
"single_word": false,
|
| 35 |
+
"special": true
|
| 36 |
+
},
|
| 37 |
+
"32001": {
|
| 38 |
+
"content": "▁<MID>",
|
| 39 |
+
"lstrip": false,
|
| 40 |
+
"normalized": false,
|
| 41 |
+
"rstrip": false,
|
| 42 |
+
"single_word": false,
|
| 43 |
+
"special": true
|
| 44 |
+
},
|
| 45 |
+
"32002": {
|
| 46 |
+
"content": "▁<SUF>",
|
| 47 |
+
"lstrip": false,
|
| 48 |
+
"normalized": false,
|
| 49 |
+
"rstrip": false,
|
| 50 |
+
"single_word": false,
|
| 51 |
+
"special": true
|
| 52 |
+
},
|
| 53 |
+
"32003": {
|
| 54 |
+
"content": "▁<EOT>",
|
| 55 |
+
"lstrip": false,
|
| 56 |
+
"normalized": false,
|
| 57 |
+
"rstrip": false,
|
| 58 |
+
"single_word": false,
|
| 59 |
+
"special": true
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"additional_special_tokens": [
|
| 63 |
+
"▁<PRE>",
|
| 64 |
+
"▁<MID>",
|
| 65 |
+
"▁<SUF>",
|
| 66 |
+
"▁<EOT>"
|
| 67 |
+
],
|
| 68 |
+
"bos_token": "<s>",
|
| 69 |
+
"chat_template": "{% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% set system_message = false %}{% endif %}{% for message in loop_messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if loop.index0 == 0 and system_message != false %}{% set content = '<<SYS>>\\n' + system_message + '\\n<</SYS>>\\n\\n' + message['content'] %}{% else %}{% set content = message['content'] %}{% endif %}{% if message['role'] == 'user' %}{{ bos_token + '[INST] ' + content | trim + ' [/INST]' }}{% elif message['role'] == 'assistant' %}{{ ' ' + content | trim + ' ' + eos_token }}{% endif %}{% endfor %}",
|
| 70 |
+
"clean_up_tokenization_spaces": false,
|
| 71 |
+
"eos_token": "</s>",
|
| 72 |
+
"eot_token": "▁<EOT>",
|
| 73 |
+
"fill_token": "<FILL_ME>",
|
| 74 |
+
"legacy": null,
|
| 75 |
+
"middle_token": "▁<MID>",
|
| 76 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 77 |
+
"pad_token": null,
|
| 78 |
+
"prefix_token": "▁<PRE>",
|
| 79 |
+
"sp_model_kwargs": {},
|
| 80 |
+
"suffix_first": false,
|
| 81 |
+
"suffix_token": "▁<SUF>",
|
| 82 |
+
"tokenizer_class": "CodeLlamaTokenizer",
|
| 83 |
+
"unk_token": "<unk>",
|
| 84 |
+
"use_default_system_prompt": false
|
| 85 |
+
}
|