Downloads · 30 days
3
5% of all-time downloads
phanerozoic/threshold-xor3-mag14
threshold-xor3-mag14 is a machine learning model from phanerozoic. 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.
3-input XOR using cascade architecture with mag-7 XOR blocks.
Downloads · 30 days
3
5% of all-time downloads
All-time downloads
59
Public
Parameters
18
960 B on disk
Likes
0
Public
Click a slice to open those files.
.py2.7 KB · 39%
From the Hugging Face model README
3-input XOR using cascade architecture with mag-7 XOR blocks.
Note: A flat 3-hidden architecture achieves magnitude 10. See threshold-xor3-mag10.
a b c
│ │ │
└──┴──┐ │
▼ │
┌─────┐ │
│XOR-7│ │
└──┬──┘ │
│ │
└────┬───┘
▼
┌─────┐
│XOR-7│
└──┬──┘
▼
XOR3(a,b,c)
| Neurons | 6 (3 per XOR) |
| Layers | 4 |
| Parameters | 18 |
| Magnitude | 14 (2 × 7) |
| Version | Magnitude | Architecture |
|---|---|---|
| xor3 (base) | 20 | Cascade, original XOR |
| xor3-mag14 | 14 | Cascade, mag-7 XOR |
| xor3-mag10 | 10 | Flat 3-hidden |
from safetensors.torch import load_file
w = load_file('model.safetensors')
# See model.py for implementation
MIT