greendesk1631 commited on
Commit
1c0fb0f
·
verified ·
1 Parent(s): 734d77c

Document parity-verified Gather-INT8 ONNX (onnx/model_quantized.onnx) and { dtype: 'q8' } usage

Browse files
Files changed (1) hide show
  1. README.md +6 -0
README.md CHANGED
@@ -275,6 +275,12 @@ Bundled reproducible scripts in this repository:
275
 
276
  ---
277
 
 
 
 
 
 
 
278
  ## Limitations & Candid Comparison
279
 
280
  1. **Multi-step numerical & tabular arithmetic (`FinQA`):** Compact bi-directional encoders do not execute symbolic arithmetic; subtle multi-step calculation errors in dense financial tables (`0.40–0.49` AUC across all tested encoders) require tool/code verification rather than an encoder alone.
 
275
 
276
  ---
277
 
278
+
279
+ ### Gather-INT8 Quantized ONNX (`onnx/model_quantized.onnx` — `67.16 MB`, `1.82x` smaller)
280
+
281
+ - **Verified Parity (`onnx/quantization_check.json`):** `100.0%` prediction agreement vs. FP32 ONNX (mean abs probability diff `0.00119`, max `0.01946`; `26.84 ms` 4-thread CPU p50 @ 256 tokens).
282
+ - **Browser WASM / Node.js (`@huggingface/transformers` v3):** pass `{ dtype: "q8" }` to load `onnx/model_quantized.onnx` automatically.
283
+
284
  ## Limitations & Candid Comparison
285
 
286
  1. **Multi-step numerical & tabular arithmetic (`FinQA`):** Compact bi-directional encoders do not execute symbolic arithmetic; subtle multi-step calculation errors in dense financial tables (`0.40–0.49` AUC across all tested encoders) require tool/code verification rather than an encoder alone.