Downloads · 30 days
0
frankmorales2020/topo-rlhf-2026
topo-rlhf-2026 is a text classification model from frankmorales2020. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as other.
TOPO-RLHF is a certified bias-free language model that combines mathematical guarantees (4-tier TOPO-BIAS system) with reinforcement learning from human feedback (RLHF). Developed by Sovereign Machine Laboratory (SOMA…
Downloads · 30 days
0
Access
Public
Updated Sep 7, 2026
Repo size
67.8 GB
Likes
0
Public
Click a slice to open those files.
.pt67.7 GB · 100%
From the Hugging Face model README
TOPO-RLHF is a certified bias-free language model that combines mathematical guarantees (4-tier TOPO-BIAS system) with reinforcement learning from human feedback (RLHF). Developed by Sovereign Machine Laboratory (SOMALA), Montréal, this model represents a paradigm shift in AI alignment - moving from probabilistic fairness to deterministic guarantees.
The model was fine-tuned from openai/gpt-oss-20b and certified through a 5-run multi-run sweep with forgetting metrics.
openai/gpt-oss-20bopenai/gpt-oss-20bThe model can be used for:
| Tier | Name | Function | Guarantee |
|---|---|---|---|
| 0 | Data-Spectral Integrity | Detects/rejects biased data at entry | 100% bias rejection rate |
| 1 | L-EFM Operator | Spectral bias annihilation | Peak annihilation at σ=0.5 |
| 2 | H2E-Sheriff-BIAS | Geometric impossibility | Biased associations made unconstructable |
| 3 | Prime-Anchored Equity | Cryptographic anchor protection | 6 prime anchors with integrity verification |
0.9785142874[2, 3, 5, 7, 11, 13]pip install torch transformers huggingface_hub numpy
from standalone_inference import quick_inference
# Task A: World vs Sports
result = quick_inference(
"The national team won the championship",
task='A'
)
print(result['prediction']['label']) # 'Sports' or 'World'
# Task B: Business vs Sci/Tech
result = quick_inference(
"Quarterly earnings beat expectations",
task='B'
)
# Task C: World vs Sci/Tech
result = quick_inference(
"New quantum computing breakthrough",
task='C'
)
from standalone_inference import load_model, run_inference
model, tokenizer, bias_detector, device = load_model()
result = run_inference(
model, tokenizer, bias_detector, device,
text="Women are not as capable as men in leadership roles",
task='C'
)
print(result['bias_check']['passed']) # False if biased
SetFit/ag_news (120,000 training samples, 7,600 test samples)| Run | lr_embed | lr_cls | Acc_A | Acc_B | Acc_C | FGT |
|---|---|---|---|---|---|---|
| 0 | 5e-03 | 1e-03 | 96.60% | 99.40% | 91.00% | +1.85% |
| 1 | 1e-03 | 5e-04 | 99.60% | 99.90% | 92.50% | -0.05% |
| 2 | 1e-02 | 2e-03 | 94.00% | 98.10% | 93.50% ★ | +3.65% |
| 3 | 5e-03 | 5e-03 | 96.00% | 98.40% | 91.50% | +2.35% |
| 4 | 2e-03 | 1e-03 | 98.00% | 100.00% | 90.00% | +0.80% |
Task C Accuracy : 91.7% ± 1.4% (threshold ≥85%) → ✅ PASS
Combined FGT : 1.7% ± 1.4% (threshold ≤10%) → ✅ PASS
Best Run : Run 2 (lr_embed=1e-02, lr_cls=2e-03)
Best Accuracy : 93.50%
Task A (World vs Sports) : 99.60%
Task B (Business vs Sci/Tech) : 100.00%
Task C (World vs Sci/Tech) : 92.50%
Bias Rejection Rate: 100% (on test biased examples)
Detection Tiers Active: All 4
If you use this model, please cite:
@misc{tinkerbelle2026toporlhf,
author = {Sovereign Machine Laboratory},
title = {TOPO-RLHF: Production Alignment Pipeline with Mathematical Bias Guarantees},
year = {2026},
publisher = {Hugging Face},
url = {https://huggingface.co/frankmorales2020/topo-rlhf-2026}
}
The stochastic illusion is over. The bias illusion is over. Stability is a numerical guarantee. Equity is a geometric guarantee. Alignment is a mathematical necessity.
Seed = 123. The proof is the code.