ridgerchu/matmulfreellm
Some data may be outdated — see provenance labels.
Implementation for MatMul-free LM. observed · 2026-09-27
Health v2 · maintenance only
76/100
- Activity 93
- Release rhythm 61
- Longevity 65
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 910
- days_rel: 44
- days_push: 44
- n_releases_24m: 1
Adoption not part of the score
3093 stars · 203 forks observed · 2026-09-27
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-09-27 · 79b78803d5e5
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ridgerchu/matmulfreellm | main | 76 |
For agents
markdown · JSON · MCP: product_card(name="ridgerchu/matmulfreellm")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem