Views
No views yet
| 专家名称 | 能力方向 | 模型路径 |
|---|---|---|
| 📐 数学专家 | 解题、推理 | Qwen2.5-Math-72B-Instruct |
| 🧬 医学专家 | 问诊、医学知识 | Qwen2.5-Aloe-Beta-72B |
| 🧾 业务专家 | 自我认知、内部业务场景 | - |
| 🔧 共享专家 | 通用能力 | Qwen2.5-72B-Instruct |
mergekit-moe 工具构建 MoE 模型,所有专家均通过 positive_prompts / negative_prompts 进行能力域控制,确保领域间的分工明确,避免路由混淆。方案具备如下特性:residual_scale 控制的通用专家,提高跨任务处理能力。experts_per_token=1,每个 token 仅激活一个专家,显著降低计算资源需求。MergeKit 的 MoE 合并无需对专家模型进行再训练,适合在多模型体系中构建模块化组合。详见 官方文档。
1base_model: Qwen2.5-72B-Instruct
2architecture: qwen
3gate_mode: hidden
4dtype: bfloat16
5experts_per_token: 1
6
7experts:
8 - source_model: Qwen2.5-Math-72B-Instruct
9 positive_prompts:
10 - "你是一个高中数学老师"
11 - source_model: Qwen2.5-Aloe-Beta-72B
12 positive_prompts:
13 - "你是心脑血管专家"
14 - source_model: <Expert for self-identity and internal task handling>
15 positive_prompts:
16 - "你是谁"
17 - <internal task>
18
19shared_experts:
20 - source_model: Qwen2.5-72B-Instruct
21 positive_prompts:
22 - "你是一个AI代码助手"
23 residual_scale: 0.1merge_moe.yaml。| 模型 | Qwen2.5-72B-Instruct | Qwen2.5-Math-72B-Instruct | Qwen2.5-Aloe-Beta-72B | MoE-4x72B-MergeKit |
|---|---|---|---|---|
| MMLU | 83.47 | - | - | 81.01 |
| CLUEWSC | 85.59 | - | - | 87.39 |
| DROP | 66.80 | - | - | 67.06 |
| CLUE_C3 | 97.41 | - | - | 96.88 |
| OpenBookQA | 92.40 | - | - | 94.20 |
| HumanEval | 87.20 | - | - | 85.15 |
| MBPP | 79.00 | - | - | 78.40 |
| BBH | 80.00 | - | 45.25 | 87.40 |
| CMATH | 81.17 | 94.30 | - | 88.17 |
| APE210K | 77.30 | - | - | 77.80 |
| MedQA | 77.93 | - | 85.94 | 82.78 |
1@misc{MoE-4x72B-mergekit,
2 title={MoE-4x72B-MergeKit: A Modular MoE Approach for Domain Expert Fusion},
3 author={wenge-research},
4 year={2025},
5 url={https://github.com/wenge-research/MoE-4x72B-mergekit}
6}