Overview
This repository contains the fine-tuned PEFT LoRA adapter for Qwen/Qwen3.6-35B-A3B (35B Mixture-of-Experts, 3B active parameters per token), trained for statutory Indian Goods and Services Tax (GST) invoice extraction and compliance auditing.
- Base Model:
Qwen/Qwen3.6-35B-A3B
- Training Framework: Adaption AutoScientist (Automated Bayesian Hyperparameter Sweep across 8× H100 GPU cluster)
- Training Dataset: 13,920 augmented statutory Indian B2B invoice pairs (covering CGST/SGST/IGST Act, Section 7/8 place of supply, Rule 46 mandatory clauses, and reverse charge mechanisms).
- Run ID:
aa60178b-5e46-470b-b1a9-56047419b0d3
- Best Win Rate vs Base: 42.08% win rate certified by automated LLM evaluation.
Discovered Optimal Hyperparameters
- Training Type: LoRA
- LoRA Rank (r): 8
- LoRA Alpha (lpha): 8
- Target Modules:
q_proj, v_proj
- Learning Rate:
1e-4 (Cosine schedule, warmup 0.1)
- Batch Size: Max
Intended Use
Used as the neural extraction arm for unformatted and noisy Indian tax invoices, outputting strongly-typed JSON conforming to extraction.v2 which feeds into a deterministic statutory rules engine.
import torchfrom transformers import AutoModelForCausalLM, AutoTokenizerfrom peft import PeftModel base_model_id = "Qwen/Qwen3.6-35B-A3B"adapter_id = "priyansh2308/gst-audit-qwen3.6-35b-moe-lora" tokenizer = AutoTokenizer.from_pretrained(base_model_id)model = AutoModelForCausalLM.from_pretrained( base_model_id, torch_dtype=torch.bfloat16, device_map="auto")model = PeftModel.from_pretrained(model, adapter_id) prompt = "Extract statutory particulars from: Invoice INV-2024-001..."inputs = tokenizer(prompt, return_tensors="pt").to(model.device)outputs = model.generate(**inputs, max_new_tokens=512)print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Authors & Competition
Developed for the Adaption Adaptive Intelligence Challenge (Adaption × HackCulture).