Instructions to use mradermacher/CodeLlama3-8B-Python-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mradermacher/CodeLlama3-8B-Python-GGUF with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mradermacher/CodeLlama3-8B-Python-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use mradermacher/CodeLlama3-8B-Python-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 mradermacher/CodeLlama3-8B-Python-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/CodeLlama3-8B-Python-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 mradermacher/CodeLlama3-8B-Python-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/CodeLlama3-8B-Python-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 mradermacher/CodeLlama3-8B-Python-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf mradermacher/CodeLlama3-8B-Python-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 mradermacher/CodeLlama3-8B-Python-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf mradermacher/CodeLlama3-8B-Python-GGUF:Q4_K_M
Use Docker
docker model run hf.co/mradermacher/CodeLlama3-8B-Python-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use mradermacher/CodeLlama3-8B-Python-GGUF with Ollama:
ollama run hf.co/mradermacher/CodeLlama3-8B-Python-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use mradermacher/CodeLlama3-8B-Python-GGUF with Docker Model Runner:
docker model run hf.co/mradermacher/CodeLlama3-8B-Python-GGUF:Q4_K_M
- Lemonade
How to use mradermacher/CodeLlama3-8B-Python-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mradermacher/CodeLlama3-8B-Python-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.CodeLlama3-8B-Python-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Commit History
-
uploaded from nethype/rain
Verified signature74ddd27 -
uploaded from nethype/rain
Verified signature8203bee -
uploaded from nethype/rain
Verified signaturec9f4dd2 -
uploaded from nethype/rain
Verified signatured028ab6 -
uploaded from nethype/rain
Verified signature52c68ed -
uploaded from nethype/rain
Verified signature9d8ffdf -
uploaded from nethype/rain
Verified signatureba3d341 -
uploaded from nethype/rain
Verified signature9b50847 -
uploaded from nethype/rain
Verified signaturea817985 -
uploaded from nethype/rain
Verified signature954062d -
uploaded from nethype/rain
Verified signature6247ab9 -
uploaded from nethype/rain
Verified signatureccd6158 -
uploaded from nethype/rain
Verified signaturec06baec -
uploaded from nethype/rain
Verified signature7a4b0f7 -
uploaded from nethype/rain
Verified signatureafedabd -
uploaded from nethype/rain
Verified signaturebd66968 -
uploaded from nethype/rain
Verified signature00d71f7 -
uploaded from nethype/rain
Verified signaturef974dc6 -
uploaded from nethype/rain
Verified signature6340a28 -
uploaded from nethype/rain
Verified signaturef43f1ad -
uploaded from nethype/rain
Verified signature02e6a07 -
uploaded from nethype/rain
Verified signature3eb3d3c -
uploaded from nethype/rain
Verified signature9a52f6f -
uploaded from nethype/rain
Verified signature6acc9e1 -
uploaded from nethype/rain
Verified signature7fde258 -
uploaded from nethype/rain
Verified signature444935f -
uploaded from nethype/rain
Verified signature6b79e62 -
uploaded from nethype/rain
Verified signature9663119 -
uploaded from nethype/rain
Verified signature518c0c4 -
uploaded from nethype/rain
Verified signature51ee44b -
uploaded from nethype/rain
Verified signature251368f -
initial commit
Verified signature5ffcbdd