products
product_idINTEGER · PKproduct_nameTEXTcategoryTEXTunit_priceREAL
Encoder-Decoder Portfolio Project 01
Ask a business question, generate SQLite with a base or LoRA-ready CodeT5 path, inspect schema links, validate and repair the query, then execute it in a read-only sandbox against synthetic analytics data.
Synthetic product sales by date, region, and product.
product_idINTEGER · PKproduct_nameTEXTcategoryTEXTunit_priceREALsale_idINTEGER · PKsale_dateTEXTregionTEXTproduct_idINTEGERsales_amountREALunits_soldINTEGERsales.product_id → products.product_id
The file is opened in your browser with sql.js and is not uploaded to the server. Local inspection is separate from the hosted execution sandbox, which remains restricted to bundled synthetic databases.
Validate the generated SQL before execution.
These links are transparent lexical and synonym matches. They are not presented as model-derived schema-link accuracy.
No strong schema links detected yet.
Selected experiment: CodeT5+ 770M LoRA r32.
Canonical SQL match on held-out records.
Predicted and reference SQL return equivalent results.
Generated SQL passes schema and safety validation.
Invalid generations repaired without changing the expected result.
Rule-based linker smoke result until the final labeled study is generated.
Curated destructive and multi-statement inputs rejected.
Held-out generation latency from the selected model run.
The deterministic fallback is not presented as a trained model. New CodeT5/LoRA metrics remain pending until training and evaluation are run locally. The rule-based linker provides interpretable candidates, not learned cross-domain schema-linking. Arbitrary uploaded databases are not executed by the hosted demo.