phanerozoic / threshold-atmost3outof8

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

Introduction of threshold-atmost3outof8

Model Details of threshold-atmost3outof8

threshold-atmost3outof8

At-most-3-out-of-8 detector. Fires when three or fewer inputs are active. Identical to Minority.

Circuit
  x₀ x₁ x₂ x₃ x₄ x₅ x₆ x₇
   │  │  │  │  │  │  │  │
   └──┴──┴──┴──┼──┴──┴──┴──┘
               ▼
          ┌─────────┐
          │ w: -1×8 │
          │ b:  +3  │
          └─────────┘
               │
               ▼
           HW ≤ 3?
Equivalence to Minority

This circuit is functionally identical to threshold-minority :

Circuit Condition Implementation
Minority HW ≤ 3 w: all -1, b: +3
AtMost3 HW ≤ 3 w: all -1, b: +3

Both detect "strictly fewer than half." The naming differs by framing:

  • "Minority" emphasizes the voting interpretation
  • "AtMost3" emphasizes the counting bound
The Tie Boundary
HW AtMost3 Interpretation
0-3 1 Minority (< 50%)
4 0 Tie (= 50%)
5-8 0 Majority (> 50%)

AtMost3 excludes ties. Four active inputs is not "at most 3."

Dual of AtLeast5 (Majority)
Circuit Condition Meaning
AtLeast5 HW ≥ 5 Majority
AtMost3 HW ≤ 3 Minority

These are not complements - the tie zone (HW = 4) belongs to neither.

Coverage
HW C(8,k) AtMost3?
0 1 Yes
1 8 Yes
2 28 Yes
3 56 Yes
4-8 163 No

Fires on 1 + 8 + 28 + 56 = 93 of 256 inputs (36.3%).

Parameters
Component Value
Weights all -1
Bias +3
Total 9 parameters
Usage
from safetensors.torch import load_file
import torch

w = load_file('model.safetensors')

def atmost3(bits):
    inp = torch.tensor([float(b) for b in bits])
    return int((inp * w['weight']).sum() + w['bias'] >= 0)

# Three active: minority
print(atmost3([1,1,1,0,0,0,0,0]))  # 1

# Four active: tie, not minority
print(atmost3([1,1,1,1,0,0,0,0]))  # 0
Files
threshold-atmost3outof8/
├── model.safetensors
├── model.py
├── config.json
└── README.md
License

MIT

Runs of phanerozoic threshold-atmost3outof8 on huggingface.co

5
Total runs
2
24-hour runs
3
3-day runs
1
7-day runs
-1
30-day runs

More Information About threshold-atmost3outof8 huggingface.co Model

More threshold-atmost3outof8 license Visit here:

https://choosealicense.com/licenses/mit

threshold-atmost3outof8 huggingface.co

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

threshold-atmost3outof8 huggingface.co Url

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

phanerozoic threshold-atmost3outof8 online free

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

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

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

threshold-atmost3outof8 install

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

threshold-atmost3outof8 install url in huggingface.co:

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

Url of threshold-atmost3outof8

threshold-atmost3outof8 huggingface.co Url

Provider of threshold-atmost3outof8 huggingface.co

phanerozoic
ORGANIZATIONS

Other API from phanerozoic

huggingface.co

Total runs: 37
Run Growth: -7
Growth Rate: -18.42%
Updated:April 28 2026