CoolFace
Modelpublic

Skylaude/WizardLM-2-4x7B-MoE

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
0likes27downloads
Model Card

WizardLM-2-4x7B-MoE

WizardLM-2-4x7B-MoE is an experimental MoE model made with Mergekit. It was made by combining four WizardLM-2-7B models using the random gate mode.

Please be sure to set experts per token to 4 for the best results! Context length should be the same as Mistral-7B-Instruct-v0.1 (8k tokens). For instruction templates, Vicuna-v1.1 is recommended.

Quanitized versions

EXL2 (for fast GPU-only inference): <br /> 80bpw: https://huggingface.co/Skylaude/WizardLM-2-4x7B-MoE-exl2-80bpw (~ 25 GB vram) <br /> 60bpw: https://huggingface.co/Skylaude/WizardLM-2-4x7B-MoE-exl2-60bpw (~ 19 GB vram) <br /> 50bpw: https://huggingface.co/Skylaude/WizardLM-2-4x7B-MoE-exl2-50bpw (~ 16 GB vram) <br /> 425bpw: https://huggingface.co/Skylaude/WizardLM-2-4x7B-MoE-exl2-425bpw (~ 14 GB vram) <br /> 35bpw: https://huggingface.co/Skylaude/WizardLM-2-4x7B-MoE-exl2-35bpw (~ 12 GB vram) <br /> 30bpw: https://huggingface.co/Skylaude/WizardLM-2-4x7B-MoE-exl2-30bpw (~ 11 GB vram)

GGUF (for mixed GPU+CPU inference or CPU-only inference): <br /> https://huggingface.co/mradermacher/WizardLM-2-4x7B-MoE-GGUF <br /> Thanks to Michael Radermacher for making these quants!

Evaluation

I don't expect this model to be that great since it's something that I made as an experiment. However, I will submit it to the Open LLM Leaderboard to see how it matches up against some other models (particularly WizardLM-2-7B and WizardLM-2-70B).

Mergekit config

base_model: models/WizardLM-2-7B
gate_mode: random
dtype: float16
experts_per_token: 4
experts:
  - source_model: models/WizardLM-2-7B
  - source_model: models/WizardLM-2-7B
  - source_model: models/WizardLM-2-7B
  - source_model: models/WizardLM-2-7B