Download manifest.json from jacano-mac/mac-1: direct link, hf CLI and curl.
- Browser
- Download file 1.13 kB
-
https://huggingface.co/jacano-mac/mac-1/resolve/main/manifest.json
- Command line
-
hf download hf://jacano-mac/mac-1/manifest.json
-
curl -L -o manifest.json https://huggingface.co/jacano-mac/mac-1/resolve/main/manifest.json
1.13 kB
| { | |
| "entry_class": "model.MyModel", | |
| "output_base": 2, | |
| "framework": "pytorch", | |
| "model_description": "Recurrent model that computes (a*b) mod p exactly. Two trained MLP cells (a full-adder and a full-subtractor in radix-2^k form (k=6); input 2k+1, hidden 32, output k+1, ReLU activations; ~a few thousand parameters each) are composed by a fixed recurrence into modular addition, and modular addition into modular multiplication (Horner reduction of b, then double-and-add over the bits of a). Inputs a, b, p are taken as bit vectors; the answer is emitted as base-2 digits, MSB-first. Every value-carrying operation is a forward pass of a trained cell; the recurrence depth scales with operand width, analogous to an RNN unrolled over the input bits.", | |
| "training_description": "The two cells (full-adder, full-subtractor) are MLPs (hidden width 32, ReLU) trained from random initialization by supervised learning on their complete 8-row Boolean truth tables until exact fit, verified exhaustively over the full input space. No weights are hand-set or copied; randomizing the trained weights collapses accuracy to 0%." | |
| } |