phanerozoic / threshold-atmost3outof5

huggingface.co
Total runs: 9
24-hour runs: -1
7-day runs: -4
30-day runs: 1
Model's Last Updated: January 24 2026

Introduction of threshold-atmost3outof5

Model Details of threshold-atmost3outof5

threshold-atmost3outof5

At most 3 of 5 inputs high.

Function

atmost3outof5(a, b, c, d, e) = 1 if (a + b + c + d + e) <= 3, else 0

Truth Table (selected)
sum out
0 1
1 1
2 1
3 1
4 0
5 0
Architecture

Single neuron: weights [-1, -1, -1, -1, -1], bias 3

Fires when: -a - b - c - d - e + 3 >= 0, i.e., sum <= 3

Parameters
Inputs 5
Outputs 1
Neurons 1
Layers 1
Parameters 6
Magnitude 8
Usage
from safetensors.torch import load_file
import torch

w = load_file('model.safetensors')

def atmost3of5(a, b, c, d, e):
    inp = torch.tensor([float(a), float(b), float(c), float(d), float(e)])
    return int((inp @ w['neuron.weight'].T + w['neuron.bias'] >= 0).item())

print(atmost3of5(1, 1, 1, 0, 0))  # 1 (sum=3)
print(atmost3of5(1, 1, 1, 1, 0))  # 0 (sum=4)
License

MIT

Runs of phanerozoic threshold-atmost3outof5 on huggingface.co

9
Total runs
-1
24-hour runs
-4
3-day runs
-4
7-day runs
1
30-day runs

More Information About threshold-atmost3outof5 huggingface.co Model

More threshold-atmost3outof5 license Visit here:

https://choosealicense.com/licenses/mit

threshold-atmost3outof5 huggingface.co

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

threshold-atmost3outof5 huggingface.co Url

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

phanerozoic threshold-atmost3outof5 online free

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

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

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

threshold-atmost3outof5 install

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

threshold-atmost3outof5 install url in huggingface.co:

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

Url of threshold-atmost3outof5

threshold-atmost3outof5 huggingface.co Url

Provider of threshold-atmost3outof5 huggingface.co

phanerozoic
ORGANIZATIONS

Other API from phanerozoic

huggingface.co

Total runs: 84
Run Growth: 44
Growth Rate: 53.66%
Updated:September 26 2026