practical · cancellable FIFO batch QA · multi-file & ragged RFC 4180 CSV · Apache-2.0

Multi-Question Invoice, Contract & KB Extraction Bench

Run curated 5-question audit checklists or upload multiple .txt / .md / .csv / .json files sequentially through a cancellable FIFO DistilBERT Uncased SQuAD worker (66.98 MB WASM q8). Ragged RFC 4180 CSVs automatically select the richest context column, and outputs export as OWASP formula-safe CSV, structured Markdown, and JSON.

1 · Initialise DistilBERT Uncased SQuAD

2 · Audit Template, Multi-File Upload & Cancellable FIFO Runner

Drop, paste, or select multiple .txt / .md / ragged .csv / .json files (stays 100% local).

5-Question Extraction Checklist

idle

Initialise DistilBERT Uncased SQuAD above to run batch extraction.

Items Completed—
Mean Confidence—
Mean Logit Margin—
Mean Latency—
Finite Check—
Extracted document fields with SQuAD v1.1 scores, logit margins, and character citations
Document Field Question Extracted Answer Score / Margin Citation
Run Batch QA above to populate extracted spans and citations.

Document Citation Viewer

3 · Show the code

Show the code — distil-core.mjs ragged RFC 4180 CSV context-column detector
Show the code — distil-core.mjs OWASP formula-safe CSV & Markdown report exporter