Instructions to use chabab/gemma-3-270m-text2sql-oracle-postgres-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use chabab/gemma-3-270m-text2sql-oracle-postgres-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf chabab/gemma-3-270m-text2sql-oracle-postgres-GGUF:F16 # Run inference directly in the terminal: llama cli -hf chabab/gemma-3-270m-text2sql-oracle-postgres-GGUF:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf chabab/gemma-3-270m-text2sql-oracle-postgres-GGUF:F16 # Run inference directly in the terminal: llama cli -hf chabab/gemma-3-270m-text2sql-oracle-postgres-GGUF:F16
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf chabab/gemma-3-270m-text2sql-oracle-postgres-GGUF:F16 # Run inference directly in the terminal: ./llama-cli -hf chabab/gemma-3-270m-text2sql-oracle-postgres-GGUF:F16
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf chabab/gemma-3-270m-text2sql-oracle-postgres-GGUF:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf chabab/gemma-3-270m-text2sql-oracle-postgres-GGUF:F16
Use Docker
docker model run hf.co/chabab/gemma-3-270m-text2sql-oracle-postgres-GGUF:F16
- LM Studio
- Jan
- Ollama
How to use chabab/gemma-3-270m-text2sql-oracle-postgres-GGUF with Ollama:
ollama run hf.co/chabab/gemma-3-270m-text2sql-oracle-postgres-GGUF:F16
- Unsloth Desktop
- Docker Model Runner
How to use chabab/gemma-3-270m-text2sql-oracle-postgres-GGUF with Docker Model Runner:
docker model run hf.co/chabab/gemma-3-270m-text2sql-oracle-postgres-GGUF:F16
- Lemonade
How to use chabab/gemma-3-270m-text2sql-oracle-postgres-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull chabab/gemma-3-270m-text2sql-oracle-postgres-GGUF:F16
Run and chat with the model
lemonade run user.gemma-3-270m-text2sql-oracle-postgres-GGUF-F16
List all available models
lemonade list
- Atomic Chat
| FROM ./gemma-3-270m-text2sql-q8_0.gguf | |
| PARAMETER temperature 0 | |
| PARAMETER top_p 1 | |
| PARAMETER num_ctx 2048 | |
| PARAMETER stop "<end_of_turn>" | |
| SYSTEM """You convert natural language into SQL. Use only tables and columns from the provided schema. Reply with one SQL statement and nothing else. No markdown fences. No commentary.""" | |