ridgerchu/matmulfreellm
Implementation for MatMul-free LM. observed · 2026-08-28
Health v2 · maintenance only
49/100
- Activity 55
- Release rhythm 35
- Longevity 61
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 862
- days_rel: n/a
- days_push: 275
- n_releases_24m: 0
Adoption not part of the score
3089 stars · 201 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A Python implementation of MatMul-Free LM, a language model architecture that eliminates matrix multiplication operations using ternary weights and linear attention. It is compatible with the Hugging Face Transformers library and provides pretrained models from 370M to 2.7B parameters.
Use cases
- train a language model without matrix multiplication
- run efficient LLM inference with ternary weights
- experiment with linear transformer architectures
- load a matmul-free model with huggingface AutoModel
- research hardware-efficient language model architectures
- compare scaling laws of matmul-free vs transformer models
When to choose
- you want to experiment with matmul-free or bit-linear LLM architectures
- you need a Hugging Face-compatible linear transformer implementation
- you are researching efficient language model scaling
When to avoid
- you need a production-ready general-purpose LLM framework
- you require standard transformer architectures with mature tooling
- you work outside the PyTorch/Triton ecosystem
Facets
library · maturity active
machine-learning llm-inference llm-training deep-learning large-language-models deep-learning machine-learning artificial-intelligence python matmul-free linear-transformer ternary-weights huggingface-transformers efficient-inference research gpu linux
1 source
- readme: https://github.com/ridgerchu/matmulfreellm · fetched 2026-08-28 · 79b78803d5e5
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ridgerchu/matmulfreellm | main | 49 |
For agents
markdown · JSON · MCP: product_card(name="ridgerchu/matmulfreellm")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem