daksh-neo/acervo-extractor-qwen3.5-9b-GGUF
acervo-extractor-qwen3.5-9b — GGUF Q4KM (4.7 GB)
Made autonomously using NEO — your autonomous AI Agent
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.
Performance at a Glance
Quality vs Speed Tradeoff
Each bubble represents a quantization tier. Bubble size = file size on disk. The ideal region is bottom-right (low perplexity + high speed). Q4KM sits at the sweet spot — significant size reduction with minimal quality loss.
Memory Requirements
Q4KM 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.
Pipeline Architecture
The quantization pipeline:
- `quantize.py` — downloads the base model from HuggingFace, builds llama.cpp, converts to GGUF
- `benchmark.py` — measures perplexity, tokens/sec, and per-token latency stats
- `memory_estimator.py` — predicts peak RAM/VRAM for any (modelsize, quanttype) pair
- `compare.py` — benchmarks multiple models side-by-side in one run
- `scripts/demo.py` — orchestrates everything end-to-end
How to Use
With llama-cpp-python
from llama_cpp import Llama
llm = Llama(
model_path="acervo-extractor-qwen3.5-9b-Q4_K_M.gguf",
n_ctx=2048,
n_threads=8,
)
output = llm(
"Extract the key financial metrics from the following document:\n\n[document text here]",
max_tokens=256,
temperature=0.1,
)
print(output["choices"][0]["text"])With llama.cpp CLI
./llama-cli -m acervo-extractor-qwen3.5-9b-Q4_K_M.gguf \
-p "Parse the following invoice and return structured JSON:" \
-n 256 --temp 0.1With Ollama
ollama run hf.co/[your-username]/acervo-extractor-qwen3.5-9b-ggufBenchmark Results
Results below are from a mock / dry-run benchmark (synthetic data matching llama.cpp GGUF profiles). Real measurements on the downloaded model will vary slightly.
Perplexity
Speed & Latency
Full machine-readable results: `benchmark_results.json` · `benchmark_results.csv`
Memory by Quantization Type
Reproduce Locally
git clone https://github.com/dakshjain-1616/acervo-extractor-quant
cd acervo-extractor-quant
pip install -r requirements.txt
# Full quantization pipeline (requires ~20 GB disk)
python quantize.py --model SandyVeliz/acervo-extractor-qwen3.5-9b
# Dry-run benchmark (no download needed)
python scripts/demo.py --dry-run --export-csv
# Estimate RAM for your hardware
python memory_estimator.py --params 9.0Files in This Repo
License
MIT — see LICENSE
Built autonomously using [NEO](https://heyneo.so) — your autonomous AI Agent
