phanerozoic / threshold-mux8

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

Introduction of threshold-mux8

Model Details of threshold-mux8

threshold-mux8

8:1 multiplexer. Selects one of 8 data inputs based on 3-bit select signal.

Function

MUX8(d0-d7, s2,s1,s0) = d[s] where s = 4 s2 + 2 s1 + s0

Architecture
d0 d1 d2 d3 d4 d5 d6 d7   s2 s1 s0
 |  |  |  |  |  |  |  |    |  |  |
 +--+--+--+--+--+--+--+----+--+--+
 |                              |
 v                              v
[N0] d0 AND (s=000)  ----+
[N1] d1 AND (s=001)  ----|
[N2] d2 AND (s=010)  ----|
[N3] d3 AND (s=011)  ----+---> [OR] ---> output
[N4] d4 AND (s=100)  ----|
[N5] d5 AND (s=101)  ----|
[N6] d6 AND (s=110)  ----|
[N7] d7 AND (s=111)  ----+
Parameters
Inputs 11 (8 data + 3 select)
Outputs 1
Neurons 9
Layers 2
Parameters 105
Magnitude 61
Layer 1 Weights

Each neuron Ni fires when di=1 AND s=i:

Neuron Data weights Select weights (s2,s1,s0) Bias
N0 d0=1 [-1,-1,-1] -1
N1 d1=1 [-1,-1,+1] -2
N2 d2=1 [-1,+1,-1] -2
N3 d3=1 [-1,+1,+1] -3
N4 d4=1 [+1,-1,-1] -2
N5 d5=1 [+1,-1,+1] -3
N6 d6=1 [+1,+1,-1] -3
N7 d7=1 [+1,+1,+1] -4
Layer 2

OR gate: weights [1,1,1,1,1,1,1,1], bias -1

Usage
from safetensors.torch import load_file
import torch

w = load_file('model.safetensors')

def mux8(d0, d1, d2, d3, d4, d5, d6, d7, s2, s1, s0):
    inp = torch.tensor([float(d0), float(d1), float(d2), float(d3),
                        float(d4), float(d5), float(d6), float(d7),
                        float(s2), float(s1), float(s0)])
    l1 = (inp @ w['layer1.weight'].T + w['layer1.bias'] >= 0).float()
    out = (l1 @ w['layer2.weight'].T + w['layer2.bias'] >= 0).float()
    return int(out.item())

# Select d5 (s=101)
print(mux8(0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1))  # 1
License

MIT

Runs of phanerozoic threshold-mux8 on huggingface.co

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

More Information About threshold-mux8 huggingface.co Model

More threshold-mux8 license Visit here:

https://choosealicense.com/licenses/mit

threshold-mux8 huggingface.co

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

phanerozoic threshold-mux8 online free

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

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

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

threshold-mux8 install

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

threshold-mux8 install url in huggingface.co:

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

Url of threshold-mux8

threshold-mux8 huggingface.co Url

Provider of threshold-mux8 huggingface.co

phanerozoic
ORGANIZATIONS

Other API from phanerozoic

huggingface.co

Total runs: 86
Run Growth: 55
Growth Rate: 63.95%
Updated:September 26 2026