PowerMoE-3b

PowerMoE‑3B is a 3‑billion‑parameter sparse Mixture‑of‑Experts (sMoE) language model released by IBM Research. Unlike dense LLMs that activate every parameter for each token, PowerMoE‑3B activates roughly

ibm-research 285K downloads apache-2.0 Text Generation
Frameworkstransformerssafetensors
Tagsgranitemoetext-generationmodel-index
Downloads
285K
License
apache-2.0
Pipeline
Text Generation
Author
ibm-research

Run PowerMoE-3b locally on a Q4KM hard drive

Accelerate your deployments with Q4KM hard drives pre‑loaded with PowerMoE‑3B . Each drive ships with the model, tokenizer, and optimized inference scripts, ready for plug‑and‑play on your on‑premise...

Shop Q4KM Drives

Technical Overview

PowerMoE‑3B is a 3‑billion‑parameter sparse Mixture‑of‑Experts (sMoE) language model released by IBM Research. Unlike dense LLMs that activate every parameter for each token, PowerMoE‑3B activates roughly 800 million parameters per token through a learned expert routing mechanism. This sparsity gives the model the expressive power of a much larger dense network while keeping inference latency and memory footprints comparable to a 3 B dense model.

Key capabilities include:

  • Text generation – fluent, context‑aware continuation for prose, dialogue, and technical writing.
  • Code synthesis – generates syntactically correct snippets in multiple programming languages, as demonstrated on HumanEval and MBPP benchmarks.
  • Reasoning over structured prompts – multi‑choice QA, math word problems, and logical puzzles.
  • Efficient scaling – the “Power” learning‑rate scheduler enables stable training of the sparse expert layers.

Architecture highlights:

  • Transformer backbone with 32 attention heads and 24 transformer layers.
  • Two‑level expert routing: a router selects a subset of 8 experts per layer, each expert containing a feed‑forward network of roughly 100 M parameters.
  • Parameter sharing across experts reduces memory overhead while preserving diversity.
  • Training employed the Power learning‑rate scheduler, a cosine‑based schedule with a warm‑up phase that accelerates convergence for sparse MoE models.

Intended use cases span natural‑language generation, code assistance, and quantitative reasoning. Because the model is relatively lightweight for its performance tier, it is well‑suited for research prototypes, on‑premise deployments, and edge‑server inference where GPU memory is limited.

Benchmark Performance

PowerMoE‑3B has been evaluated on a suite of lm‑eval‑harness tasks and code‑generation benchmarks. The most relevant metrics are summarized below:

  • ARC (multiple‑choice QA): 58.1 % accuracy‑norm
  • BoolQ (binary QA): 65.0 % accuracy
  • Hellaswag (commonsense reasoning): 71.5 % accuracy‑norm
  • OpenBookQA: 41.0 % accuracy‑norm
  • PIQA (physical commonsense): 79.1 % accuracy‑norm
  • Winogrande (pronoun resolution): 65.0 % accuracy‑norm
  • MMLU (5‑shot, 57 subjects): 42.8 % accuracy
  • GSM8K (math word problems, 5‑shot): 25.9 % accuracy
  • Math (4‑shot): 14.8 % accuracy
  • HumanEval (code generation): 20.1 % pass@1
  • MBPP (code generation): 32.4 % pass@1

These benchmarks test a mix of language understanding, reasoning, and program synthesis. PowerMoE‑3B’s scores are competitive with dense 6‑B‑7 B models while using fewer activated parameters, demonstrating the efficiency of the MoE design. In particular, the high PIQA and Hellaswag scores indicate strong commonsense reasoning, and the MBPP pass@1 surpasses many 3 B dense baselines.

Hardware Requirements

Because PowerMoE‑3B is a sparse model, inference memory depends on the number of active experts per token and the chosen device_map. Typical configurations are:

  • GPU VRAM: 12 GB is the absolute minimum for a batch size of 1 on a single GPU (using torch_dtype=torch.float16). For smoother performance and larger batches, 24 GB (e.g., NVIDIA RTX 4090, A6000) is recommended.
  • GPU Compute: Any CUDA‑compatible GPU with at least Compute Capability 7.5. Faster tensor cores (e.g., Ampere or Hopper) improve generation speed.
  • CPU: A modern x86‑64 CPU (Intel Xeon E5‑2690 v4 or AMD Ryzen 9 5900X) is sufficient for tokenization and data loading. For CPU‑only inference, expect >2× latency.
  • Storage: The model checkpoint (including safetensors) occupies roughly 7 GB. Keep at least 15 GB free to accommodate the model, tokenizer, and temporary cache files.
  • Performance: With a 24 GB GPU and torch.float16, the model can generate ~30 tokens/second for a 512‑token context. Using torch.compile or accelerate can push this to >45 tokens/second.

For production workloads, consider model parallelism across two GPUs (e.g., 2× A100 40 GB) to keep the expert weights resident in VRAM and avoid off‑loading to CPU.

Use Cases

PowerMoE‑3B’s blend of dense‑like fluency and expert‑driven reasoning makes it a strong candidate for:

  • AI‑assisted coding assistants – autocomplete, function generation, and bug‑fix suggestions.
  • Customer‑service chatbots – handling multi‑turn dialogue with nuanced factual recall.
  • Educational tools – generating practice questions, explanations, and step‑by‑step math solutions.
  • Research prototyping – quickly testing prompts for downstream tasks such as summarization or translation.
  • Enterprise knowledge‑base query engines – answering domain‑specific multiple‑choice questions.

Because the model runs efficiently on a single 24 GB GPU, it can be deployed on‑premise for industries with strict data‑privacy requirements, such as finance, healthcare, and legal services.

Training Details

PowerMoE‑3B was trained on a hybrid dataset that mixes publicly available corpora (e.g., The Pile, Common Crawl) with proprietary IBM‑owned text streams. The training pipeline used the transformers library from source, with torch.distributed across a cluster of NVIDIA A100 GPUs.

  • Model size: 3 B total parameters, 800 M active per token.
  • Expert count: 8 experts per MoE layer, each expert ~100 M parameters.
  • Learning‑rate schedule: Power scheduler – a cosine decay with a warm‑up that adapts to the sparse activation pattern.
  • Training compute: Approx. 1.2 M GPU‑hours on A100 40 GB (equivalent to ~150 TFLOP‑days).
  • Fine‑tuning: The model can be fine‑tuned with standard Hugging Face Trainer or accelerate scripts. Because the MoE routing is learned, fine‑tuning typically requires 2‑3× less GPU memory than a dense counterpart of similar size.

Licensing Information

The repository lists the license as Apache‑2.0 (see the README). Apache‑2.0 is a permissive open‑source license that grants:

  • Free use, modification, and distribution of the model weights and code.
  • Permission for commercial applications, including integration into SaaS products, on‑premise services, and embedded devices.
  • No requirement to disclose source code of derivative works, though a copy of the license must be retained.
  • Explicit patent grant, protecting users from patent litigation related to the contributed code.

Because the license is clear, you can safely deploy PowerMoE‑3B in commercial environments, provided you:

  • Include the original LICENSE file or a link to the Apache‑2.0 text in your distribution.
  • Provide attribution to IBM Research (e.g., “Powered by IBM Research PowerMoE‑3B”).

If you encounter any “unknown” license tags on the model card, they refer to the model‑index metadata; the underlying code and weights remain under Apache‑2.0.

Pre-loaded AI models. Ready to run.

Skip the downloads. Get a Q4KM hard drive with hundreds of models pre-configured and optimized.

Shop Q4KM Hard Drives