LoRA demo
Text-to-SQL LoRA demo
Compare the base model and fine-tuned adapter.
Verifying...
Revenue leaders
Inventory risk
Team retention
Input
PostgreSQL
Question
Which five customers generated the most revenue in 2025? Include their company name and total revenue.
Database schema
CREATE TABLE customers ( id BIGINT PRIMARY KEY, company_name TEXT NOT NULL, region TEXT ); CREATE TABLE orders ( id BIGINT PRIMARY KEY, customer_id BIGINT REFERENCES customers(id), total_amount DECIMAL(12, 2) NOT NULL, status TEXT NOT NULL, created_at TIMESTAMP NOT NULL );
Run both models
Base model
gpt-oss-20b
No output yet.
LoRA fine-tune
gpt-oss-20b-text2sql
No output yet.