Upload folder using huggingface_hub
Browse files- README.md +70 -0
- added_tokens.json +18 -0
- config.json +26 -0
- mergekit_config.yml +27 -0
- model-00001-of-00007.safetensors +3 -0
- model-00002-of-00007.safetensors +3 -0
- model-00003-of-00007.safetensors +3 -0
- model-00004-of-00007.safetensors +3 -0
- model-00005-of-00007.safetensors +3 -0
- model-00006-of-00007.safetensors +3 -0
- model-00007-of-00007.safetensors +3 -0
- model.safetensors.index.json +1 -0
- special_tokens_map.json +50 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +189 -0
README.md
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- merge
|
4 |
+
- mergekit
|
5 |
+
- lazymergekit
|
6 |
+
- SciPhi/SciPhi-Self-RAG-Mistral-7B-32k
|
7 |
+
base_model:
|
8 |
+
- SciPhi/SciPhi-Self-RAG-Mistral-7B-32k
|
9 |
+
---
|
10 |
+
|
11 |
+
# SciPhi-Mistral-RAG-Hermes-7B-32k
|
12 |
+
|
13 |
+
SciPhi-Mistral-RAG-Hermes-7B-32k is a merge of the following models using [LazyMergekit](https://colab.research.google.com/drive/1obulZ1ROXHjYLn6PPZJwRR6GzgQogxxb?usp=sharing):
|
14 |
+
* [SciPhi/SciPhi-Self-RAG-Mistral-7B-32k](https://huggingface.co/SciPhi/SciPhi-Self-RAG-Mistral-7B-32k)
|
15 |
+
|
16 |
+
## 🧩 Configuration
|
17 |
+
|
18 |
+
```yaml
|
19 |
+
slices:
|
20 |
+
- sources:
|
21 |
+
- model: SciPhi/SciPhi-Self-RAG-Mistral-7B-32k
|
22 |
+
layer_range: [0, 7]
|
23 |
+
- sources:
|
24 |
+
- model: NousResearch/Nous-Hermes-2-Mistral-7B-DPO
|
25 |
+
layer_range: [8, 16]
|
26 |
+
- sources:
|
27 |
+
- model: SciPhi/SciPhi-Self-RAG-Mistral-7B-32k
|
28 |
+
layer_range: [17, 24]
|
29 |
+
- sources:
|
30 |
+
- model: teknium/OpenHermes-2.5-Mistral-7B
|
31 |
+
layer_range: [25, 32]
|
32 |
+
|
33 |
+
merge_method: slerp
|
34 |
+
base_model: SciPhi/SciPhi-Self-RAG-Mistral-7B-32k
|
35 |
+
parameters:
|
36 |
+
t:
|
37 |
+
- filter: self_attn
|
38 |
+
value: [0, 0.5, 0.3, 0.7, 1]
|
39 |
+
- filter: mlp
|
40 |
+
value: [1, 0.5, 0.7, 0.3, 0]
|
41 |
+
- value: 0.5
|
42 |
+
dtype: float16
|
43 |
+
tokenizer_source: base
|
44 |
+
|
45 |
+
```
|
46 |
+
|
47 |
+
## 💻 Usage
|
48 |
+
|
49 |
+
```python
|
50 |
+
!pip install -qU transformers accelerate
|
51 |
+
|
52 |
+
from transformers import AutoTokenizer
|
53 |
+
import transformers
|
54 |
+
import torch
|
55 |
+
|
56 |
+
model = "jtatman/SciPhi-Mistral-RAG-Hermes-7B-32k"
|
57 |
+
messages = [{"role": "user", "content": "What is a large language model?"}]
|
58 |
+
|
59 |
+
tokenizer = AutoTokenizer.from_pretrained(model)
|
60 |
+
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
|
61 |
+
pipeline = transformers.pipeline(
|
62 |
+
"text-generation",
|
63 |
+
model=model,
|
64 |
+
torch_dtype=torch.float16,
|
65 |
+
device_map="auto",
|
66 |
+
)
|
67 |
+
|
68 |
+
outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
|
69 |
+
print(outputs[0]["generated_text"])
|
70 |
+
```
|
added_tokens.json
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"</paragraph>": 32013,
|
3 |
+
"<pad>": 32015,
|
4 |
+
"<paragraph>": 32005,
|
5 |
+
"[Continue to Use Evidence]": 32006,
|
6 |
+
"[Fully supported]": 32014,
|
7 |
+
"[Irrelevant]": 32011,
|
8 |
+
"[No Retrieval]": 32010,
|
9 |
+
"[No support / Contradictory]": 32003,
|
10 |
+
"[Partially supported]": 32000,
|
11 |
+
"[Relevant]": 32007,
|
12 |
+
"[Retrieval]": 32004,
|
13 |
+
"[Utility:1]": 32001,
|
14 |
+
"[Utility:2]": 32002,
|
15 |
+
"[Utility:3]": 32008,
|
16 |
+
"[Utility:4]": 32012,
|
17 |
+
"[Utility:5]": 32009
|
18 |
+
}
|
config.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "SciPhi/SciPhi-Self-RAG-Mistral-7B-32k",
|
3 |
+
"architectures": [
|
4 |
+
"MistralForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": 1,
|
8 |
+
"eos_token_id": 2,
|
9 |
+
"hidden_act": "silu",
|
10 |
+
"hidden_size": 4096,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 14336,
|
13 |
+
"max_position_embeddings": 32768,
|
14 |
+
"model_type": "mistral",
|
15 |
+
"num_attention_heads": 32,
|
16 |
+
"num_hidden_layers": 29,
|
17 |
+
"num_key_value_heads": 8,
|
18 |
+
"rms_norm_eps": 1e-05,
|
19 |
+
"rope_theta": 10000.0,
|
20 |
+
"sliding_window": 4096,
|
21 |
+
"tie_word_embeddings": false,
|
22 |
+
"torch_dtype": "float16",
|
23 |
+
"transformers_version": "4.37.2",
|
24 |
+
"use_cache": false,
|
25 |
+
"vocab_size": 32016
|
26 |
+
}
|
mergekit_config.yml
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
slices:
|
3 |
+
- sources:
|
4 |
+
- model: SciPhi/SciPhi-Self-RAG-Mistral-7B-32k
|
5 |
+
layer_range: [0, 7]
|
6 |
+
- sources:
|
7 |
+
- model: NousResearch/Nous-Hermes-2-Mistral-7B-DPO
|
8 |
+
layer_range: [8, 16]
|
9 |
+
- sources:
|
10 |
+
- model: SciPhi/SciPhi-Self-RAG-Mistral-7B-32k
|
11 |
+
layer_range: [17, 24]
|
12 |
+
- sources:
|
13 |
+
- model: teknium/OpenHermes-2.5-Mistral-7B
|
14 |
+
layer_range: [25, 32]
|
15 |
+
|
16 |
+
merge_method: slerp
|
17 |
+
base_model: SciPhi/SciPhi-Self-RAG-Mistral-7B-32k
|
18 |
+
parameters:
|
19 |
+
t:
|
20 |
+
- filter: self_attn
|
21 |
+
value: [0, 0.5, 0.3, 0.7, 1]
|
22 |
+
- filter: mlp
|
23 |
+
value: [1, 0.5, 0.7, 0.3, 0]
|
24 |
+
- value: 0.5
|
25 |
+
dtype: float16
|
26 |
+
tokenizer_source: base
|
27 |
+
|
model-00001-of-00007.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2a2fbbb3dba0e32249a7ecd8530cda5ae13d81a4d8e92e321eae8b15081b0e94
|
3 |
+
size 1979773088
|
model-00002-of-00007.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7dde44b73349dc35537ab12db026737f9203b348f067e695fecfcb8b8339b069
|
3 |
+
size 1946235600
|
model-00003-of-00007.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e6f5935de3d59bf6d80c9d3a2d9c20e949f183bcf42101cb3179dec1b46a17bc
|
3 |
+
size 1950559696
|
model-00004-of-00007.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:42ee40d0801006de84caa05c5b0d81c0f2fbb10eca09feb7239e0955f2651b00
|
3 |
+
size 1996575936
|
model-00005-of-00007.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3aeb1a40fbab2cc0797955ec386e378c01a0aa1dc329d23917f8afd3054add9f
|
3 |
+
size 1895895336
|
model-00006-of-00007.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7e54a5b74e9a15efb66c51510507bca5bf1155036e8bbc1195ee953cedc1cf21
|
3 |
+
size 1979789736
|
model-00007-of-00007.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:338ddbf96b0b449755b0674907bd02b609905044bace5aaf5518d12791f2976d
|
3 |
+
size 1426140648
|
model.safetensors.index.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"metadata": {"mergekit_version": "0.0.4.1"}, "weight_map": {"model.layers.9.mlp.gate_proj.weight": "model-00001-of-00007.safetensors", "model.layers.9.mlp.up_proj.weight": "model-00001-of-00007.safetensors", "model.layers.9.self_attn.o_proj.weight": "model-00001-of-00007.safetensors", "model.layers.9.self_attn.v_proj.weight": "model-00001-of-00007.safetensors", "model.layers.9.self_attn.k_proj.weight": "model-00001-of-00007.safetensors", "model.layers.9.self_attn.q_proj.weight": "model-00001-of-00007.safetensors", "model.layers.8.mlp.down_proj.weight": "model-00001-of-00007.safetensors", "model.layers.8.mlp.gate_proj.weight": "model-00001-of-00007.safetensors", "model.layers.8.mlp.up_proj.weight": "model-00001-of-00007.safetensors", "model.layers.8.post_attention_layernorm.weight": "model-00001-of-00007.safetensors", "model.layers.8.self_attn.o_proj.weight": "model-00001-of-00007.safetensors", "model.layers.8.self_attn.v_proj.weight": "model-00001-of-00007.safetensors", "model.layers.8.self_attn.k_proj.weight": "model-00001-of-00007.safetensors", "model.layers.8.self_attn.q_proj.weight": "model-00001-of-00007.safetensors", "model.layers.8.input_layernorm.weight": "model-00001-of-00007.safetensors", "model.layers.7.mlp.down_proj.weight": "model-00001-of-00007.safetensors", "model.layers.7.mlp.gate_proj.weight": "model-00001-of-00007.safetensors", "model.layers.7.mlp.up_proj.weight": "model-00001-of-00007.safetensors", "model.layers.7.post_attention_layernorm.weight": "model-00001-of-00007.safetensors", "model.layers.7.self_attn.o_proj.weight": "model-00001-of-00007.safetensors", "model.layers.7.self_attn.v_proj.weight": "model-00001-of-00007.safetensors", "model.layers.7.self_attn.k_proj.weight": "model-00001-of-00007.safetensors", "model.layers.7.self_attn.q_proj.weight": "model-00001-of-00007.safetensors", "model.layers.7.input_layernorm.weight": "model-00001-of-00007.safetensors", "model.layers.6.mlp.down_proj.weight": "model-00001-of-00007.safetensors", "model.layers.6.mlp.gate_proj.weight": "model-00001-of-00007.safetensors", "model.layers.6.mlp.up_proj.weight": "model-00001-of-00007.safetensors", "model.layers.6.post_attention_layernorm.weight": "model-00001-of-00007.safetensors", "model.layers.6.self_attn.o_proj.weight": "model-00001-of-00007.safetensors", "model.layers.6.self_attn.v_proj.weight": "model-00001-of-00007.safetensors", "model.layers.6.self_attn.k_proj.weight": "model-00001-of-00007.safetensors", "model.layers.6.self_attn.q_proj.weight": "model-00001-of-00007.safetensors", "model.layers.6.input_layernorm.weight": "model-00001-of-00007.safetensors", "model.layers.5.mlp.down_proj.weight": "model-00001-of-00007.safetensors", "model.layers.5.mlp.gate_proj.weight": "model-00001-of-00007.safetensors", "model.layers.5.mlp.up_proj.weight": "model-00001-of-00007.safetensors", "model.layers.5.post_attention_layernorm.weight": "model-00001-of-00007.safetensors", "model.layers.5.self_attn.o_proj.weight": "model-00002-of-00007.safetensors", "model.layers.5.self_attn.v_proj.weight": "model-00002-of-00007.safetensors", "model.layers.5.self_attn.k_proj.weight": "model-00002-of-00007.safetensors", "model.layers.5.self_attn.q_proj.weight": "model-00002-of-00007.safetensors", "model.layers.5.input_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.4.mlp.down_proj.weight": "model-00002-of-00007.safetensors", "model.layers.4.mlp.gate_proj.weight": "model-00002-of-00007.safetensors", "model.layers.4.mlp.up_proj.weight": "model-00002-of-00007.safetensors", "model.layers.4.post_attention_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.4.self_attn.o_proj.weight": "model-00002-of-00007.safetensors", "model.layers.4.self_attn.v_proj.weight": "model-00002-of-00007.safetensors", "model.layers.4.self_attn.k_proj.weight": "model-00002-of-00007.safetensors", "model.layers.4.self_attn.q_proj.weight": "model-00002-of-00007.safetensors", "model.layers.4.input_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.3.mlp.down_proj.weight": "model-00002-of-00007.safetensors", "model.layers.3.mlp.gate_proj.weight": "model-00002-of-00007.safetensors", "model.layers.3.mlp.up_proj.weight": "model-00002-of-00007.safetensors", "model.layers.3.post_attention_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.3.self_attn.o_proj.weight": "model-00002-of-00007.safetensors", "model.layers.3.self_attn.v_proj.weight": "model-00002-of-00007.safetensors", "model.layers.3.self_attn.k_proj.weight": "model-00002-of-00007.safetensors", "model.layers.3.self_attn.q_proj.weight": "model-00002-of-00007.safetensors", "model.layers.3.input_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.2.mlp.down_proj.weight": "model-00002-of-00007.safetensors", "model.layers.2.mlp.gate_proj.weight": "model-00002-of-00007.safetensors", "model.layers.2.mlp.up_proj.weight": "model-00002-of-00007.safetensors", "model.layers.2.post_attention_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.2.self_attn.o_proj.weight": "model-00002-of-00007.safetensors", "model.layers.2.self_attn.v_proj.weight": "model-00002-of-00007.safetensors", "model.layers.2.self_attn.k_proj.weight": "model-00002-of-00007.safetensors", "model.layers.2.self_attn.q_proj.weight": "model-00002-of-00007.safetensors", "model.layers.2.input_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.1.mlp.down_proj.weight": "model-00002-of-00007.safetensors", "model.layers.1.mlp.gate_proj.weight": "model-00002-of-00007.safetensors", "model.layers.1.mlp.up_proj.weight": "model-00002-of-00007.safetensors", "model.layers.1.post_attention_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.1.self_attn.o_proj.weight": "model-00002-of-00007.safetensors", "model.layers.1.self_attn.v_proj.weight": "model-00002-of-00007.safetensors", "model.layers.1.self_attn.k_proj.weight": "model-00002-of-00007.safetensors", "model.layers.1.self_attn.q_proj.weight": "model-00002-of-00007.safetensors", "model.layers.1.input_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.0.mlp.down_proj.weight": "model-00002-of-00007.safetensors", "model.layers.0.mlp.gate_proj.weight": "model-00003-of-00007.safetensors", "model.layers.0.mlp.up_proj.weight": "model-00003-of-00007.safetensors", "model.layers.0.post_attention_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.0.self_attn.o_proj.weight": "model-00003-of-00007.safetensors", "model.layers.0.self_attn.v_proj.weight": "model-00003-of-00007.safetensors", "model.layers.0.self_attn.k_proj.weight": "model-00003-of-00007.safetensors", "model.layers.0.self_attn.q_proj.weight": "model-00003-of-00007.safetensors", "model.layers.0.input_layernorm.weight": "model-00003-of-00007.safetensors", "model.embed_tokens.weight": "model-00003-of-00007.safetensors", "lm_head.weight": "model-00003-of-00007.safetensors", "model.norm.weight": "model-00003-of-00007.safetensors", "model.layers.28.mlp.down_proj.weight": "model-00003-of-00007.safetensors", "model.layers.28.mlp.gate_proj.weight": "model-00003-of-00007.safetensors", "model.layers.28.mlp.up_proj.weight": "model-00003-of-00007.safetensors", "model.layers.28.post_attention_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.28.self_attn.o_proj.weight": "model-00003-of-00007.safetensors", "model.layers.28.self_attn.v_proj.weight": "model-00003-of-00007.safetensors", "model.layers.28.self_attn.k_proj.weight": "model-00003-of-00007.safetensors", "model.layers.28.self_attn.q_proj.weight": "model-00003-of-00007.safetensors", "model.layers.28.input_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.27.mlp.down_proj.weight": "model-00003-of-00007.safetensors", "model.layers.27.mlp.gate_proj.weight": "model-00003-of-00007.safetensors", "model.layers.27.mlp.up_proj.weight": "model-00003-of-00007.safetensors", "model.layers.27.post_attention_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.27.self_attn.o_proj.weight": "model-00003-of-00007.safetensors", "model.layers.27.self_attn.v_proj.weight": "model-00003-of-00007.safetensors", "model.layers.27.self_attn.k_proj.weight": "model-00003-of-00007.safetensors", "model.layers.27.self_attn.q_proj.weight": "model-00003-of-00007.safetensors", "model.layers.27.input_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.26.mlp.down_proj.weight": "model-00003-of-00007.safetensors", "model.layers.26.mlp.gate_proj.weight": "model-00003-of-00007.safetensors", "model.layers.26.mlp.up_proj.weight": "model-00004-of-00007.safetensors", "model.layers.26.post_attention_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.26.self_attn.o_proj.weight": "model-00004-of-00007.safetensors", "model.layers.26.self_attn.v_proj.weight": "model-00004-of-00007.safetensors", "model.layers.26.self_attn.k_proj.weight": "model-00004-of-00007.safetensors", "model.layers.26.self_attn.q_proj.weight": "model-00004-of-00007.safetensors", "model.layers.26.input_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.25.mlp.down_proj.weight": "model-00004-of-00007.safetensors", "model.layers.25.mlp.gate_proj.weight": "model-00004-of-00007.safetensors", "model.layers.25.mlp.up_proj.weight": "model-00004-of-00007.safetensors", "model.layers.25.post_attention_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.25.self_attn.o_proj.weight": "model-00004-of-00007.safetensors", "model.layers.25.self_attn.v_proj.weight": "model-00004-of-00007.safetensors", "model.layers.25.self_attn.k_proj.weight": "model-00004-of-00007.safetensors", "model.layers.25.self_attn.q_proj.weight": "model-00004-of-00007.safetensors", "model.layers.25.input_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.24.mlp.down_proj.weight": "model-00004-of-00007.safetensors", "model.layers.24.mlp.gate_proj.weight": "model-00004-of-00007.safetensors", "model.layers.24.mlp.up_proj.weight": "model-00004-of-00007.safetensors", "model.layers.24.post_attention_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.24.self_attn.o_proj.weight": "model-00004-of-00007.safetensors", "model.layers.24.self_attn.v_proj.weight": "model-00004-of-00007.safetensors", "model.layers.24.self_attn.k_proj.weight": "model-00004-of-00007.safetensors", "model.layers.24.self_attn.q_proj.weight": "model-00004-of-00007.safetensors", "model.layers.24.input_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.23.mlp.down_proj.weight": "model-00004-of-00007.safetensors", "model.layers.23.mlp.gate_proj.weight": "model-00004-of-00007.safetensors", "model.layers.23.mlp.up_proj.weight": "model-00004-of-00007.safetensors", "model.layers.23.post_attention_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.23.self_attn.o_proj.weight": "model-00004-of-00007.safetensors", "model.layers.23.self_attn.v_proj.weight": "model-00004-of-00007.safetensors", "model.layers.23.self_attn.k_proj.weight": "model-00004-of-00007.safetensors", "model.layers.23.self_attn.q_proj.weight": "model-00004-of-00007.safetensors", "model.layers.23.input_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.22.mlp.down_proj.weight": "model-00004-of-00007.safetensors", "model.layers.22.mlp.gate_proj.weight": "model-00004-of-00007.safetensors", "model.layers.22.mlp.up_proj.weight": "model-00004-of-00007.safetensors", "model.layers.22.post_attention_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.22.self_attn.o_proj.weight": "model-00004-of-00007.safetensors", "model.layers.22.self_attn.v_proj.weight": "model-00004-of-00007.safetensors", "model.layers.22.self_attn.k_proj.weight": "model-00004-of-00007.safetensors", "model.layers.22.self_attn.q_proj.weight": "model-00004-of-00007.safetensors", "model.layers.22.input_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.20.self_attn.o_proj.weight": "model-00004-of-00007.safetensors", "model.layers.20.self_attn.v_proj.weight": "model-00004-of-00007.safetensors", "model.layers.20.self_attn.k_proj.weight": "model-00004-of-00007.safetensors", "model.layers.20.self_attn.q_proj.weight": "model-00005-of-00007.safetensors", "model.layers.19.mlp.down_proj.weight": "model-00005-of-00007.safetensors", "model.layers.19.mlp.gate_proj.weight": "model-00005-of-00007.safetensors", "model.layers.19.mlp.up_proj.weight": "model-00005-of-00007.safetensors", "model.layers.19.post_attention_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.19.self_attn.o_proj.weight": "model-00005-of-00007.safetensors", "model.layers.19.self_attn.v_proj.weight": "model-00005-of-00007.safetensors", "model.layers.19.self_attn.k_proj.weight": "model-00005-of-00007.safetensors", "model.layers.19.self_attn.q_proj.weight": "model-00005-of-00007.safetensors", "model.layers.19.input_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.18.mlp.down_proj.weight": "model-00005-of-00007.safetensors", "model.layers.18.mlp.gate_proj.weight": "model-00005-of-00007.safetensors", "model.layers.18.mlp.up_proj.weight": "model-00005-of-00007.safetensors", "model.layers.18.post_attention_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.18.self_attn.o_proj.weight": "model-00005-of-00007.safetensors", "model.layers.18.self_attn.v_proj.weight": "model-00005-of-00007.safetensors", "model.layers.18.self_attn.k_proj.weight": "model-00005-of-00007.safetensors", "model.layers.18.self_attn.q_proj.weight": "model-00005-of-00007.safetensors", "model.layers.18.input_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.17.mlp.down_proj.weight": "model-00005-of-00007.safetensors", "model.layers.17.mlp.gate_proj.weight": "model-00005-of-00007.safetensors", "model.layers.17.mlp.up_proj.weight": "model-00005-of-00007.safetensors", "model.layers.17.post_attention_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.17.self_attn.o_proj.weight": "model-00005-of-00007.safetensors", "model.layers.17.self_attn.v_proj.weight": "model-00005-of-00007.safetensors", "model.layers.17.self_attn.k_proj.weight": "model-00005-of-00007.safetensors", "model.layers.17.self_attn.q_proj.weight": "model-00005-of-00007.safetensors", "model.layers.17.input_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.16.mlp.down_proj.weight": "model-00005-of-00007.safetensors", "model.layers.16.mlp.gate_proj.weight": "model-00005-of-00007.safetensors", "model.layers.16.mlp.up_proj.weight": "model-00005-of-00007.safetensors", "model.layers.16.post_attention_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.16.self_attn.o_proj.weight": "model-00005-of-00007.safetensors", "model.layers.16.self_attn.v_proj.weight": "model-00005-of-00007.safetensors", "model.layers.16.self_attn.k_proj.weight": "model-00005-of-00007.safetensors", "model.layers.16.self_attn.q_proj.weight": "model-00005-of-00007.safetensors", "model.layers.16.input_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.15.mlp.down_proj.weight": "model-00005-of-00007.safetensors", "model.layers.15.mlp.gate_proj.weight": "model-00006-of-00007.safetensors", "model.layers.15.mlp.up_proj.weight": "model-00006-of-00007.safetensors", "model.layers.15.post_attention_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.15.self_attn.o_proj.weight": "model-00006-of-00007.safetensors", "model.layers.15.self_attn.v_proj.weight": "model-00006-of-00007.safetensors", "model.layers.15.self_attn.k_proj.weight": "model-00006-of-00007.safetensors", "model.layers.15.self_attn.q_proj.weight": "model-00006-of-00007.safetensors", "model.layers.15.input_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.14.mlp.down_proj.weight": "model-00006-of-00007.safetensors", "model.layers.14.mlp.gate_proj.weight": "model-00006-of-00007.safetensors", "model.layers.14.mlp.up_proj.weight": "model-00006-of-00007.safetensors", "model.layers.14.post_attention_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.14.self_attn.o_proj.weight": "model-00006-of-00007.safetensors", "model.layers.14.self_attn.v_proj.weight": "model-00006-of-00007.safetensors", "model.layers.14.self_attn.k_proj.weight": "model-00006-of-00007.safetensors", "model.layers.14.self_attn.q_proj.weight": "model-00006-of-00007.safetensors", "model.layers.14.input_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.13.mlp.down_proj.weight": "model-00006-of-00007.safetensors", "model.layers.13.mlp.gate_proj.weight": "model-00006-of-00007.safetensors", "model.layers.13.mlp.up_proj.weight": "model-00006-of-00007.safetensors", "model.layers.13.post_attention_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.13.self_attn.o_proj.weight": "model-00006-of-00007.safetensors", "model.layers.13.self_attn.v_proj.weight": "model-00006-of-00007.safetensors", "model.layers.13.self_attn.k_proj.weight": "model-00006-of-00007.safetensors", "model.layers.13.self_attn.q_proj.weight": "model-00006-of-00007.safetensors", "model.layers.13.input_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.12.mlp.down_proj.weight": "model-00006-of-00007.safetensors", "model.layers.12.mlp.gate_proj.weight": "model-00006-of-00007.safetensors", "model.layers.12.mlp.up_proj.weight": "model-00006-of-00007.safetensors", "model.layers.12.post_attention_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.12.self_attn.o_proj.weight": "model-00006-of-00007.safetensors", "model.layers.12.self_attn.v_proj.weight": "model-00006-of-00007.safetensors", "model.layers.12.self_attn.k_proj.weight": "model-00006-of-00007.safetensors", "model.layers.12.self_attn.q_proj.weight": "model-00006-of-00007.safetensors", "model.layers.12.input_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.11.mlp.down_proj.weight": "model-00006-of-00007.safetensors", "model.layers.11.mlp.gate_proj.weight": "model-00006-of-00007.safetensors", "model.layers.11.mlp.up_proj.weight": "model-00006-of-00007.safetensors", "model.layers.11.post_attention_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.11.self_attn.o_proj.weight": "model-00007-of-00007.safetensors", "model.layers.11.self_attn.v_proj.weight": "model-00007-of-00007.safetensors", "model.layers.11.self_attn.k_proj.weight": "model-00007-of-00007.safetensors", "model.layers.11.self_attn.q_proj.weight": "model-00007-of-00007.safetensors", "model.layers.11.input_layernorm.weight": "model-00007-of-00007.safetensors", "model.layers.10.mlp.down_proj.weight": "model-00007-of-00007.safetensors", "model.layers.10.mlp.gate_proj.weight": "model-00007-of-00007.safetensors", "model.layers.10.mlp.up_proj.weight": "model-00007-of-00007.safetensors", "model.layers.10.post_attention_layernorm.weight": "model-00007-of-00007.safetensors", "model.layers.10.self_attn.o_proj.weight": "model-00007-of-00007.safetensors", "model.layers.10.self_attn.v_proj.weight": "model-00007-of-00007.safetensors", "model.layers.10.self_attn.k_proj.weight": "model-00007-of-00007.safetensors", "model.layers.10.self_attn.q_proj.weight": "model-00007-of-00007.safetensors", "model.layers.10.input_layernorm.weight": "model-00007-of-00007.safetensors", "model.layers.9.mlp.down_proj.weight": "model-00007-of-00007.safetensors", "model.layers.9.post_attention_layernorm.weight": "model-00007-of-00007.safetensors", "model.layers.9.input_layernorm.weight": "model-00007-of-00007.safetensors", "model.layers.21.mlp.down_proj.weight": "model-00007-of-00007.safetensors", "model.layers.21.mlp.gate_proj.weight": "model-00007-of-00007.safetensors", "model.layers.21.mlp.up_proj.weight": "model-00007-of-00007.safetensors", "model.layers.21.post_attention_layernorm.weight": "model-00007-of-00007.safetensors", "model.layers.21.self_attn.o_proj.weight": "model-00007-of-00007.safetensors", "model.layers.21.self_attn.v_proj.weight": "model-00007-of-00007.safetensors", "model.layers.21.self_attn.k_proj.weight": "model-00007-of-00007.safetensors", "model.layers.21.self_attn.q_proj.weight": "model-00007-of-00007.safetensors", "model.layers.21.input_layernorm.weight": "model-00007-of-00007.safetensors", "model.layers.20.mlp.down_proj.weight": "model-00007-of-00007.safetensors", "model.layers.20.mlp.gate_proj.weight": "model-00007-of-00007.safetensors", "model.layers.20.mlp.up_proj.weight": "model-00007-of-00007.safetensors", "model.layers.20.post_attention_layernorm.weight": "model-00007-of-00007.safetensors", "model.layers.20.input_layernorm.weight": "model-00007-of-00007.safetensors"}}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<unk>",
|
4 |
+
"<s>",
|
5 |
+
"</s>",
|
6 |
+
"[Partially supported]",
|
7 |
+
"[Utility:1]",
|
8 |
+
"[Utility:2]",
|
9 |
+
"[No support / Contradictory]",
|
10 |
+
"[Retrieval]",
|
11 |
+
"<paragraph>",
|
12 |
+
"[Continue to Use Evidence]",
|
13 |
+
"[Relevant]",
|
14 |
+
"[Utility:3]",
|
15 |
+
"[Utility:5]",
|
16 |
+
"[No Retrieval]",
|
17 |
+
"[Irrelevant]",
|
18 |
+
"[Utility:4]",
|
19 |
+
"</paragraph>",
|
20 |
+
"[Fully supported]"
|
21 |
+
],
|
22 |
+
"bos_token": {
|
23 |
+
"content": "<s>",
|
24 |
+
"lstrip": true,
|
25 |
+
"normalized": false,
|
26 |
+
"rstrip": true,
|
27 |
+
"single_word": false
|
28 |
+
},
|
29 |
+
"eos_token": {
|
30 |
+
"content": "</s>",
|
31 |
+
"lstrip": true,
|
32 |
+
"normalized": false,
|
33 |
+
"rstrip": true,
|
34 |
+
"single_word": false
|
35 |
+
},
|
36 |
+
"pad_token": {
|
37 |
+
"content": "<pad>",
|
38 |
+
"lstrip": true,
|
39 |
+
"normalized": false,
|
40 |
+
"rstrip": true,
|
41 |
+
"single_word": false
|
42 |
+
},
|
43 |
+
"unk_token": {
|
44 |
+
"content": "<unk>",
|
45 |
+
"lstrip": true,
|
46 |
+
"normalized": false,
|
47 |
+
"rstrip": true,
|
48 |
+
"single_word": false
|
49 |
+
}
|
50 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
|
3 |
+
size 493443
|
tokenizer_config.json
ADDED
@@ -0,0 +1,189 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"0": {
|
6 |
+
"content": "<unk>",
|
7 |
+
"lstrip": true,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": true,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"1": {
|
14 |
+
"content": "<s>",
|
15 |
+
"lstrip": true,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": true,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
},
|
21 |
+
"2": {
|
22 |
+
"content": "</s>",
|
23 |
+
"lstrip": true,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": true,
|
26 |
+
"single_word": false,
|
27 |
+
"special": true
|
28 |
+
},
|
29 |
+
"32000": {
|
30 |
+
"content": "[Partially supported]",
|
31 |
+
"lstrip": true,
|
32 |
+
"normalized": false,
|
33 |
+
"rstrip": true,
|
34 |
+
"single_word": false,
|
35 |
+
"special": true
|
36 |
+
},
|
37 |
+
"32001": {
|
38 |
+
"content": "[Utility:1]",
|
39 |
+
"lstrip": true,
|
40 |
+
"normalized": false,
|
41 |
+
"rstrip": true,
|
42 |
+
"single_word": false,
|
43 |
+
"special": true
|
44 |
+
},
|
45 |
+
"32002": {
|
46 |
+
"content": "[Utility:2]",
|
47 |
+
"lstrip": true,
|
48 |
+
"normalized": false,
|
49 |
+
"rstrip": true,
|
50 |
+
"single_word": false,
|
51 |
+
"special": true
|
52 |
+
},
|
53 |
+
"32003": {
|
54 |
+
"content": "[No support / Contradictory]",
|
55 |
+
"lstrip": true,
|
56 |
+
"normalized": false,
|
57 |
+
"rstrip": true,
|
58 |
+
"single_word": false,
|
59 |
+
"special": true
|
60 |
+
},
|
61 |
+
"32004": {
|
62 |
+
"content": "[Retrieval]",
|
63 |
+
"lstrip": true,
|
64 |
+
"normalized": false,
|
65 |
+
"rstrip": true,
|
66 |
+
"single_word": false,
|
67 |
+
"special": true
|
68 |
+
},
|
69 |
+
"32005": {
|
70 |
+
"content": "<paragraph>",
|
71 |
+
"lstrip": true,
|
72 |
+
"normalized": false,
|
73 |
+
"rstrip": true,
|
74 |
+
"single_word": false,
|
75 |
+
"special": true
|
76 |
+
},
|
77 |
+
"32006": {
|
78 |
+
"content": "[Continue to Use Evidence]",
|
79 |
+
"lstrip": true,
|
80 |
+
"normalized": false,
|
81 |
+
"rstrip": true,
|
82 |
+
"single_word": false,
|
83 |
+
"special": true
|
84 |
+
},
|
85 |
+
"32007": {
|
86 |
+
"content": "[Relevant]",
|
87 |
+
"lstrip": true,
|
88 |
+
"normalized": false,
|
89 |
+
"rstrip": true,
|
90 |
+
"single_word": false,
|
91 |
+
"special": true
|
92 |
+
},
|
93 |
+
"32008": {
|
94 |
+
"content": "[Utility:3]",
|
95 |
+
"lstrip": true,
|
96 |
+
"normalized": false,
|
97 |
+
"rstrip": true,
|
98 |
+
"single_word": false,
|
99 |
+
"special": true
|
100 |
+
},
|
101 |
+
"32009": {
|
102 |
+
"content": "[Utility:5]",
|
103 |
+
"lstrip": true,
|
104 |
+
"normalized": false,
|
105 |
+
"rstrip": true,
|
106 |
+
"single_word": false,
|
107 |
+
"special": true
|
108 |
+
},
|
109 |
+
"32010": {
|
110 |
+
"content": "[No Retrieval]",
|
111 |
+
"lstrip": true,
|
112 |
+
"normalized": false,
|
113 |
+
"rstrip": true,
|
114 |
+
"single_word": false,
|
115 |
+
"special": true
|
116 |
+
},
|
117 |
+
"32011": {
|
118 |
+
"content": "[Irrelevant]",
|
119 |
+
"lstrip": true,
|
120 |
+
"normalized": false,
|
121 |
+
"rstrip": true,
|
122 |
+
"single_word": false,
|
123 |
+
"special": true
|
124 |
+
},
|
125 |
+
"32012": {
|
126 |
+
"content": "[Utility:4]",
|
127 |
+
"lstrip": true,
|
128 |
+
"normalized": false,
|
129 |
+
"rstrip": true,
|
130 |
+
"single_word": false,
|
131 |
+
"special": true
|
132 |
+
},
|
133 |
+
"32013": {
|
134 |
+
"content": "</paragraph>",
|
135 |
+
"lstrip": true,
|
136 |
+
"normalized": false,
|
137 |
+
"rstrip": true,
|
138 |
+
"single_word": false,
|
139 |
+
"special": true
|
140 |
+
},
|
141 |
+
"32014": {
|
142 |
+
"content": "[Fully supported]",
|
143 |
+
"lstrip": true,
|
144 |
+
"normalized": false,
|
145 |
+
"rstrip": true,
|
146 |
+
"single_word": false,
|
147 |
+
"special": true
|
148 |
+
},
|
149 |
+
"32015": {
|
150 |
+
"content": "<pad>",
|
151 |
+
"lstrip": true,
|
152 |
+
"normalized": false,
|
153 |
+
"rstrip": true,
|
154 |
+
"single_word": false,
|
155 |
+
"special": true
|
156 |
+
}
|
157 |
+
},
|
158 |
+
"additional_special_tokens": [
|
159 |
+
"<unk>",
|
160 |
+
"<s>",
|
161 |
+
"</s>",
|
162 |
+
"[Partially supported]",
|
163 |
+
"[Utility:1]",
|
164 |
+
"[Utility:2]",
|
165 |
+
"[No support / Contradictory]",
|
166 |
+
"[Retrieval]",
|
167 |
+
"<paragraph>",
|
168 |
+
"[Continue to Use Evidence]",
|
169 |
+
"[Relevant]",
|
170 |
+
"[Utility:3]",
|
171 |
+
"[Utility:5]",
|
172 |
+
"[No Retrieval]",
|
173 |
+
"[Irrelevant]",
|
174 |
+
"[Utility:4]",
|
175 |
+
"</paragraph>",
|
176 |
+
"[Fully supported]"
|
177 |
+
],
|
178 |
+
"bos_token": "<s>",
|
179 |
+
"clean_up_tokenization_spaces": false,
|
180 |
+
"eos_token": "</s>",
|
181 |
+
"legacy": true,
|
182 |
+
"model_max_length": 1000000000000000019884624838656,
|
183 |
+
"pad_token": "<pad>",
|
184 |
+
"sp_model_kwargs": {},
|
185 |
+
"spaces_between_special_tokens": false,
|
186 |
+
"tokenizer_class": "LlamaTokenizer",
|
187 |
+
"unk_token": "<unk>",
|
188 |
+
"use_default_system_prompt": true
|
189 |
+
}
|