Instructions to use mrcmilo/phi3-text2sql-lora 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 mrcmilo/phi3-text2sql-lora 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 mrcmilo/phi3-text2sql-lora:Q4_K_M # Run inference directly in the terminal: llama cli -hf mrcmilo/phi3-text2sql-lora:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf mrcmilo/phi3-text2sql-lora:Q4_K_M # Run inference directly in the terminal: llama cli -hf mrcmilo/phi3-text2sql-lora:Q4_K_M
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 mrcmilo/phi3-text2sql-lora:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf mrcmilo/phi3-text2sql-lora:Q4_K_M
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 mrcmilo/phi3-text2sql-lora:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf mrcmilo/phi3-text2sql-lora:Q4_K_M
Use Docker
docker model run hf.co/mrcmilo/phi3-text2sql-lora:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use mrcmilo/phi3-text2sql-lora with Ollama:
ollama run hf.co/mrcmilo/phi3-text2sql-lora:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use mrcmilo/phi3-text2sql-lora with Docker Model Runner:
docker model run hf.co/mrcmilo/phi3-text2sql-lora:Q4_K_M
- Lemonade
How to use mrcmilo/phi3-text2sql-lora with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mrcmilo/phi3-text2sql-lora:Q4_K_M
Run and chat with the model
lemonade run user.phi3-text2sql-lora-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Commit History
-
Update README: correct Modelfile template and add ollama example
Verified signaturec82b290 -
Update README.md
Verified signature7b0adef -
Add README
Verified signaturefe24383 -
Add 5-bit GGUF for improved SQL generation accuracy - Ollama Modelfile
Verified signature70f2d37 -
Add 5-bit GGUF for improved SQL generation accuracy
Verified signatureUpload model trained with Unsloth 2x fastere093f17
-
Update README.md
Verified signature66d2627 -
Update README.md
Verified signature06259cd -
Update README.md
Verified signature30e743b -
Add README
Verified signaturea29d995 -
Add 4-bit GGUF for local use - Ollama Modelfile
Verified signature1179702 -
Add 4-bit GGUF for local use - config
Verified signature22bd671 -
Add 4-bit GGUF for local use
Verified signatureUpload model trained with Unsloth 2x faster9635704 -
Update README.md
Verified signature4936ab3 -
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x faster0e1f473 -
Initial fine-tuned TEXT2SQL adapter for Phi3 (Trained with Unsloth)
Verified signatureTrained for 40 steps on b-mc2/sql-create-context using unsloth on T4 GPU. (Trained with Unsloth 2x faster)f5ffe2f -
Upload README.md with huggingface_hub
Verified signature24310d8 -
initial commit
Verified signature9ee6091