--- title: Prem 1B SQL API emoji: 🗄️ colorFrom: green colorTo: indigo sdk: gradio sdk_version: 6.24.0 python_version: 3.10.13 app_file: app.py fullWidth: true pinned: true short_description: Schema-aware text-to-SQL inference models: - prem-research/prem-1B-SQL tags: - text-to-sql - sql - transformers - zerogpu preload_from_hub: - prem-research/prem-1B-SQL config.json,generation_config.json,model-00001-of-00002.safetensors,model-00002-of-00002.safetensors,model.safetensors.index.json,special_tokens_map.json,tokenizer.json,tokenizer_config.json 44dd7fcf9227af4efed936bf29323c61bf66aad1 --- # Prem 1B SQL API Text-to-SQL inference powered by [prem-research/prem-1B-SQL](https://huggingface.co/prem-research/prem-1B-SQL). This Space only generates SQL. Validation, allowlisting, row limits, and read-only execution remain inside the FastAPI application. Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference