phanerozoic / threshold-nor

huggingface.co
Total runs: 17
24-hour runs: 0
7-day runs: 0
30-day runs: 3
Model's Last Updated: January 24 2026

Introduction of threshold-nor

Model Details of threshold-nor

threshold-nor

The silence detector. Fires only when both inputs are quiet.

Circuit
    x   y
    │   │
    └─┬─┘
      ▼
  ┌────────┐
  │w: -1,-1│
  │ b:  0  │
  └────────┘
      │
      ▼
   NOR(x,y)
Mechanism

With bias 0, we start exactly at threshold. Any input subtracts, pushing us below:

x y sum output
0 0 0 1
0 1 -1 0
1 0 -1 0
1 1 -2 0

NOR is OR with inverted output. It's also NOT extended to two inputs: NOR(x,x) = NOT(x).

Parameters
Weights [-1, -1]
Bias 0
Total 3 parameters
Optimality

Exhaustive enumeration of all 7 weight configurations at magnitudes 0-2 confirms this circuit is already at minimum magnitude (2) . There is exactly one valid configuration at magnitude 2, and no valid configurations exist below it.

Functional Completeness

Like NAND, NOR can build any Boolean function:

  • NOT(x) = NOR(x, x)
  • OR(x,y) = NOT(NOR(x,y)) = NOR(NOR(x,y), NOR(x,y))
  • AND(x,y) = NOR(NOT(x), NOT(y))

NOR logic was used in the Apollo Guidance Computer.

Usage
from safetensors.torch import load_file
import torch

w = load_file('model.safetensors')

def nor_gate(x, y):
    inputs = torch.tensor([float(x), float(y)])
    return int((inputs * w['weight']).sum() + w['bias'] >= 0)
Files
threshold-nor/
├── model.safetensors
├── model.py
├── config.json
└── README.md
License

MIT

Runs of phanerozoic threshold-nor on huggingface.co

17
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
3
30-day runs

More Information About threshold-nor huggingface.co Model

More threshold-nor license Visit here:

https://choosealicense.com/licenses/mit

threshold-nor huggingface.co

threshold-nor huggingface.co is an AI model on huggingface.co that provides threshold-nor's model effect (), which can be used instantly with this phanerozoic threshold-nor model. huggingface.co supports a free trial of the threshold-nor model, and also provides paid use of the threshold-nor. Support call threshold-nor model through api, including Node.js, Python, http.

phanerozoic threshold-nor online free

threshold-nor huggingface.co is an online trial and call api platform, which integrates threshold-nor's modeling effects, including api services, and provides a free online trial of threshold-nor, you can try threshold-nor online for free by clicking the link below.

phanerozoic threshold-nor online free url in huggingface.co:

https://huggingface.co/phanerozoic/threshold-nor

threshold-nor install

threshold-nor is an open source model from GitHub that offers a free installation service, and any user can find threshold-nor on GitHub to install. At the same time, huggingface.co provides the effect of threshold-nor install, users can directly use threshold-nor installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

threshold-nor install url in huggingface.co:

https://huggingface.co/phanerozoic/threshold-nor

Url of threshold-nor

Provider of threshold-nor huggingface.co

phanerozoic
ORGANIZATIONS

Other API from phanerozoic

huggingface.co

Total runs: 1.2K
Run Growth: 1.2K
Growth Rate: 100.00%
Updated:April 25 2026