Language models/Hugging Face/Model

shop-sql-0.6b-mlx-4bit

by alexwengg·Last observed 2026-10-26
♥ 0 likes↓ 31 30d downloads

A 4-bit MLX text-to-SQL model fine-tuned for one SQLite demo-shop database. It converts natural-language questions into SQL using the exact system prompt shipped with the model, which contains the shop schema, date, and date conventions. It is explicitly not intended for other databases.

Useful for

  • Ask for the five products with the highest revenue last month and use the generated SQL against the demo database.

Key features

  • Generates SQL for the demo shop schema from natural-language questions, answering directly without reasoning.
  • The expected system prompt is included in the repository as system prompt.txt.

Requirements & limitations

  • Use the exact system prompt supplied with the model; it contains a fixed date of 2026-10-01 and the model supports only the demo shop database.
  • Run generated SQL against a read-only connection; the model may produce write queries.

Project information

CategoryLanguage models
TypeModel
Author / organizationalexwengg
Licenseapache-2.0
Last observed2026-10-26

Discussion

No comments yet.

Sign in with Google to comment. Browsing is open to everyone.

Community vote