Multi‑Query attention (shared K/V) in the same metric space – cheaper than full MHA.
ChannelMixHead
Per‑token MLP that mixes channel dimensions (no positional mixing).
A
token‑wise router
decides, for each token, which head(s) to use and applies
feature‑gates
(FiLM‑style) and
router‑bias gates
for up/down‑scaling.
The
FFN
is a
HyperFFN
– three parallel branches (SwiGLU MLP, separable‑conv, low‑rank) combined by a
branch router
. LayerScale and optional DropPath keep training stable.
Regularisation (optional)
Triangle‑inequality (TI) penalty
on sampled triples to encourage true‑metric behaviour.
Ball pruning
– each head learns an
origin
(o_h) and
radius
(r_h); keys outside the ball are masked, giving structured sparsity.
The model
has not been fine‑tuned for safety or alignment
.
Outputs may contain
biases, profanity, or factual errors
.
Do
not
deploy in high‑stakes contexts without additional evaluation, moderation, and possibly further fine‑tuning.
License
Apache‑2.0 – see the
LICENSE
file in the repository.
Citation
@misc{moametriclm185m,
title = {reaperdoesntknow/MoA-100M: A Geometry-Aware Mixture-of-Attentions Language Model},
author = {Colca, Roy Shawn and collaborators},
year = {2025},
url = {https://huggingface.co/reaperdoesntknow/MoA-100M}
}
Changelog
Version
Date
Notes
v0.2
2025‑09‑20
500 k‑token CPU run, GPT‑2 tokenizer, LR = 5e‑4, final loss ≈ 0.30.
v0.1
2025‑09‑20
Initial public release: metric heads, MQA, ball pruning, HyperFFN, router & gates; HF‑compatible; no KV cache.
MoA-100M huggingface.co is an AI model on huggingface.co that provides MoA-100M's model effect (), which can be used instantly with this reaperdoesntknow MoA-100M model. huggingface.co supports a free trial of the MoA-100M model, and also provides paid use of the MoA-100M. Support call MoA-100M model through api, including Node.js, Python, http.
MoA-100M huggingface.co is an online trial and call api platform, which integrates MoA-100M's modeling effects, including api services, and provides a free online trial of MoA-100M, you can try MoA-100M online for free by clicking the link below.
reaperdoesntknow MoA-100M online free url in huggingface.co:
MoA-100M is an open source model from GitHub that offers a free installation service, and any user can find MoA-100M on GitHub to install. At the same time, huggingface.co provides the effect of MoA-100M install, users can directly use MoA-100M installed effect in huggingface.co for debugging and trial. It also supports api for free installation.