Skip to content

About

Pauhu Quantization: shrink an LLM to run on edge devices and measure exactly what accuracy it loses on a held-out set.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Pauhu Quantization

Quantization method: shrink a model and measure what it loses on a held-out set. Free developer key via GitHub.

This repository is a base pack: the open method in METHOD.md, plus everything an AI coding assistant needs to connect to the Pauhu demo backend over MCP. Fork it and build your own expansion pack.

Quickstart

  1. Get a free Pauhu developer key by signing in with GitHub at https://api.pauhu.dev/v1/dev/github/start (terms: https://pauhu.dev/developer-terms/). Free, 90 days, 50 requests a day (reset 00:00 UTC), at most 5 a minute.
  2. Set it in your own environment: export PAUHU_DEV_KEY=...
  3. Run one example: bash examples/quickstart.sh, node examples/quickstart.mjs or python3 examples/quickstart.py. Without a key, each stops and says where to get one.
  4. To connect an AI assistant, use examples/mcp-config.json or server.json. Instructions for agents are in AGENTS.md.

The Method

METHOD.md is a step-by-step method you can run with your own tools, with checkable acceptance criteria and what each check does and does not prove.

Utensils

Empty templates and checks for the files the method names. Each check prints PASS, FAIL or SKIP and exits 1 only on FAIL. SKIP means the record has no entries yet, so nothing was verified; on an empty template a PASS means there was no record to fail, not that the work was done. A check proves record format and links, not that the method is complete, and it never runs a test or reads a served copy. The checks read the records; they do not measure a model or check its training data for contamination.

  • question.md: the task, memory limit in MB or GB, quality floor, device and runtime, dated.
  • eval/heldout.tsv: the held-out set, one row per example with its sha256 (header only).
  • scripts/: one measure script per method step (scripts/TEMPLATE.md is a note).
  • results/scores.tsv: one row per variant and baseline, all with the same set hash (header only).
  • decision.md: the chosen variant, the floor, the baseline comparison and the signer.
  • runs.log: one line per run with date, set hash, runtime version and result (header only).
  • checks/check-question.sh: fails a filled question with a bad memory limit, floor, device or date.
  • checks/check-heldout.sh: fails a held-out row with a bad hash, or a task type with fewer than 300 examples.
  • checks/check-scores.sh: fails a score row with a non-numeric value, or rows carrying different set hashes.
  • checks/check-decision.sh: fails a decision with a blank field, no accepted or rejected verdict, or a bad date.
  • checks/check-runs-log.sh: fails a run line with a bad date, a blank field, or no changed-setting flag.
  • .github/workflows/checks.yml: runs every script in checks/ on push.

The Pauhu Menu

This repository is one item on the Pauhu Menu, which lists every Pauhu repository and the developer key terms in one place.

Build Your Own Expansion Pack

Fork this base pack and add your own tools; see EXTENDING.md. Keep the LICENSE and NOTICE files.

Licence

METHOD.md is licensed under CC BY 4.0, with credit to Pauhu Ltd. Every other file in this repository, including code, configuration, README.md, AGENTS.md and llms.txt, is licensed under the Apache License 2.0 (LICENSE, NOTICE).

Copyright © 2026 Pauhu Ltd. Written and maintained by Pauhu Ltd.

About

Pauhu Quantization: shrink an LLM to run on edge devices and measure exactly what accuracy it loses on a held-out set.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages