granitemoe_tiny
The sparse Mixture-of-Experts architecture behind PowerMoE-3B, trained with the Power scheduler.
Language · 270 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Language
- Parameters
- 4.3M
- Operations
- 270
- Framework
- PyTorch
- Recurrent
- No
- Published
- 2024
- Source
- transformers 5.18.0
- License
- Apache-2.0
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m5256
- Graph hash
- 2311f2c439f49c9f4e0c73c51e81ab0c5b3a0186edf73f0fff0c7a012bb2bde8
- Skeleton hash
- 22662f80ae062f5698ee755ba9a51dd2e42324209a727139a523b826ba1aeee4
- Architecture hash
- c9cf373aba07ca9462cddd3aaa5031f91534cdfe6260b3e1a82b45b603322531
- Diagram SHA-256
- cdb3b1b06ac5f4e147d6f1b79ff3d160a42eeaf920c528c3f4e444dae62277f4
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
GraniteMoe was proposed in the paper Power Scheduler: A Batch Size and Token Number Agnostic Learning Rate Scheduler. The model that paper describes, PowerMoE-3B, is a 3B sparse Mixture-of-Experts language model trained with the Power learning rate scheduler, and it sparsely activates 800M parameters for each token.
After thousands of small experiments, the authors found a power-law relationship between the variables and showed that it transfers across model sizes. From that observation they proposed the Power scheduler, a learning rate scheduler that is agnostic about the number of training tokens and batch size. PowerMoE-3B has shown promising results against dense models with 2x the active parameters on benchmarks including natural language multi-choices, code generation and math reasoning. It was trained on a mix of open-source and proprietary datasets.
Key idea. The Power scheduler, a learning rate scheduler that is agnostic about the number of training tokens and batch size.
- granitemoe
- granite moe
- granite
- powermoe
- powermoe-3b
- power scheduler
- ibm
- mixture of experts
- sparse moe
- text generation
AI-written summary, based on the model's documentation and checked automatically against it; not reviewed by a person. Corrections welcome.