File size: 6,782 Bytes
0b43dd3 | 1 | <!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>Epode MoE family</title><style>:root{--bg:#fff;--ink:#1f2328;--muted:#57606a;--line:#d0d7de;--head:#f6f8fa}@media (prefers-color-scheme: dark){:root{--bg:#0d1117;--ink:#e6edf3;--muted:#8b949e;--line:#30363d;--head:#161b22}}body{background:var(--bg);color:var(--ink);font:15px/1.55 system-ui,-apple-system,Segoe UI,sans-serif;margin:0}main{max-width:1100px;margin:0 auto;padding:24px 16px}a{color:#2f81f7}table{border-collapse:collapse;display:block;overflow-x:auto;margin:10px 0;font-size:12px;width:max-content;max-width:100%}th,td{border:1px solid var(--line);padding:3px 8px;white-space:nowrap;line-height:1.35}th{background:var(--head);font-weight:600}img{max-width:100%;height:auto}code{background:var(--head);padding:1px 4px;border-radius:4px}pre{background:var(--head);padding:8px;overflow-x:auto}</style></head><body><main id="c"></main><script src="https://cdn.jsdelivr.net/npm/marked@12.0.2/marked.min.js"></script><script>const md="\n# Epode\n\n**Sparse mixture-of-experts language models, 0.5B to 7B parameters, trained from scratch on a small compute budget, in base and chat versions.**\n\nA final-year project at the School of Computer Science, University of Birmingham.\n\n| | |\n|---|---|\n| **Chat models** | [Note 0.5B](https://huggingface.co/epode-ai/Note-0.5B-Instruct) 路 [Verse 1B](https://huggingface.co/epode-ai/Verse-1B-Instruct) 路 [Canto 3.3B](https://huggingface.co/epode-ai/Canto-3.3B-Instruct) 路 [Saga 7B](https://huggingface.co/epode-ai/Saga-7B-Instruct) |\n| **Base models** | [Note 0.5B](https://huggingface.co/epode-ai/Note-0.5B-Base) 路 [Verse 1B](https://huggingface.co/epode-ai/Verse-1B-Base) 路 [Canto 3.3B](https://huggingface.co/epode-ai/Canto-3.3B-Base) 路 Saga 7B (not released separately) |\n| **Collections** | [Epode MoE Instruct](https://huggingface.co/collections/Epode/epode-moe-instruct-6b0c83cce9f55342c4795a73) 路 [Epode MoE Base](https://huggingface.co/collections/Epode/epode-moe-base-6b01d7a611bad297ae7f59e3) 路 [Early dense models](https://huggingface.co/collections/Epode/early-dense-models-6b0c83d57044f891324b6d42) 路 [Other projects](https://huggingface.co/collections/Epode/other-projects-6b0c83d654d233d3f59d6e0a) |\n\n---\n\n## Chat models (Instruct)\n\nGreedy decoding, native chat format, the model's own stop tokens; our own harness.\n\n| Model | Total / active | IFEval (prompt strict) | Multi-turn constraints (MTC) | Multi-IF | Natural stop | GSM8K (chat) | HumanEval+ | MBPP+ |\n|---|---|--:|--:|--:|--:|--:|--:|--:|\n| [Note 0.5B](https://huggingface.co/epode-ai/Note-0.5B-Instruct) | 0.49B / 0.17B | 47.1 | 35.4 | 37.4 | 99.0 | 6.6 | 14.0 | 20.1 |\n| [Verse 1B](https://huggingface.co/epode-ai/Verse-1B-Instruct) | 1.12B / 0.31B | 49.0 | 60.0 | 43.0 | 98.3 | 25.5 | 22.0 | 35.7 |\n| [Canto 3.3B](https://huggingface.co/epode-ai/Canto-3.3B-Instruct) | 3.30B / 0.87B | 58.4 | 55.4 | 48.9 | 98.3 | 47.8 | 38.4 | 45.8 |\n| **[Saga 7B](https://huggingface.co/epode-ai/Saga-7B-Instruct)** | 6.93B / 1.39B | **70.8** | **79.2** | **57.0** | **99.0** | **68.7** | **47.0** | **53.2** |\n\nPost-training: supervised fine-tuning, on-policy preference optimisation against repetition and non-stopping, and rounds of preference optimisation with a verifiable instruction-following reward. Details are in each model card.\n\n## Base models\n\n| Model | Total / active params | Tokens | avg8 | MMLU | MMLU-Pro | GSM8K | HumanEval | MBPP |\n|---|---|---|--:|--:|--:|--:|--:|--:|\n| [Note 0.5B](https://huggingface.co/epode-ai/Note-0.5B-Base) | 0.49B / 0.17B | 47B | 58.44 | 35.66 | 11.79 | 5.00 | 15.24 | 6.80 |\n| [Verse 1B](https://huggingface.co/epode-ai/Verse-1B-Base) | 1.12B / 0.31B | 54B | 63.05 | 41.08 | 12.62 | 20.62 | 14.63 | 15.80 |\n| [Canto 3.3B](https://huggingface.co/epode-ai/Canto-3.3B-Base) | 3.30B / 0.87B | 112B | 67.35 | 47.22 | 19.44 | 42.68 | 18.90 | 30.80 |\n| **Saga 7B** (base of Saga-7B-Instruct) | 6.93B / 1.39B | 106B | **70.89** | **55.38** | **32.87** | **65.35** | **34.76** | **44.60** |\n\n\n\nSaga 7B base compared with public base models of 6.4B to 7.3B total parameters; every bar comes from the same harness.\n\n---\n\n## Architecture\n\n| | |\n|---|---|\n| Layers | Sparse MoE blocks: sigmoid-routed experts plus one shared expert |\n| Attention | Sliding-window layers interleaved with global-attention layers |\n| Output | Logit soft-cap |\n| Code | One shared `modeling_epode.py` for all four sizes |\n| Serving | A hand-written inference engine, and a vLLM plugin for evaluation |\n\n## Quick start\n\n```python\nfrom transformers import AutoModelForCausalLM, AutoTokenizer\n\nmodel_id = \"epode-ai/Canto-3.3B-Base\" # once the repositories are public\ntok = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)\nmodel = AutoModelForCausalLM.from_pretrained(model_id, trust_remote_code=True, torch_dtype=\"bfloat16\", device_map=\"auto\")\nprint(tok.decode(model.generate(**tok(\"The theory of evolution\", return_tensors=\"pt\").to(model.device), max_new_tokens=60)[0]))\n```\n\nThese are base (completion) models. For chat, use the Instruct models; each Instruct card has a chat example.\n\n\n## Evaluation\n\n- **Harness**: lm-eval 0.4.13, full test sets, greedy decoding.\n- **avg8**: the mean of eight 0-shot commonsense and science tasks (HellaSwag, ARC-Challenge, ARC-Easy, PIQA, WinoGrande, BoolQ, OpenBookQA, SciQ).\n- **Other benchmarks**:\n - MMLU and MMLU-Pro;\n - GSM8K, 8-shot chain-of-thought;\n - HumanEval and MBPP (plus their \"+\" variants), pass@1.\n\n\n## License and status\n\n- **License**: CC BY-NC 4.0, for research use.\n- **Status**: the model repositories stay private until the project is submitted.\n\n---\n\n## Other models on this account\n\nNot part of the Epode MoE family:\n\n- **[Early dense models](https://huggingface.co/collections/Epode/early-dense-models-6b0c83d57044f891324b6d42)**\n - [Prelude-1B-Base](https://huggingface.co/epode-ai/Prelude-1B-Base): a dense Llama-style model with 1.10B parameters, pretrained from scratch on 20B tokens on one NVIDIA L20.\n - [Lyric-135M](https://huggingface.co/epode-ai/Lyric-135M): 134.5M parameters, about 13B tokens, with continued pretraining and SFT.\n - Both use a different evaluation harness, so their numbers cannot be compared with the tables above.\n- **[Other projects](https://huggingface.co/collections/Epode/other-projects-6b0c83d654d233d3f59d6e0a)**: multimodal, video, classification, fine-tunes and datasets.\n";document.getElementById("c").innerHTML=marked.parse(md);</script></body></html> |