Download README.md from epode-ai/README: direct link, hf CLI and curl.
- Browser
- Download file 5.7 kB
-
https://huggingface.co/spaces/epode-ai/README/resolve/main/README.md
- Command line
-
hf download hf://spaces/epode-ai/README/README.md
-
curl -L -o README.md https://huggingface.co/spaces/epode-ai/README/resolve/main/README.md
title: Epode MoE family
emoji: 馃幖
short_description: Sparse MoE LLMs, 0.5B to 7B, base + chat, from scratch
colorFrom: indigo
colorTo: blue
sdk: static
pinned: false
Epode
Sparse mixture-of-experts language models, 0.5B to 7B parameters, trained from scratch on a small compute budget, in base and chat versions.
A final-year project at the School of Computer Science, University of Birmingham.
| Chat models | Note 0.5B 路 Verse 1B 路 Canto 3.3B 路 Saga 7B |
| Base models | Note 0.5B 路 Verse 1B 路 Canto 3.3B 路 Saga 7B (not released separately) |
| Collections | Epode MoE Instruct 路 Epode MoE Base 路 Early dense models 路 Other projects |
Chat models (Instruct)
Greedy decoding, native chat format, the model's own stop tokens; our own harness.
| Model | Total / active | IFEval (prompt strict) | Multi-turn constraints (MTC) | Multi-IF | Natural stop | GSM8K (chat) | HumanEval+ | MBPP+ |
|---|---|---|---|---|---|---|---|---|
| Note 0.5B | 0.49B / 0.17B | 47.1 | 35.4 | 37.4 | 99.0 | 6.6 | 14.0 | 20.1 |
| Verse 1B | 1.12B / 0.31B | 49.0 | 60.0 | 43.0 | 98.3 | 25.5 | 22.0 | 35.7 |
| Canto 3.3B | 3.30B / 0.87B | 58.4 | 55.4 | 48.9 | 98.3 | 47.8 | 38.4 | 45.8 |
| Saga 7B | 6.93B / 1.39B | 70.8 | 79.2 | 57.0 | 99.0 | 68.7 | 47.0 | 53.2 |
Post-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.
Base models
| Model | Total / active params | Tokens | avg8 | MMLU | MMLU-Pro | GSM8K | HumanEval | MBPP |
|---|---|---|---|---|---|---|---|---|
| Note 0.5B | 0.49B / 0.17B | 47B | 58.44 | 35.66 | 11.79 | 5.00 | 15.24 | 6.80 |
| Verse 1B | 1.12B / 0.31B | 54B | 63.05 | 41.08 | 12.62 | 20.62 | 14.63 | 15.80 |
| Canto 3.3B | 3.30B / 0.87B | 112B | 67.35 | 47.22 | 19.44 | 42.68 | 18.90 | 30.80 |
| Saga 7B (base of Saga-7B-Instruct) | 6.93B / 1.39B | 106B | 70.89 | 55.38 | 32.87 | 65.35 | 34.76 | 44.60 |
Saga 7B base compared with public base models of 6.4B to 7.3B total parameters; every bar comes from the same harness.
Architecture
| Layers | Sparse MoE blocks: sigmoid-routed experts plus one shared expert |
| Attention | Sliding-window layers interleaved with global-attention layers |
| Output | Logit soft-cap |
| Code | One shared modeling_epode.py for all four sizes |
| Serving | A hand-written inference engine, and a vLLM plugin for evaluation |
Quick start
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "epode-ai/Canto-3.3B-Base" # once the repositories are public
tok = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(model_id, trust_remote_code=True, torch_dtype="bfloat16", device_map="auto")
print(tok.decode(model.generate(**tok("The theory of evolution", return_tensors="pt").to(model.device), max_new_tokens=60)[0]))
These are base (completion) models. For chat, use the Instruct models; each Instruct card has a chat example.
Evaluation
- Harness: lm-eval 0.4.13, full test sets, greedy decoding.
- avg8: the mean of eight 0-shot commonsense and science tasks (HellaSwag, ARC-Challenge, ARC-Easy, PIQA, WinoGrande, BoolQ, OpenBookQA, SciQ).
- Other benchmarks:
- MMLU and MMLU-Pro;
- GSM8K, 8-shot chain-of-thought;
- HumanEval and MBPP (plus their "+" variants), pass@1.
License and status
- License: CC BY-NC 4.0, for research use.
- Status: the model repositories stay private until the project is submitted.
Other models on this account
Not part of the Epode MoE family:
- Early dense models
- Prelude-1B-Base: a dense Llama-style model with 1.10B parameters, pretrained from scratch on 20B tokens on one NVIDIA L20.
- Lyric-135M: 134.5M parameters, about 13B tokens, with continued pretraining and SFT.
- Both use a different evaluation harness, so their numbers cannot be compared with the tables above.
- Other projects: multimodal, video, classification, fine-tunes and datasets.
