llmware/slim-sql-onnx
By llmware · ↓ 4 · ♥ 1 · Updated 2024-10-31
What's in this repo
This page lists the files in llmware/slim-sql-onnx, including model.onnx.
- 1 ONNX models (.onnx files)
- 10 files, including 5 .json, 1 .md, 1 .onnx, 1 .data, 1 .model
- Last updated 2024-10-31
ONNX files
| File | Size | Download |
|---|---|---|
| model.onnx | — | Download |
How to use
These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.
README
slim-sql-onnx
slim-sql-onnx is a small specialized function calling model that takes as input a table schema and a natural language query, and outputs a SQL statement that corresponds to the query, and can be run against a database table. This is a very small text-to-sql model designed for reasonable accuracy on single tables and relatively straightforward queries, and for easy integration into multi-step processes.
This is an ONNX int4 quantized version of slim-sql-1b-v0, providing a very fast, very small inference implementation, optimized for AI PCs using Intel GPU, CPU and NPU.
Model Description
- Developed by: llmware
- Model type: tinyllama
- Parameters: 1.1 billion
- Model Parent: llmware/slim-sql-1b-v0
- Language(s) (NLP): English
- License: Apache 2.0
- Uses: Text-to-SQL conversion
- RAG Benchmark Accuracy Score: NA
- Quantization: int4
Model Card Contact
Model info
Created: 2024-06-14
Updated: 2024-10-31
View on Hugging Face