phanerozoic / threshold-not

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

Introduction of threshold-not

Model Details of threshold-not

threshold-not

The minimal threshold circuit. One neuron, one weight, one bias.

Circuit
      x
      │
      ▼
  ┌───────┐
  │ w: -1 │
  │ b:  0 │
  └───────┘
      │
      ▼
   NOT(x)
Mechanism

A threshold neuron fires when its weighted input plus bias reaches zero. NOT uses weight -1 and bias 0:

  • Input 0: sum = 0, fires (output 1)
  • Input 1: sum = -1, silent (output 0)

The negative weight flips the relationship between input magnitude and firing.

Parameters
Weight -1
Bias 0
Total 2 parameters
Optimality

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

Properties
  • Involutive: NOT(NOT(x)) = x
  • Foundation for NAND, NOR
Usage
from safetensors.torch import load_file

w = load_file('model.safetensors')

def not_gate(x):
    return int(x * w['weight'].item() + w['bias'].item() >= 0)
Files
threshold-not/
├── model.safetensors
├── model.py
├── config.json
└── README.md
License

MIT

Runs of phanerozoic threshold-not on huggingface.co

18
Total runs
0
24-hour runs
0
3-day runs
3
7-day runs
6
30-day runs

More Information About threshold-not huggingface.co Model

More threshold-not license Visit here:

https://choosealicense.com/licenses/mit

threshold-not huggingface.co

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

phanerozoic threshold-not online free

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

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

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

threshold-not install

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

threshold-not install url in huggingface.co:

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

Url of threshold-not

Provider of threshold-not huggingface.co

phanerozoic
ORGANIZATIONS

Other API from phanerozoic

huggingface.co

Total runs: 37
Run Growth: -14
Growth Rate: -37.84%
Updated:September 26 2026