GSTrack

Messy GST invoices in. Schema-valid JSON out.

Syntax Error 2026Shipped October 25, 2026#general#payments
Repo
GSTrack banner

About

## The problem it solves

GSTrack: a laptop-trained 1.5B model that turns messy Indian GST invoices into schema-valid JSON. Invoices arrive as noisy text, and sending them to a large closed API is costly. We fine-tuned Qwen2.5-1.5B-Instruct with QLoRA on a single 8 GB RTX 4060 laptop GPU using AlignTune, and served it with SGLang. Training data is generated with ground truth first (real GSTIN checksums, CGST+SGST vs IGST logic, computed totals), then rendered as messy text. CuratorKit handled cleaning and dedup, and AuditKit scored the models. Exact-match accuracy on whole invoices rises from 5% (base) to 99% on seen layouts, from 1% to 99% on an unseen layout, and from 3% to 100% on an out-of-distribution set with new companies, products, tax rates and states. Limitation: all data is synthetic, so real-world scanned invoices remain untested. Code and results: https://github.com/HR7608/gst-invoice-extraction

## Challenges we ran into

1.Running SGLang on WSL2. The server crashed at start-up because SGLang compiles GPU kernels on the fly and WSL had no CUDA compiler (nvcc). Then the FlashInfer sampler failed on a missing curand.h. We installed the CUDA compiler matching PyTorch (13.0), and switched to Triton attention and the PyTorch sampler. 2.Fitting training into 8 GB. The first run was a full fine-tune because LoRA is off by default in the trainer, and it ran out of memory. We found the right settings by reading the trainer source: LoRA adapters plus a 4-bit base model. A batch of 4 also ran out of memory, so we trained at batch size 1, which was also faster. 3.Toolkit integration. AlignTune needed system packages for one dependency. AuditKit gave identical results for the base and fine-tuned models, because it identified two runs through the same Python function as the same model and served the cached result. We caught this because the fingerprints and latencies matched to the millisecond, and fixed it by generating predictions with SGLang and scoring them with AuditKit’s “precomputed” mode. Honest evaluation. Scores on data from our own generator are easy to inflate. We added a layout the model never saw, and an out-of-distribution set with new companies, products, tax rates and states. We also tested one hand-written invoice in a format outside the generator. The remaining limitation is that all data is synthetic.

Screenshots

GSTrack screenshot 1GSTrack screenshot 2GSTrack screenshot 3GSTrack screenshot 4GSTrack screenshot 5

Team

From the public Devfolio project page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.