Downloads · 30 days
0
operajdw/lossless-ternary
lossless-ternary is a machine learning model from operajdw. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
Lossless Base-3/5 + Gretchen — a multiply-free ternary toolkit
Downloads · 30 days
0
Access
Public
Updated Jul 10, 2026
Repo size
—
Likes
1
Public
Click a slice to open those files.
Other1.5 KB · 58%
From the Hugging Face model README
Lossless Base-3/5 + Gretchen — a multiply-free ternary toolkit
Two pieces that fit together:
The case: a ternary model's matmul is compute-light and memory-light, so it belongs on a CPU with SIMD or hand-written assembly, not a GPU built for floating-point multiplies. (Cf. Microsoft's bitnet.cpp.) In the spirit of ancient Egyptian arithmetic — multiply by shift-and-add, represent exactly by addition, never round.
Code, tests, and full write-ups: https://github.com/drogongod/lossless-ternary
Author: Jonathan David Wint. License: MIT.