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
Team
From the public Devfolio project page. Votes, swipes and the judge score are hackfeed's own.











