File size: 8,965 Bytes
f52fdae 6e65ec0 f52fdae b729670 f52fdae 3586fc0 c5747ec 3586fc0 f52fdae b7c96e2 f52fdae 6e65ec0 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 |
---
license: apache-2.0
tags:
- moe
- openchat
- hermes
- dolphin
- bagel
model-index:
- name: Draco-8x7B
results:
- task:
type: text-generation
name: Text Generation
dataset:
name: AI2 Reasoning Challenge (25-Shot)
type: ai2_arc
config: ARC-Challenge
split: test
args:
num_few_shot: 25
metrics:
- type: acc_norm
value: 65.02
name: normalized accuracy
source:
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=PulsarAI/Draco-8x7B
name: Open LLM Leaderboard
- task:
type: text-generation
name: Text Generation
dataset:
name: HellaSwag (10-Shot)
type: hellaswag
split: validation
args:
num_few_shot: 10
metrics:
- type: acc_norm
value: 85.24
name: normalized accuracy
source:
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=PulsarAI/Draco-8x7B
name: Open LLM Leaderboard
- task:
type: text-generation
name: Text Generation
dataset:
name: MMLU (5-Shot)
type: cais/mmlu
config: all
split: test
args:
num_few_shot: 5
metrics:
- type: acc
value: 64.96
name: accuracy
source:
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=PulsarAI/Draco-8x7B
name: Open LLM Leaderboard
- task:
type: text-generation
name: Text Generation
dataset:
name: TruthfulQA (0-shot)
type: truthful_qa
config: multiple_choice
split: validation
args:
num_few_shot: 0
metrics:
- type: mc2
value: 62.65
source:
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=PulsarAI/Draco-8x7B
name: Open LLM Leaderboard
- task:
type: text-generation
name: Text Generation
dataset:
name: Winogrande (5-shot)
type: winogrande
config: winogrande_xl
split: validation
args:
num_few_shot: 5
metrics:
- type: acc
value: 80.66
name: accuracy
source:
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=PulsarAI/Draco-8x7B
name: Open LLM Leaderboard
- task:
type: text-generation
name: Text Generation
dataset:
name: GSM8k (5-shot)
type: gsm8k
config: main
split: test
args:
num_few_shot: 5
metrics:
- type: acc
value: 66.79
name: accuracy
source:
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=PulsarAI/Draco-8x7B
name: Open LLM Leaderboard
---
![image/jpeg](https://cdn-uploads.huggingface.co/production/uploads/6468ce47e134d050a58aa89c/VWIJplnya5L7wmGxK4Lut.jpeg)
# 💫 Draco-8x7B
This is the model for Draco-8x7B. I used [this repo](https://bit.ly/weyaxi-moe-repo) to make this MOE model.
This model's experts are not using any merged models.
# 📚 Other branches (Number of Experts Per Token)
Other branches that this repository contains differ only slightly (from a git diff perspective) in terms of the number of experts per token.
Usually, a higher value for the number of experts per token will result in better performance, but it may also lead to increased inference time.
| Number of experts per token | Link of the branch |
| ---------------------------- | -------------------------------------------------------------------------------------------|
| 2 | [Main](https://huggingface.co/Weyaxi/Draco-8x7B/tree/main) |
| 3 | [3-experts-per-token](https://huggingface.co/Weyaxi/Draco-8x7B/tree/3-experts-per-token) |
| 4 | [4-experts-per-token](https://huggingface.co/Weyaxi/Draco-8x7B/tree/4-experts-per-token) |
| 6 | [6-experts-per-token](https://huggingface.co/Weyaxi/Draco-8x7B/tree/6-experts-per-token) |
| 8 | [8-experts-per-token](https://huggingface.co/Weyaxi/Draco-8x7B/tree/8-experts-per-token) |
# 💬 Prompt Template(s):
This model includes many models, so providing only one prompt template is not enough. You can use and try these prompt templates and decide which works best for you.
**Note:** The current chat template in the tokenizer config is set to [openchat-3.5-0106](https://huggingface.co/openchat/openchat-3.5-0106)'s chat template.
**Note 2:** It is also important to note that [jondurbin/bagel-dpo-7b-v0.1](https://huggingface.co/jondurbin/bagel-dpo-7b-v0.1) is using many prompt templates other than I provided. You can visit [jondurbin/bagel-dpo-7b-v0.1](https://huggingface.co/jondurbin/bagel-dpo-7b-v0.1) to learn more about this templates.
### GPT4 Correct
Used in [openchat/openchat-3.5-0106](https://huggingface.co/openchat/openchat-3.5-0106), [beowolx/CodeNinja-1.0-OpenChat-7B](https://huggingface.co/beowolx/CodeNinja-1.0-OpenChat-7B)
```
GPT4 Correct User: {user}<|end_of_turn|>GPT4 Correct Assistant: {asistant}<|end_of_turn|>
```
### ChatML:
Used in [teknium/OpenHermes-2.5-Mistral-7B](https://huggingface.co/teknium/OpenHermes-2.5-Mistral-7B), [jondurbin/bagel-dpo-7b-v0.1](https://huggingface.co/jondurbin/bagel-dpo-7b-v0.1), [cognitivecomputations/dolphin-2.6-mistral-7b-dpo-laser](https://huggingface.co/cognitivecomputations/dolphin-2.6-mistral-7b-dpo-laser), [senseable/WestLake-7B-v2](https://huggingface.co/senseable/WestLake-7B-v2)
```
<|im_start|>system
{system}<|im_end|>
<|im_start|>user
{user}<|im_end|>
<|im_start|>assistant
{asistant}<|im_end|>
```
### Math Alpaca
Used in [meta-math/MetaMath-Mistral-7B](https://huggingface.co/meta-math/MetaMath-Mistral-7B)
```
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
{instruction}
### Response: Let's think step by step.
```
# 🛠️ Yaml Config
<details><summary>See config</summary>
```yaml
base_model: openchat/openchat-3.5-0106
gate_mode: hidden
dtype: bfloat16
experts:
- source_model: openchat/openchat-3.5-0106
positive_prompts: # General (Mistral finetune)
- "chat"
- "assistant"
- "tell me"
- "explain"
- source_model: teknium/OpenHermes-2.5-Mistral-7B
positive_prompts: # General (Mistral finetune)
- "interact"
- "converse"
- "respond"
- "express"
- source_model: jondurbin/bagel-dpo-7b-v0.1
positive_prompts: # Science (Mistral finetune)
- "science"
- "biology"
- "chemistry"
- "physics"
- "Newton's laws"
- "scientific method"
- "periodic table"
- "photosynthesis process"
- source_model: meta-math/MetaMath-Mistral-7B
positive_prompts: # Math (Mistral finetune)
- "reason"
- "math"
- "mathematics"
- "solve"
- "count"
- source_model: cognitivecomputations/dolphin-2.6-mistral-7b-dpo-laser
positive_prompts: # Uncensored (Mistral finetune)
- "dolphin"
- "uncensored"
- "unbiased"
- "unfiltered"
- "unrestricted"
- "offensive"
- source_model: beowolx/CodeNinja-1.0-OpenChat-7B
positive_prompts: # Code (openchat-3.5-1210 finetune)
- "code"
- "script"
- "python"
- "javascript"
- "programming"
- "algorithm"
- source_model: senseable/WestLake-7B-v2
positive_prompts: # Roleplay (Unknown finetune)
- "storywriting"
- "write"
- "scene"
- "story"
- "character"
- "act as"
- "you are"
- source_model: snorkelai/Snorkel-Mistral-PairRM-DPO
positive_prompts: # Question Answering (? Mistral-7B-Instruct-v0.2 finetune ?)
- "what happens"
- "what is"
- "what can"
- "why"
- "who"
- "can a"
```
</details><br>
# 🔄 Quantizationed versions
Quantizationed versions of this model is available thanks to [TheBloke](https://hf.co/TheBloke).
##### GPTQ
- [TheBloke/Draco-8x7B-GPTQ](https://huggingface.co/TheBloke/Draco-8x7B-GPTQ)
##### GGUF
- [TheBloke/Draco-8x7B-GGUF](https://huggingface.co/TheBloke/Draco-8x7B-GGUF)
##### AWQ
- [TheBloke/Draco-8x7B-AWQ](https://huggingface.co/TheBloke/Draco-8x7B-AWQ)
If you would like to support me:
[☕ Buy Me a Coffee](https://www.buymeacoffee.com/weyaxi)
# [Open LLM Leaderboard Evaluation Results](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard)
Detailed results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/details_PulsarAI__Draco-8x7B)
| Metric |Value|
|---------------------------------|----:|
|Avg. |70.89|
|AI2 Reasoning Challenge (25-Shot)|65.02|
|HellaSwag (10-Shot) |85.24|
|MMLU (5-Shot) |64.96|
|TruthfulQA (0-shot) |62.65|
|Winogrande (5-shot) |80.66|
|GSM8k (5-shot) |66.79|
|