A custom 272M-parameter Mixture-of-Experts language model trained from scratch on 8× NVIDIA H200 GPUs. Implements a DeepSeek-V3 style architecture with a shared expert, top-k routed experts, RoPE positional encoding, and SwiGLU activations.
Eve-2 is a base model for specialized fine-tuning — not a chatbot. Fine-tune it in ~20 minutes on consumer hardware for narrow tasks like PII redaction, text classification, semantic compression cleanup, or lightweight routing in multi-agent pipelines. Runs on a Raspberry Pi.
MoE at this scale is a deliberate choice. With 8 experts but only 2 active per token, inference cost is roughly equivalent to a 80M dense model while the total parameter budget gives each expert room to specialize. The shared expert handles common patterns across all tokens; the routed experts develop narrow competencies during fine-tuning.
This makes Eve-2 a natural base for nano-LM swarms — fine-tune copies for specific tasks, deploy at the edge, coordinate through lightweight protocols.
The model runs on CPU at ~272M parameters. Inference is slower but functional — memory footprint is under 1 GB.
python
1device ="cpu"2# Everything else stays the same
Intended Use
Eve-2 is a fine-tuning base, not a finished product. Out of the box it produces coherent English but has no instruction-following capability. The workflow:
Take this base model
Fine-tune on a narrow task (~20 min on consumer GPU)
Deploy at the edge as part of a specialized nano-LM swarm
Target applications: Data cleaning, PII redaction, text classification, semantic compression repair, lightweight routing/triage in multi-agent pipelines.
Limitations
This is a 272M model. It will not write essays, follow complex instructions, or compete with larger models on general benchmarks. That's by design — it's a small, fast, cheap-to-tune specialist base.
The train/val gap of ~0.62 at convergence suggests the model could benefit from additional data diversity beyond FineWeb-Edu for downstream generalization.
Files
├── pytorch_model.bin # Model weights
├── config.json # Architecture config
├── modeling_eve.py # Model class definitions (required to load)
├── generate.py # Standalone inference script
├── train.py # DDP training script
└── requirements.txt # Dependencies
Citation
bibtex
1@misc{anthony_maio_2026_eve2,
2 author = { Anthony Maio },
3 title = { Eve-2-MoE-272M (Revision ee90542) },
4 year = 2026,
5 url = { https://huggingface.co/anthonym21/Eve-2-MoE-272M },
6 doi = { 10.57967/hf/7731 },
7 publisher = { Hugging Face }
8}