Upload folder using huggingface_hub
Browse files- README.md +54 -0
- config.json +33 -0
- mergekit_moe_config.yml +30 -0
- model-00001-of-00001.safetensors +3 -0
- model.safetensors.index.json +1 -0
- special_tokens_map.json +43 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +57 -0
README.md
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- moe
|
5 |
+
- frankenmoe
|
6 |
+
- merge
|
7 |
+
- mergekit
|
8 |
+
- lazymergekit
|
9 |
+
- aloobun/Cypher-Mini-Laser-1.8B
|
10 |
+
- aloobun/Cypher-CoT-Laser-1.8B
|
11 |
+
base_model:
|
12 |
+
- aloobun/Cypher-Mini-Laser-1.8B
|
13 |
+
- aloobun/Cypher-CoT-Laser-1.8B
|
14 |
+
---
|
15 |
+
|
16 |
+
# Cypher-Laser-Mixtral-2x1.8B-v0.1
|
17 |
+
|
18 |
+
Cypher-Laser-Mixtral-2x1.8B-v0.1 is a Mixure of Experts (MoE) made with the following models using [LazyMergekit](https://colab.research.google.com/drive/1obulZ1ROXHjYLn6PPZJwRR6GzgQogxxb?usp=sharing):
|
19 |
+
* [aloobun/Cypher-Mini-Laser-1.8B](https://huggingface.co/aloobun/Cypher-Mini-Laser-1.8B)
|
20 |
+
* [aloobun/Cypher-CoT-Laser-1.8B](https://huggingface.co/aloobun/Cypher-CoT-Laser-1.8B)
|
21 |
+
|
22 |
+
## 🧩 Configuration
|
23 |
+
|
24 |
+
```yaml
|
25 |
+
base_model: aloobun/Cypher-Mini-Laser-1.8B
|
26 |
+
gate_mode: hidden
|
27 |
+
dtype: bfloat16
|
28 |
+
experts:
|
29 |
+
- source_model: aloobun/Cypher-Mini-Laser-1.8B
|
30 |
+
positive_prompts:
|
31 |
+
- "Write a Python script that sorts a list of integers using the bubble sort algorithm."
|
32 |
+
- "Write a JavaScript function that redirects a web page to another page after 5 seconds."
|
33 |
+
- "Describe the steps to troubleshoot a fluid dynamics issue with a water fountain."
|
34 |
+
- "Write a short story about a knight's quest to find a lost treasure, and then summarize it in one paragraph."
|
35 |
+
- "Summarize the following article with details and clarity."
|
36 |
+
- "Tell me about your favorite book and why you like it."
|
37 |
+
|
38 |
+
- source_model: aloobun/Cypher-CoT-Laser-1.8B
|
39 |
+
positive_prompts:
|
40 |
+
- "Liam saw an animal running on the farm. Q: Is it true that The animal could be a horse."
|
41 |
+
- "Based on the following paragraph can we conclude that the sentence below is true?"
|
42 |
+
- "According to the article, how do dolphins communicate with each other?"
|
43 |
+
- "Solve this math problem Solve 7644 = 4648*d - 4557*d for d."
|
44 |
+
- "If we have 3 marbles, and two roll under the counter, and one is found, how many marbles are there?"
|
45 |
+
- "What is the result of 25 divided by 5?"
|
46 |
+
- "Is it morally justifiable to lie to protect someone's feelings?"
|
47 |
+
- "Determine if the sentence is true based on the text below. Choose from options."
|
48 |
+
- "What might a person do if they forget their umbrella on a rainy day?"
|
49 |
+
- "Which of the following is an example of renewable energy: a) Coal, b) Solar, c) Oil, d) Natural gas?"
|
50 |
+
- "What is the capital of Canada? a) Toronto, b) Ottawa, c) Montreal, d) Vancouver."
|
51 |
+
- "Which of these animals is a mammal? a) Snake, b) Dolphin, c) Turtle, d) Frog."
|
52 |
+
- "Given a story, answer the question about the story."
|
53 |
+
- "Given a prompt and four completions, select the completion that is the most plausible in continuing or answering the prompt."
|
54 |
+
```
|
config.json
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "aloobun/Cypher-Mini-Laser-1.8B",
|
3 |
+
"architectures": [
|
4 |
+
"MixtralForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": 1,
|
8 |
+
"eos_token_id": 2,
|
9 |
+
"hidden_act": "silu",
|
10 |
+
"hidden_size": 2560,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 6912,
|
13 |
+
"max_position_embeddings": 16384,
|
14 |
+
"model_type": "mixtral",
|
15 |
+
"num_attention_heads": 32,
|
16 |
+
"num_experts_per_tok": 2,
|
17 |
+
"num_hidden_layers": 24,
|
18 |
+
"num_key_value_heads": 8,
|
19 |
+
"num_local_experts": 2,
|
20 |
+
"output_router_logits": false,
|
21 |
+
"pad_token_id": 0,
|
22 |
+
"pretraining_tp": 1,
|
23 |
+
"rms_norm_eps": 1e-05,
|
24 |
+
"rope_scaling": null,
|
25 |
+
"rope_theta": 10000.0,
|
26 |
+
"router_aux_loss_coef": 0.001,
|
27 |
+
"sliding_window": null,
|
28 |
+
"tie_word_embeddings": false,
|
29 |
+
"torch_dtype": "bfloat16",
|
30 |
+
"transformers_version": "4.38.1",
|
31 |
+
"use_cache": true,
|
32 |
+
"vocab_size": 32000
|
33 |
+
}
|
mergekit_moe_config.yml
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
base_model: aloobun/Cypher-Mini-Laser-1.8B
|
3 |
+
gate_mode: hidden
|
4 |
+
dtype: bfloat16
|
5 |
+
experts:
|
6 |
+
- source_model: aloobun/Cypher-Mini-Laser-1.8B
|
7 |
+
positive_prompts:
|
8 |
+
- "Write a Python script that sorts a list of integers using the bubble sort algorithm."
|
9 |
+
- "Write a JavaScript function that redirects a web page to another page after 5 seconds."
|
10 |
+
- "Describe the steps to troubleshoot a fluid dynamics issue with a water fountain."
|
11 |
+
- "Write a short story about a knight's quest to find a lost treasure, and then summarize it in one paragraph."
|
12 |
+
- "Summarize the following article with details and clarity."
|
13 |
+
- "Tell me about your favorite book and why you like it."
|
14 |
+
|
15 |
+
- source_model: aloobun/Cypher-CoT-Laser-1.8B
|
16 |
+
positive_prompts:
|
17 |
+
- "Liam saw an animal running on the farm. Q: Is it true that The animal could be a horse."
|
18 |
+
- "Based on the following paragraph can we conclude that the sentence below is true?"
|
19 |
+
- "According to the article, how do dolphins communicate with each other?"
|
20 |
+
- "Solve this math problem Solve 7644 = 4648*d - 4557*d for d."
|
21 |
+
- "If we have 3 marbles, and two roll under the counter, and one is found, how many marbles are there?"
|
22 |
+
- "What is the result of 25 divided by 5?"
|
23 |
+
- "Is it morally justifiable to lie to protect someone's feelings?"
|
24 |
+
- "Determine if the sentence is true based on the text below. Choose from options."
|
25 |
+
- "What might a person do if they forget their umbrella on a rainy day?"
|
26 |
+
- "Which of the following is an example of renewable energy: a) Coal, b) Solar, c) Oil, d) Natural gas?"
|
27 |
+
- "What is the capital of Canada? a) Toronto, b) Ottawa, c) Montreal, d) Vancouver."
|
28 |
+
- "Which of these animals is a mammal? a) Snake, b) Dolphin, c) Turtle, d) Frog."
|
29 |
+
- "Given a story, answer the question about the story."
|
30 |
+
- "Given a prompt and four completions, select the completion that is the most plausible in continuing or answering the prompt."
|
model-00001-of-00001.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0a6533cde407466ad837bf278a6573ce97dce64b5cf2c3442aa8c7fd37d027fe
|
3 |
+
size 6210726744
|
model.safetensors.index.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"metadata": {"mergekit_version": "0.0.4"}, "weight_map": {"model.embed_tokens.weight": "model-00001-of-00001.safetensors", "model.norm.weight": "model-00001-of-00001.safetensors", "lm_head.weight": "model-00001-of-00001.safetensors", "model.layers.0.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.1.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.2.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.3.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.4.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.5.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.6.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.7.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.8.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.9.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.10.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.11.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.12.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.13.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.14.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.15.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.16.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.17.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.18.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.19.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.20.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.21.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.22.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.23.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.0.block_sparse_moe.experts.0.w3.weight": "model-00001-of-00001.safetensors", "model.layers.0.block_sparse_moe.experts.1.w3.weight": "model-00001-of-00001.safetensors", "model.layers.1.block_sparse_moe.experts.0.w3.weight": "model-00001-of-00001.safetensors", "model.layers.1.block_sparse_moe.experts.1.w3.weight": "model-00001-of-00001.safetensors", "model.layers.2.block_sparse_moe.experts.0.w3.weight": "model-00001-of-00001.safetensors", "model.layers.2.block_sparse_moe.experts.1.w3.weight": "model-00001-of-00001.safetensors", "model.layers.3.block_sparse_moe.experts.0.w3.weight": "model-00001-of-00001.safetensors", "model.layers.3.block_sparse_moe.experts.1.w3.weight": "model-00001-of-00001.safetensors", "model.layers.4.block_sparse_moe.experts.0.w3.weight": "model-00001-of-00001.safetensors", "model.layers.4.block_sparse_moe.experts.1.w3.weight": "model-00001-of-00001.safetensors", "model.layers.5.block_sparse_moe.experts.0.w3.weight": "model-00001-of-00001.safetensors", "model.layers.5.block_sparse_moe.experts.1.w3.weight": "model-00001-of-00001.safetensors", "model.layers.6.block_sparse_moe.experts.0.w3.weight": "model-00001-of-00001.safetensors", "model.layers.6.block_sparse_moe.experts.1.w3.weight": "model-00001-of-00001.safetensors", "model.layers.7.block_sparse_moe.experts.0.w3.weight": "model-00001-of-00001.safetensors", "model.layers.7.block_sparse_moe.experts.1.w3.weight": "model-00001-of-00001.safetensors", "model.layers.8.block_sparse_moe.experts.0.w3.weight": "model-00001-of-00001.safetensors", "model.layers.8.block_sparse_moe.experts.1.w3.weight": "model-00001-of-00001.safetensors", "model.layers.9.block_sparse_moe.experts.0.w3.weight": "model-00001-of-00001.safetensors", "model.layers.9.block_sparse_moe.experts.1.w3.weight": "model-00001-of-00001.safetensors", "model.layers.10.block_sparse_moe.experts.0.w3.weight": "model-00001-of-00001.safetensors", "model.layers.10.block_sparse_moe.experts.1.w3.weight": "model-00001-of-00001.safetensors", "model.layers.11.block_sparse_moe.experts.0.w3.weight": "model-00001-of-00001.safetensors", "model.layers.11.block_sparse_moe.experts.1.w3.weight": "model-00001-of-00001.safetensors", "model.layers.12.block_sparse_moe.experts.0.w3.weight": "model-00001-of-00001.safetensors", "model.layers.12.block_sparse_moe.experts.1.w3.weight": "model-00001-of-00001.safetensors", "model.layers.13.block_sparse_moe.experts.0.w3.weight": "model-00001-of-00001.safetensors", "model.layers.13.block_sparse_moe.experts.1.w3.weight": "model-00001-of-00001.safetensors", "model.layers.14.block_sparse_moe.experts.0.w3.weight": "model-00001-of-00001.safetensors", "model.layers.14.block_sparse_moe.experts.1.w3.weight": "model-00001-of-00001.safetensors", "model.layers.15.block_sparse_moe.experts.0.w3.weight": "model-00001-of-00001.safetensors", "model.layers.15.block_sparse_moe.experts.1.w3.weight": "model-00001-of-00001.safetensors", "model.layers.16.block_sparse_moe.experts.0.w3.weight": "model-00001-of-00001.safetensors", "model.layers.16.block_sparse_moe.experts.1.w3.weight": "model-00001-of-00001.safetensors", "model.layers.17.block_sparse_moe.experts.0.w3.weight": "model-00001-of-00001.safetensors", "model.layers.17.block_sparse_moe.experts.1.w3.weight": "model-00001-of-00001.safetensors", "model.layers.18.block_sparse_moe.experts.0.w3.weight": "model-00001-of-00001.safetensors", "model.layers.18.block_sparse_moe.experts.1.w3.weight": "model-00001-of-00001.safetensors", "model.layers.19.block_sparse_moe.experts.0.w3.weight": "model-00001-of-00001.safetensors", "model.layers.19.block_sparse_moe.experts.1.w3.weight": "model-00001-of-00001.safetensors", "model.layers.20.block_sparse_moe.experts.0.w3.weight": "model-00001-of-00001.safetensors", "model.layers.20.block_sparse_moe.experts.1.w3.weight": "model-00001-of-00001.safetensors", "model.layers.21.block_sparse_moe.experts.0.w3.weight": "model-00001-of-00001.safetensors", "model.layers.21.block_sparse_moe.experts.1.w3.weight": "model-00001-of-00001.safetensors", "model.layers.22.block_sparse_moe.experts.0.w3.weight": "model-00001-of-00001.safetensors", "model.layers.22.block_sparse_moe.experts.1.w3.weight": "model-00001-of-00001.safetensors", "model.layers.23.block_sparse_moe.experts.0.w3.weight": "model-00001-of-00001.safetensors", "model.layers.23.block_sparse_moe.experts.1.w3.weight": "model-00001-of-00001.safetensors", "model.layers.0.block_sparse_moe.experts.0.w2.weight": "model-00001-of-00001.safetensors", "model.layers.0.block_sparse_moe.experts.1.w2.weight": "model-00001-of-00001.safetensors", "model.layers.1.block_sparse_moe.experts.0.w2.weight": "model-00001-of-00001.safetensors", "model.layers.1.block_sparse_moe.experts.1.w2.weight": "model-00001-of-00001.safetensors", "model.layers.2.block_sparse_moe.experts.0.w2.weight": "model-00001-of-00001.safetensors", "model.layers.2.block_sparse_moe.experts.1.w2.weight": "model-00001-of-00001.safetensors", "model.layers.3.block_sparse_moe.experts.0.w2.weight": "model-00001-of-00001.safetensors", "model.layers.3.block_sparse_moe.experts.1.w2.weight": "model-00001-of-00001.safetensors", "model.layers.4.block_sparse_moe.experts.0.w2.weight": "model-00001-of-00001.safetensors", "model.layers.4.block_sparse_moe.experts.1.w2.weight": "model-00001-of-00001.safetensors", "model.layers.5.block_sparse_moe.experts.0.w2.weight": "model-00001-of-00001.safetensors", "model.layers.5.block_sparse_moe.experts.1.w2.weight": "model-00001-of-00001.safetensors", "model.layers.6.block_sparse_moe.experts.0.w2.weight": "model-00001-of-00001.safetensors", "model.layers.6.block_sparse_moe.experts.1.w2.weight": "model-00001-of-00001.safetensors", "model.layers.7.block_sparse_moe.experts.0.w2.weight": "model-00001-of-00001.safetensors", "model.layers.7.block_sparse_moe.experts.1.w2.weight": "model-00001-of-00001.safetensors", "model.layers.8.block_sparse_moe.experts.0.w2.weight": "model-00001-of-00001.safetensors", "model.layers.8.block_sparse_moe.experts.1.w2.weight": "model-00001-of-00001.safetensors", "model.layers.9.block_sparse_moe.experts.0.w2.weight": "model-00001-of-00001.safetensors", "model.layers.9.block_sparse_moe.experts.1.w2.weight": "model-00001-of-00001.safetensors", "model.layers.10.block_sparse_moe.experts.0.w2.weight": "model-00001-of-00001.safetensors", "model.layers.10.block_sparse_moe.experts.1.w2.weight": "model-00001-of-00001.safetensors", "model.layers.11.block_sparse_moe.experts.0.w2.weight": "model-00001-of-00001.safetensors", "model.layers.11.block_sparse_moe.experts.1.w2.weight": "model-00001-of-00001.safetensors", "model.layers.12.block_sparse_moe.experts.0.w2.weight": "model-00001-of-00001.safetensors", "model.layers.12.block_sparse_moe.experts.1.w2.weight": "model-00001-of-00001.safetensors", "model.layers.13.block_sparse_moe.experts.0.w2.weight": "model-00001-of-00001.safetensors", "model.layers.13.block_sparse_moe.experts.1.w2.weight": "model-00001-of-00001.safetensors", "model.layers.14.block_sparse_moe.experts.0.w2.weight": "model-00001-of-00001.safetensors", "model.layers.14.block_sparse_moe.experts.1.w2.weight": "model-00001-of-00001.safetensors", "model.layers.15.block_sparse_moe.experts.0.w2.weight": "model-00001-of-00001.safetensors", "model.layers.15.block_sparse_moe.experts.1.w2.weight": "model-00001-of-00001.safetensors", "model.layers.16.block_sparse_moe.experts.0.w2.weight": "model-00001-of-00001.safetensors", "model.layers.16.block_sparse_moe.experts.1.w2.weight": "model-00001-of-00001.safetensors", "model.layers.17.block_sparse_moe.experts.0.w2.weight": "model-00001-of-00001.safetensors", "model.layers.17.block_sparse_moe.experts.1.w2.weight": "model-00001-of-00001.safetensors", "model.layers.18.block_sparse_moe.experts.0.w2.weight": "model-00001-of-00001.safetensors", "model.layers.18.block_sparse_moe.experts.1.w2.weight": "model-00001-of-00001.safetensors", "model.layers.19.block_sparse_moe.experts.0.w2.weight": "model-00001-of-00001.safetensors", "model.layers.19.block_sparse_moe.experts.1.w2.weight": "model-00001-of-00001.safetensors", "model.layers.20.block_sparse_moe.experts.0.w2.weight": "model-00001-of-00001.safetensors", "model.layers.20.block_sparse_moe.experts.1.w2.weight": "model-00001-of-00001.safetensors", "model.layers.21.block_sparse_moe.experts.0.w2.weight": "model-00001-of-00001.safetensors", "model.layers.21.block_sparse_moe.experts.1.w2.weight": "model-00001-of-00001.safetensors", "model.layers.22.block_sparse_moe.experts.0.w2.weight": "model-00001-of-00001.safetensors", "model.layers.22.block_sparse_moe.experts.1.w2.weight": "model-00001-of-00001.safetensors", "model.layers.23.block_sparse_moe.experts.0.w2.weight": "model-00001-of-00001.safetensors", "model.layers.23.block_sparse_moe.experts.1.w2.weight": "model-00001-of-00001.safetensors", "model.layers.0.block_sparse_moe.experts.0.w1.weight": "model-00001-of-00001.safetensors", "model.layers.0.block_sparse_moe.experts.1.w1.weight": "model-00001-of-00001.safetensors", "model.layers.1.block_sparse_moe.experts.0.w1.weight": "model-00001-of-00001.safetensors", "model.layers.1.block_sparse_moe.experts.1.w1.weight": "model-00001-of-00001.safetensors", "model.layers.2.block_sparse_moe.experts.0.w1.weight": "model-00001-of-00001.safetensors", "model.layers.2.block_sparse_moe.experts.1.w1.weight": "model-00001-of-00001.safetensors", "model.layers.3.block_sparse_moe.experts.0.w1.weight": "model-00001-of-00001.safetensors", "model.layers.3.block_sparse_moe.experts.1.w1.weight": "model-00001-of-00001.safetensors", "model.layers.4.block_sparse_moe.experts.0.w1.weight": "model-00001-of-00001.safetensors", "model.layers.4.block_sparse_moe.experts.1.w1.weight": "model-00001-of-00001.safetensors", "model.layers.5.block_sparse_moe.experts.0.w1.weight": "model-00001-of-00001.safetensors", "model.layers.5.block_sparse_moe.experts.1.w1.weight": "model-00001-of-00001.safetensors", "model.layers.6.block_sparse_moe.experts.0.w1.weight": "model-00001-of-00001.safetensors", "model.layers.6.block_sparse_moe.experts.1.w1.weight": "model-00001-of-00001.safetensors", "model.layers.7.block_sparse_moe.experts.0.w1.weight": "model-00001-of-00001.safetensors", "model.layers.7.block_sparse_moe.experts.1.w1.weight": "model-00001-of-00001.safetensors", "model.layers.8.block_sparse_moe.experts.0.w1.weight": "model-00001-of-00001.safetensors", "model.layers.8.block_sparse_moe.experts.1.w1.weight": "model-00001-of-00001.safetensors", "model.layers.9.block_sparse_moe.experts.0.w1.weight": "model-00001-of-00001.safetensors", "model.layers.9.block_sparse_moe.experts.1.w1.weight": "model-00001-of-00001.safetensors", "model.layers.10.block_sparse_moe.experts.0.w1.weight": "model-00001-of-00001.safetensors", "model.layers.10.block_sparse_moe.experts.1.w1.weight": "model-00001-of-00001.safetensors", "model.layers.11.block_sparse_moe.experts.0.w1.weight": "model-00001-of-00001.safetensors", "model.layers.11.block_sparse_moe.experts.1.w1.weight": "model-00001-of-00001.safetensors", "model.layers.12.block_sparse_moe.experts.0.w1.weight": "model-00001-of-00001.safetensors", "model.layers.12.block_sparse_moe.experts.1.w1.weight": "model-00001-of-00001.safetensors", "model.layers.13.block_sparse_moe.experts.0.w1.weight": "model-00001-of-00001.safetensors", "model.layers.13.block_sparse_moe.experts.1.w1.weight": "model-00001-of-00001.safetensors", "model.layers.14.block_sparse_moe.experts.0.w1.weight": "model-00001-of-00001.safetensors", "model.layers.14.block_sparse_moe.experts.1.w1.weight": "model-00001-of-00001.safetensors", "model.layers.15.block_sparse_moe.experts.0.w1.weight": "model-00001-of-00001.safetensors", "model.layers.15.block_sparse_moe.experts.1.w1.weight": "model-00001-of-00001.safetensors", "model.layers.16.block_sparse_moe.experts.0.w1.weight": "model-00001-of-00001.safetensors", "model.layers.16.block_sparse_moe.experts.1.w1.weight": "model-00001-of-00001.safetensors", "model.layers.17.block_sparse_moe.experts.0.w1.weight": "model-00001-of-00001.safetensors", "model.layers.17.block_sparse_moe.experts.1.w1.weight": "model-00001-of-00001.safetensors", "model.layers.18.block_sparse_moe.experts.0.w1.weight": "model-00001-of-00001.safetensors", "model.layers.18.block_sparse_moe.experts.1.w1.weight": "model-00001-of-00001.safetensors", "model.layers.19.block_sparse_moe.experts.0.w1.weight": "model-00001-of-00001.safetensors", "model.layers.19.block_sparse_moe.experts.1.w1.weight": "model-00001-of-00001.safetensors", "model.layers.20.block_sparse_moe.experts.0.w1.weight": "model-00001-of-00001.safetensors", "model.layers.20.block_sparse_moe.experts.1.w1.weight": "model-00001-of-00001.safetensors", "model.layers.21.block_sparse_moe.experts.0.w1.weight": "model-00001-of-00001.safetensors", "model.layers.21.block_sparse_moe.experts.1.w1.weight": "model-00001-of-00001.safetensors", "model.layers.22.block_sparse_moe.experts.0.w1.weight": "model-00001-of-00001.safetensors", "model.layers.22.block_sparse_moe.experts.1.w1.weight": "model-00001-of-00001.safetensors", "model.layers.23.block_sparse_moe.experts.0.w1.weight": "model-00001-of-00001.safetensors", "model.layers.23.block_sparse_moe.experts.1.w1.weight": "model-00001-of-00001.safetensors", "model.layers.0.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.1.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.2.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.3.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.4.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.5.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.6.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.7.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.8.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.9.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.10.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.11.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.12.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.13.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.14.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.15.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.16.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.17.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.18.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.19.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.20.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.21.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.22.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.23.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.0.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.1.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.2.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.3.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.4.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.5.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.6.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.7.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.8.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.9.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.10.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.11.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.12.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.13.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.14.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.15.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.16.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.17.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.18.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.19.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.20.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.21.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.22.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.23.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.0.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.1.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.2.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.3.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.4.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.5.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.6.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.7.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.8.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.9.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.10.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.11.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.12.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.13.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.14.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.15.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.16.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.17.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.18.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.19.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.20.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.21.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.22.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.23.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.0.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.1.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.2.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.3.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.4.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.5.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.6.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.7.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.8.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.9.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.10.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.11.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.12.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.13.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.14.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.15.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.16.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.17.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.18.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.19.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.20.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.21.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.22.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.23.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.0.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.1.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.2.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.3.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.4.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.5.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.6.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.7.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.8.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.9.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.10.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.11.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.12.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.13.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.14.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.15.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.16.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.17.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.18.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.19.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.20.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.21.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.22.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.23.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.0.block_sparse_moe.gate.weight": "model-00001-of-00001.safetensors", "model.layers.1.block_sparse_moe.gate.weight": "model-00001-of-00001.safetensors", "model.layers.2.block_sparse_moe.gate.weight": "model-00001-of-00001.safetensors", "model.layers.3.block_sparse_moe.gate.weight": "model-00001-of-00001.safetensors", "model.layers.4.block_sparse_moe.gate.weight": "model-00001-of-00001.safetensors", "model.layers.5.block_sparse_moe.gate.weight": "model-00001-of-00001.safetensors", "model.layers.6.block_sparse_moe.gate.weight": "model-00001-of-00001.safetensors", "model.layers.7.block_sparse_moe.gate.weight": "model-00001-of-00001.safetensors", "model.layers.8.block_sparse_moe.gate.weight": "model-00001-of-00001.safetensors", "model.layers.9.block_sparse_moe.gate.weight": "model-00001-of-00001.safetensors", "model.layers.10.block_sparse_moe.gate.weight": "model-00001-of-00001.safetensors", "model.layers.11.block_sparse_moe.gate.weight": "model-00001-of-00001.safetensors", "model.layers.12.block_sparse_moe.gate.weight": "model-00001-of-00001.safetensors", "model.layers.13.block_sparse_moe.gate.weight": "model-00001-of-00001.safetensors", "model.layers.14.block_sparse_moe.gate.weight": "model-00001-of-00001.safetensors", "model.layers.15.block_sparse_moe.gate.weight": "model-00001-of-00001.safetensors", "model.layers.16.block_sparse_moe.gate.weight": "model-00001-of-00001.safetensors", "model.layers.17.block_sparse_moe.gate.weight": "model-00001-of-00001.safetensors", "model.layers.18.block_sparse_moe.gate.weight": "model-00001-of-00001.safetensors", "model.layers.19.block_sparse_moe.gate.weight": "model-00001-of-00001.safetensors", "model.layers.20.block_sparse_moe.gate.weight": "model-00001-of-00001.safetensors", "model.layers.21.block_sparse_moe.gate.weight": "model-00001-of-00001.safetensors", "model.layers.22.block_sparse_moe.gate.weight": "model-00001-of-00001.safetensors", "model.layers.23.block_sparse_moe.gate.weight": "model-00001-of-00001.safetensors"}}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<unk>",
|
4 |
+
"<s>",
|
5 |
+
"</s>"
|
6 |
+
],
|
7 |
+
"bos_token": {
|
8 |
+
"content": "<s>",
|
9 |
+
"lstrip": false,
|
10 |
+
"normalized": false,
|
11 |
+
"rstrip": false,
|
12 |
+
"single_word": false
|
13 |
+
},
|
14 |
+
"cls_token": {
|
15 |
+
"content": "</s>",
|
16 |
+
"lstrip": false,
|
17 |
+
"normalized": false,
|
18 |
+
"rstrip": false,
|
19 |
+
"single_word": false
|
20 |
+
},
|
21 |
+
"eos_token": {
|
22 |
+
"content": "</s>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false
|
27 |
+
},
|
28 |
+
"pad_token": "<s>",
|
29 |
+
"sep_token": {
|
30 |
+
"content": "</s>",
|
31 |
+
"lstrip": false,
|
32 |
+
"normalized": false,
|
33 |
+
"rstrip": false,
|
34 |
+
"single_word": false
|
35 |
+
},
|
36 |
+
"unk_token": {
|
37 |
+
"content": "<unk>",
|
38 |
+
"lstrip": false,
|
39 |
+
"normalized": false,
|
40 |
+
"rstrip": false,
|
41 |
+
"single_word": false
|
42 |
+
}
|
43 |
+
}
|
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:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
|
3 |
+
size 499723
|
tokenizer_config.json
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"add_prefix_space": true,
|
5 |
+
"added_tokens_decoder": {
|
6 |
+
"0": {
|
7 |
+
"content": "<unk>",
|
8 |
+
"lstrip": false,
|
9 |
+
"normalized": false,
|
10 |
+
"rstrip": false,
|
11 |
+
"single_word": false,
|
12 |
+
"special": true
|
13 |
+
},
|
14 |
+
"1": {
|
15 |
+
"content": "<s>",
|
16 |
+
"lstrip": false,
|
17 |
+
"normalized": false,
|
18 |
+
"rstrip": false,
|
19 |
+
"single_word": false,
|
20 |
+
"special": true
|
21 |
+
},
|
22 |
+
"2": {
|
23 |
+
"content": "</s>",
|
24 |
+
"lstrip": false,
|
25 |
+
"normalized": false,
|
26 |
+
"rstrip": false,
|
27 |
+
"single_word": false,
|
28 |
+
"special": true
|
29 |
+
}
|
30 |
+
},
|
31 |
+
"additional_special_tokens": [
|
32 |
+
"<unk>",
|
33 |
+
"<s>",
|
34 |
+
"</s>"
|
35 |
+
],
|
36 |
+
"bos_token": "<s>",
|
37 |
+
"chat_template": "{% for message in messages %}{% if message['role'] == 'user' %}{{ '<|prompt|>' + message['content'] + eos_token }}{% elif message['role'] == 'system' %}{{ '<|system|>' + message['content'] + eos_token }}{% elif message['role'] == 'assistant' %}{{ '<|answer|>' + message['content'] + eos_token }}{% endif %}{% if loop.last and add_generation_prompt %}{{ '<|answer|>' }}{% endif %}{% endfor %}",
|
38 |
+
"clean_up_tokenization_spaces": false,
|
39 |
+
"cls_token": "</s>",
|
40 |
+
"eos_token": "</s>",
|
41 |
+
"legacy": false,
|
42 |
+
"max_length": 1024,
|
43 |
+
"model_max_length": 1000000000000000019884624838656,
|
44 |
+
"pad_to_multiple_of": null,
|
45 |
+
"pad_token": "<s>",
|
46 |
+
"pad_token_type_id": 0,
|
47 |
+
"padding_side": "left",
|
48 |
+
"sep_token": "</s>",
|
49 |
+
"sp_model_kwargs": {},
|
50 |
+
"spaces_between_special_tokens": false,
|
51 |
+
"stride": 0,
|
52 |
+
"tokenizer_class": "LlamaTokenizer",
|
53 |
+
"truncation_side": "right",
|
54 |
+
"truncation_strategy": "longest_first",
|
55 |
+
"unk_token": "<unk>",
|
56 |
+
"use_default_system_prompt": false
|
57 |
+
}
|