GGUF-quantized version of
SandyVeliz/acervo-extractor-qwen3.5-9b, a 9B document-extraction model fine-tuned on structured data parsing tasks (invoices, contracts, financial reports). Quantized to
Q4_K_M with llama.cpp — runs on 8 GB RAM with only +6% perplexity loss and
12% faster inference than the float16 original.
Each bubble represents a quantization tier. Bubble size = file size on disk. The ideal region is bottom-right (low perplexity + high speed). Q4_K_M sits at the sweet spot — significant size reduction with minimal quality loss.
Q4_K_M is the recommended tier: it fits comfortably in 8 GB RAM and is the highest-quality format that does so. Q8_0 requires 12 GB. float16 needs 20 GB.
1from llama_cpp import Llama
2
3llm = Llama(
4 model_path="acervo-extractor-qwen3.5-9b-Q4_K_M.gguf",
5 n_ctx=2048,
6 n_threads=8,
7)
8
9output = llm(
10 "Extract the key financial metrics from the following document:\n\n[document text here]",
11 max_tokens=256,
12 temperature=0.1,
13)
14print(output["choices"][0]["text"])
1./llama-cli -m acervo-extractor-qwen3.5-9b-Q4_K_M.gguf \
2 -p "Parse the following invoice and return structured JSON:" \
3 -n 256 --temp 0.1
1git clone https://github.com/dakshjain-1616/acervo-extractor-quant
2cd acervo-extractor-quant
3pip install -r requirements.txt
4
5# Full quantization pipeline (requires ~20 GB disk)
6python quantize.py --model SandyVeliz/acervo-extractor-qwen3.5-9b
7
8# Dry-run benchmark (no download needed)
9python scripts/demo.py --dry-run --export-csv
10
11# Estimate RAM for your hardware
12python memory_estimator.py --params 9.0