CoRM-469M (Top-1)
Contrastive Routing Mixture-of-Experts (CoRM). Checkpoint for the paper Beyond Magnitude: Contrastive Routing for Modular Mixture-of-Experts.
Part of the ilsp/CoRM collection.
| Model | Active Params | Total Params | Routing |
|---|---|---|---|
| CoRM-469M-top1 | 469M | 2.58B | Top-1 |
Architecture
| Hidden size | 1024 |
| Layers | 24 |
| Attention heads | 16 (4 KV heads, GQA) |
| Intermediate size | 4096 |
| Experts | 8 |
| Experts per token | 1 |
| Vocab size | 51200 |
| Max position embeddings | 1024 |
| Dtype | bfloat16 |
Usage
This model uses custom modeling code, so trust_remote_code=True is required.
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "ilsp/CoRM-469M-top1"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, trust_remote_code=True)
inputs = tokenizer("The capital of Greece is", return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=32)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Training
| Data | The Pile, GPT-2 BPE tokenizer |
| Tokens | ~31B (60k steps × 512 sequences × 1024 tokens) |
| Learning rate | 5e-4, cosine decay to 5e-5, 1% warmup |
| Load-balancing loss coefficient | 1e-1 |
| Precision / hardware | bf16, 16 GPUs |
Training code and launch scripts: github.com/athena-ilsp/CoRM.
Evaluation
See the paper for zero-shot results on nine reasoning benchmarks.
Limitations
This is a base model pretrained on The Pile; it is not instruction-tuned. The Hugging Face implementation does not use a KV cache and ignores attention_mask, so pass unpadded sequences.
Citation
@misc{xiros2026magnitudecontrastiveroutingmodular,
title={Beyond Magnitude: Contrastive Routing for Modular Mixture-of-Experts},
author={Nikolaos Xiros and Dimitrios Damianos and Maria-Eleni Zoumpoulidi and Leon Voukoutis and Vassilis Katsouros and Georgios Paraskevopoulos},
year={2026},
eprint={2609.01100},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2609.01100},
}