phanerozoic / threshold-atmost5outof8

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

Introduction of threshold-atmost5outof8

Model Details of threshold-atmost5outof8

threshold-atmost5outof8

At-most-5-out-of-8 detector. Fires when 5 or fewer inputs are active. The sub-supermajority bound.

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

This circuit blocks supermajority (≥6):

HW AtMost5 Interpretation
0-5 1 Below 75% threshold
6-8 0 Supermajority achieved

If you need 6/8 to pass something, AtMost5 detects when you don't have it.

Includes Bare Majority
HW Status AtMost5
4 Tie 1
5 Bare majority 1
6 Supermajority 0

Unlike AtMost4, this includes the minimal majority case. A 5-3 vote passes Majority but still fires AtMost5.

Coverage
HW C(8,k) AtMost5?
0-5 163 Yes
6 28 No
7 8 No
8 1 No

Total: 163 of 256 inputs (63.7%). Same count as AtMost4 by symmetry.

Dual of AtLeast3
Circuit Condition Count
AtLeast3 HW ≥ 3 219
AtMost5 HW ≤ 5 219

Under bit-flip, AtMost5 inputs map to AtLeast3 inputs.

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

w = load_file('model.safetensors')

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

# Bare majority: still below supermajority
print(atmost5([1,1,1,1,1,0,0,0]))  # 1

# Supermajority: fails
print(atmost5([1,1,1,1,1,1,0,0]))  # 0
Files
threshold-atmost5outof8/
├── model.safetensors
├── model.py
├── config.json
└── README.md
License

MIT

Runs of phanerozoic threshold-atmost5outof8 on huggingface.co

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

More Information About threshold-atmost5outof8 huggingface.co Model

More threshold-atmost5outof8 license Visit here:

https://choosealicense.com/licenses/mit

threshold-atmost5outof8 huggingface.co

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

threshold-atmost5outof8 huggingface.co Url

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

phanerozoic threshold-atmost5outof8 online free

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

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

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

threshold-atmost5outof8 install

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

threshold-atmost5outof8 install url in huggingface.co:

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

Url of threshold-atmost5outof8

threshold-atmost5outof8 huggingface.co Url

Provider of threshold-atmost5outof8 huggingface.co

phanerozoic
ORGANIZATIONS

Other API from phanerozoic

huggingface.co

Total runs: 36
Run Growth: -8
Growth Rate: -21.62%
Updated:April 28 2026