Downloads · 30 days
0
mac-test/modular-arithmetic-residue-net
modular-arithmetic-residue-net is a machine learning model from mac-test. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This repository contains an original compact DLP-table baseline for the SAIR Modular Arithmetic Challenge.
Downloads · 30 days
0
Access
Public
Updated Jul 21, 2026
Repo size
165 MB
Likes
0
Public
Click a slice to open those files.
.bin58.3 MB · 100%
From the Hugging Face model README
This repository contains an original compact DLP-table baseline for the SAIR Modular Arithmetic Challenge.
The model is designed to improve the earlier residue-table baseline while keeping the artifact relatively small. Each operand is independently encoded as an integer representation. For each supported prime, weights.bin stores learned log and exponent tables that let the model emit a single base-p digit.
This version supports every prime up to 16381. It should preserve Tier 1 and Tier 2 behavior and improve a substantial part of Tier 3. For larger unsupported primes, the model intentionally falls back to [0].
This is still a compact baseline rather than a high-tier neural solution. It is intended to provide stronger small-prime behavior while keeping the submitted implementation original and avoiding copied official example code.
Files:
manifest.json: submission manifestmodel.py: DlpTableBaseline implementationweights.json: table metadataweights.bin: learned log and exponent tables