Instructions to use QuantFactory/Meta-Llama-3.1-8B-Text-to-SQL-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use QuantFactory/Meta-Llama-3.1-8B-Text-to-SQL-GGUF with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("QuantFactory/Meta-Llama-3.1-8B-Text-to-SQL-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use QuantFactory/Meta-Llama-3.1-8B-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 QuantFactory/Meta-Llama-3.1-8B-Text-to-SQL-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf QuantFactory/Meta-Llama-3.1-8B-Text-to-SQL-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 QuantFactory/Meta-Llama-3.1-8B-Text-to-SQL-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf QuantFactory/Meta-Llama-3.1-8B-Text-to-SQL-GGUF: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 QuantFactory/Meta-Llama-3.1-8B-Text-to-SQL-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf QuantFactory/Meta-Llama-3.1-8B-Text-to-SQL-GGUF: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 QuantFactory/Meta-Llama-3.1-8B-Text-to-SQL-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf QuantFactory/Meta-Llama-3.1-8B-Text-to-SQL-GGUF:Q4_K_M
Use Docker
docker model run hf.co/QuantFactory/Meta-Llama-3.1-8B-Text-to-SQL-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use QuantFactory/Meta-Llama-3.1-8B-Text-to-SQL-GGUF with Ollama:
ollama run hf.co/QuantFactory/Meta-Llama-3.1-8B-Text-to-SQL-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use QuantFactory/Meta-Llama-3.1-8B-Text-to-SQL-GGUF with Docker Model Runner:
docker model run hf.co/QuantFactory/Meta-Llama-3.1-8B-Text-to-SQL-GGUF:Q4_K_M
- Lemonade
How to use QuantFactory/Meta-Llama-3.1-8B-Text-to-SQL-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull QuantFactory/Meta-Llama-3.1-8B-Text-to-SQL-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Meta-Llama-3.1-8B-Text-to-SQL-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Commit History
-
Upload Meta-Llama-3.1-8B-Text-to-SQL.Q4_K_S.gguf with huggingface_hub
Verified signaturea44e8f1 -
Upload Meta-Llama-3.1-8B-Text-to-SQL.Q3_K_S.gguf with huggingface_hub
Verified signaturef4ea7ab -
Upload Meta-Llama-3.1-8B-Text-to-SQL.Q3_K_M.gguf with huggingface_hub
Verified signature6e72d2a -
Upload Meta-Llama-3.1-8B-Text-to-SQL.Q3_K_L.gguf with huggingface_hub
Verified signatured258661 -
Upload Meta-Llama-3.1-8B-Text-to-SQL.Q2_K.gguf with huggingface_hub
Verified signaturee411094 -
Upload Meta-Llama-3.1-8B-Text-to-SQL.Q5_1.gguf with huggingface_hub
Verified signature683c08e -
Upload Meta-Llama-3.1-8B-Text-to-SQL.Q5_0.gguf with huggingface_hub
Verified signature23f855b -
Upload Meta-Llama-3.1-8B-Text-to-SQL.Q5_K_S.gguf with huggingface_hub
Verified signature2cea255 -
Upload Meta-Llama-3.1-8B-Text-to-SQL.Q5_K_M.gguf with huggingface_hub
Verified signature71d1d99 -
Upload Meta-Llama-3.1-8B-Text-to-SQL.Q6_K.gguf with huggingface_hub
Verified signature0ff35bb -
Upload Meta-Llama-3.1-8B-Text-to-SQL.Q8_0.gguf with huggingface_hub
Verified signaturea9fb0ff -
Upload Meta-Llama-3.1-8B-Text-to-SQL.Q4_0.gguf with huggingface_hub
Verified signature310b086 -
Upload Meta-Llama-3.1-8B-Text-to-SQL.Q4_1.gguf with huggingface_hub
Verified signature55701ad -
Upload Meta-Llama-3.1-8B-Text-to-SQL.Q4_K_M.gguf with huggingface_hub
Verified signature0d499d7 -
Upload README.md with huggingface_hub
Verified signatured98d5ea -
initial commit
Verified signature1034578