About
## Challenges we ran into
No NVIDIA GPU, so SGLang wouldn’t install. The PyPI package needs CUDA. We built SGLang from source with its Apple Silicon (MLX) backend. JSON-schema constraints were silently ignored on Apple Silicon. The first “constrained” call returned plain text. By reading SGLang’s source we found that the constraint only applies with --mlx-enable-sampling. With it on, the output was valid JSON but had a wrong date (3990-01-31), which is exactly our point: constraints fix the format, not the values. CuratorKIT’s cleaner broke our prompt format. Its default HTML stripping deleted the <offer_text> tags, so training prompts wouldn’t have matched real usage. We disabled it and added a check on every exported row. The teacher-model check rejected good data. The 4-bit 7B teacher’s own extraction mistakes rejected about 94% of rows. We replaced that check with an exact fact-presence check (every value must appear in the text, and no extra numbers or brands), and kept CuratorKIT’s LLM judge as a second check. Rewriting the teacher’s instructions in plain language raised the pass rate from 31% to 67%. Memory limits on a 16 GB laptop. 32 parallel requests crashed the GPU with out-of-memory, and too large a memory reservation sent the machine into swap (speed fell from 55 to 18 tokens/s). We capped requests at 16, lowered the reservation, and finally paused the full run to keep the laptop usable. Dependency conflicts in the Lexsi kits. The latest AlignTune needs vLLM, which has no macOS build, and a newer torchao broke AlignTune’s TRL backend. We pinned AlignTune 0.1.17 with an older torchao and used the TRL backend instead of unsloth.
## The problem it solves
Turns messy Indian deal text into clean, structured data. Bank T&Cs, coupon SMSes and Hinglish WhatsApp forwards (“Bhai Myntra pe Axis card se 15% cashback… kal raat tak”) become one JSON record: merchant, bank/wallet, cashback %, cap, minimum order, coupon code, validity dates, payment modes and exclusions. Output is guaranteed to be valid. SGLang’s JSON-schema constrained decoding means the model can only produce schema-shaped JSON, and Pydantic re-checks every result. A deals app like DealFeed can store it directly without a fallback parser. Runs locally on a small open model (1.5B). There’s no per-message bill from a closed API, and offer text (which can include user SMSes) never leaves the machine. Safer against prompt injection. Offer text is treated as untrusted data. Because decoding is constrained to the schema, an “ignore previous instructions…” message still yields only an offer record, never prose, HTML or a leaked system prompt. Every value is traceable. The UI underlines the exact part of the source text each field came from, and shows “—” instead of guessing when a field isn’t stated.
Screenshots
Team
From the public Devfolio project page. Votes, swipes and the judge score are hackfeed's own.











