Views
No views yet
| Variant | Path | Quantization |
|---|---|---|
| FP16 | onnx/fp16/model.onnx | FP16 weights |
| INT8 | onnx/int8/model.onnx | Post-training dynamic INT8 (MatMul/Gemm) |
| INT8 + INT4 embeddings | onnx/int8_int4_embeddings/model.onnx | Dynamic INT8 plus 4-bit weight-only token embeddings |
onnx/quantization_manifest.json.| Variant | Accuracy | F1 (macro) | Δ F1 vs FP32 |
|---|---|---|---|
| FP32 reference (main repo) | 0.9465 | 0.9366 | — |
| FP16 | 0.9454 | 0.9366 | -0.0000 |
| INT8 | 0.9451 | 0.9366 | -0.0000 |
| INT8 + INT4 embeddings | 0.9465 | 0.9330 | -0.0036 |
metrics/quant_bench.json.1from optimum.onnxruntime import ORTModelForSequenceClassification
2from transformers import AutoTokenizer
3
4model_id = "patronus-studio/husky-paw-tool-action-classifier-edge"
5tokenizer = AutoTokenizer.from_pretrained(model_id)
6model = ORTModelForSequenceClassification.from_pretrained(model_id, subfolder="onnx/int8_int4_embeddings")
7
8inputs = tokenizer("...", return_tensors="pt")
9logits = model(**inputs).logitsLICENSE. Derived from
Husky Paw Tool Action Classifier and ultimately from
jhu-clsp/mmBERT-small (MIT License); upstream
notices are retained.