Instructions to use adamwhite625/gemma-2-2b-text2sql-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 adamwhite625/gemma-2-2b-text2sql-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 adamwhite625/gemma-2-2b-text2sql-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf adamwhite625/gemma-2-2b-text2sql-gguf:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf adamwhite625/gemma-2-2b-text2sql-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf adamwhite625/gemma-2-2b-text2sql-gguf:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf adamwhite625/gemma-2-2b-text2sql-gguf:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf adamwhite625/gemma-2-2b-text2sql-gguf:Q4_K_M
Use Docker
docker model run hf.co/adamwhite625/gemma-2-2b-text2sql-gguf:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use adamwhite625/gemma-2-2b-text2sql-gguf with Ollama:
ollama run hf.co/adamwhite625/gemma-2-2b-text2sql-gguf:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use adamwhite625/gemma-2-2b-text2sql-gguf with Docker Model Runner:
docker model run hf.co/adamwhite625/gemma-2-2b-text2sql-gguf:Q4_K_M
- Lemonade
How to use adamwhite625/gemma-2-2b-text2sql-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull adamwhite625/gemma-2-2b-text2sql-gguf:Q4_K_M
Run and chat with the model
lemonade run user.gemma-2-2b-text2sql-gguf-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Download Modelfile from adamwhite625/gemma-2-2b-text2sql-gguf: direct link, hf CLI and curl.
- Browser
- Download file 376 Bytes
-
https://huggingface.co/adamwhite625/gemma-2-2b-text2sql-gguf/resolve/main/Modelfile
- Command line
-
hf download hf://adamwhite625/gemma-2-2b-text2sql-gguf/Modelfile
-
curl -L -o Modelfile https://huggingface.co/adamwhite625/gemma-2-2b-text2sql-gguf/resolve/main/Modelfile
376 Bytes
| FROM gemma-2-2b-it.Q4_K_M.gguf | |
| TEMPLATE """<start_of_turn>user | |
| {{ if .System }}{{ .System }} {{ end }}{{ .Prompt }}<end_of_turn> | |
| <start_of_turn>model | |
| {{ .Response }}<end_of_turn> | |
| """ | |
| PARAMETER repeat_penalty 1 | |
| PARAMETER stop "<start_of_turn>" | |
| PARAMETER stop "<end_of_turn>" | |
| PARAMETER penalize_newline false | |
| PARAMETER temperature 1.5 | |
| PARAMETER min_p 0.1 | |
| PARAMETER num_ctx 4096 |