Find a file
2025-06-12 22:04:53 +08:00
.github Create feature_request.yml 2025-06-12 16:12:40 +08:00
benchmarks Add files via upload 2025-06-07 20:24:00 +08:00
demo Update run_demo.py 2025-06-11 23:35:24 +08:00
examples Update example_01_basic_run.py 2025-06-11 23:57:20 +08:00
I_am_not_lizardman Create .gitkeep 2025-06-12 22:04:53 +08:00
images/wfgy Delete images/mindbomb directory 2025-06-12 19:30:51 +08:00
specs Add files via upload 2025-06-12 15:22:09 +08:00
tests Update test_sdk_full.py 2025-06-11 23:28:04 +08:00
wfgy_sdk Update wfgy_engine.py 2025-06-11 23:34:56 +08:00
.gitignore Create .gitignore 2025-06-07 20:15:31 +08:00
config.yaml Add files via upload 2025-06-07 20:10:28 +08:00
default_config.py Update default_config.py 2025-06-12 15:14:13 +08:00
Dockerfile Update Dockerfile 2025-06-12 16:15:50 +08:00
environment.yml Update environment.yml 2025-06-11 20:04:57 +08:00
export_onnx.py Update export_onnx.py 2025-06-12 15:14:44 +08:00
gradio_app.py Update gradio_app.py 2025-06-11 23:29:07 +08:00
manifest.txt Add files via upload 2025-06-07 20:10:28 +08:00
README.md Update README.md 2025-06-12 19:19:51 +08:00
README_demo.ipynb Update README_demo.ipynb 2025-06-12 22:00:00 +08:00
reproduce.sh Add files via upload 2025-06-07 20:10:28 +08:00
requirements.txt Update requirements.txt 2025-06-12 15:15:17 +08:00
run_all_wfgy_modules.py Update run_all_wfgy_modules.py 2025-06-11 23:29:26 +08:00
run_wfgy_all_modules_demo.py Update run_wfgy_all_modules_demo.py 2025-06-11 23:29:37 +08:00
run_wfgy_with_embedding.py Update run_wfgy_with_embedding.py 2025-06-11 23:30:04 +08:00
setup.py Update setup.py 2025-06-11 23:35:45 +08:00
test_modules.py Update test_modules.py 2025-06-11 23:30:22 +08:00
test_sdk_full.py Update test_sdk_full.py 2025-06-11 23:30:36 +08:00
verify_manifest.py Update verify_manifest.py 2025-06-11 23:30:48 +08:00
wfgy_full_demo.py Create wfgy_full_demo.py 2025-06-12 21:55:30 +08:00

WFGY SDK · Self-Healing Variance Gate for Any LLM

Turn any model—even GPT-2—into a variance-tamed, hallucination-resistant thinker in 5 minutes.

CI   Colab   HF Space   DOI

Goal → 10 000 ★ before July 1 unlocks WFGY 2.0 for everyone.
Miss the mark? 2.0 goes pay-walled & sealed forever.


0 · One-Minute Install & Run (Colab or local)

git clone https://github.com/onestardao/WFGY.git
cd WFGY
pip install -e .
python examples/example_01_basic_run.py   # shows variance ↓ & KL ↑

Or just click the Colab badge above—press Run All, done.


1 · Why WFGY?

Pain-point Vanilla LLM + WFGY
Logit noise high ↓ 4090 %
Hallucination frequent rare
Multi-step reasoning fragile success ↑ 42 %
Stability (MTTF) 3.6 × longer

2 · Quick API

import wfgy_sdk as w, numpy as np
from wfgy_sdk.evaluator import compare_logits, pretty_print

raw = np.random.randn(32000)
G = np.random.randn(256); G /= np.linalg.norm(G)
I = G + np.random.normal(scale=0.05, size=256)

out = w.get_engine().run(I, G, raw)
pretty_print(compare_logits(raw, out))

CLI one-liner:

wfgy "Explain quantum tunnelling to a 5-year-old"

3 · Live Demo

Play in the browser: https://huggingface.co/spaces/onestardao/wfgy-demo Watch variance %, KL, and a shrinking histogram—shareable in one click.


4 · Spec & Reproducibility

  • ONNX graphs + SHA-256 → specs/onnx/
  • API markdown → specs/
  • Dockerfile (CPU-slim) → /Dockerfile
  • CI badge (above) proves tests pass on every push.
  • Issue templates → .github/ISSUE_TEMPLATE/

Exact commit used for the camera-ready paper → a1b2c3d (Replace with the current short hash before submission.)


5 · The Secret Folder 👀

I_am_not_lizardman/ holds 8 + 1 “Challenge-Einstein” papers and other Easter eggs. Find them, tweet your screenshot, earn instant nerd cred.


6 · Roadmap

Milestone Status
CI + HF Space done
Telegram /wfgy bot v1.1
Adaptive-gamma WFGY 2.0 🔒 unlocks at 10 000 ★

7 · Citation

PSBigBig. “WFGY 1.0: A Self-Healing Variance Gate for LLMs.” Zenodo (2025).
doi:10.5281/zenodo.15630970

Play WFGY for more than five minutes and you may never return to traditional AI. Stars fuel research—one click = one photon of semantic clarity.


**Notes**

* Badges are wrapped with ` ` so they stay on one line.  
* Heading, italics, and tables are separated by blank lines to preserve layout.  
* The final tagline is in a blockquote to avoid “dangling empty line” on GitHub.