Instructions to use ThePromptKing/Phi-3-mini-4k-instruct-text-to-sql-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ThePromptKing/Phi-3-mini-4k-instruct-text-to-sql-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ThePromptKing/Phi-3-mini-4k-instruct-text-to-sql-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use ThePromptKing/Phi-3-mini-4k-instruct-text-to-sql-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 ThePromptKing/Phi-3-mini-4k-instruct-text-to-sql-GGUF # Run inference directly in the terminal: llama cli -hf ThePromptKing/Phi-3-mini-4k-instruct-text-to-sql-GGUF
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf ThePromptKing/Phi-3-mini-4k-instruct-text-to-sql-GGUF # Run inference directly in the terminal: llama cli -hf ThePromptKing/Phi-3-mini-4k-instruct-text-to-sql-GGUF
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 ThePromptKing/Phi-3-mini-4k-instruct-text-to-sql-GGUF # Run inference directly in the terminal: ./llama-cli -hf ThePromptKing/Phi-3-mini-4k-instruct-text-to-sql-GGUF
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 ThePromptKing/Phi-3-mini-4k-instruct-text-to-sql-GGUF # Run inference directly in the terminal: ./build/bin/llama-cli -hf ThePromptKing/Phi-3-mini-4k-instruct-text-to-sql-GGUF
Use Docker
docker model run hf.co/ThePromptKing/Phi-3-mini-4k-instruct-text-to-sql-GGUF
- LM Studio
- Jan
- Ollama
How to use ThePromptKing/Phi-3-mini-4k-instruct-text-to-sql-GGUF with Ollama:
ollama run hf.co/ThePromptKing/Phi-3-mini-4k-instruct-text-to-sql-GGUF
- Unsloth Desktop
- Docker Model Runner
How to use ThePromptKing/Phi-3-mini-4k-instruct-text-to-sql-GGUF with Docker Model Runner:
docker model run hf.co/ThePromptKing/Phi-3-mini-4k-instruct-text-to-sql-GGUF
- Lemonade
How to use ThePromptKing/Phi-3-mini-4k-instruct-text-to-sql-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ThePromptKing/Phi-3-mini-4k-instruct-text-to-sql-GGUF
Run and chat with the model
lemonade run user.Phi-3-mini-4k-instruct-text-to-sql-GGUF-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
How to use from
llama.cppInstall from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf ThePromptKing/Phi-3-mini-4k-instruct-text-to-sql-GGUF# Run inference directly in the terminal:
llama cli -hf ThePromptKing/Phi-3-mini-4k-instruct-text-to-sql-GGUFUse 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 ThePromptKing/Phi-3-mini-4k-instruct-text-to-sql-GGUF# Run inference directly in the terminal:
./llama-cli -hf ThePromptKing/Phi-3-mini-4k-instruct-text-to-sql-GGUFBuild 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 ThePromptKing/Phi-3-mini-4k-instruct-text-to-sql-GGUF# Run inference directly in the terminal:
./build/bin/llama-cli -hf ThePromptKing/Phi-3-mini-4k-instruct-text-to-sql-GGUFUse Docker
docker model run hf.co/ThePromptKing/Phi-3-mini-4k-instruct-text-to-sql-GGUFQuick Links
README.md exists but content is empty.
- Downloads last month
- 44
Hardware compatibility
Log In to add your hardware
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support
Model tree for ThePromptKing/Phi-3-mini-4k-instruct-text-to-sql-GGUF
Base model
microsoft/Phi-3-mini-4k-instruct
Install (macOS, Linux)
# Start a local OpenAI-compatible server with a web UI: llama serve -hf ThePromptKing/Phi-3-mini-4k-instruct-text-to-sql-GGUF# Run inference directly in the terminal: llama cli -hf ThePromptKing/Phi-3-mini-4k-instruct-text-to-sql-GGUF