Instructions to use mradermacher/CodeLlama-7b-Python-hf-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mradermacher/CodeLlama-7b-Python-hf-GGUF with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mradermacher/CodeLlama-7b-Python-hf-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use mradermacher/CodeLlama-7b-Python-hf-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/CodeLlama-7b-Python-hf-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/CodeLlama-7b-Python-hf-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/CodeLlama-7b-Python-hf-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/CodeLlama-7b-Python-hf-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 mradermacher/CodeLlama-7b-Python-hf-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf mradermacher/CodeLlama-7b-Python-hf-GGUF:Q4_K_M
Use Docker
docker model run hf.co/mradermacher/CodeLlama-7b-Python-hf-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use mradermacher/CodeLlama-7b-Python-hf-GGUF with Ollama:
ollama run hf.co/mradermacher/CodeLlama-7b-Python-hf-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use mradermacher/CodeLlama-7b-Python-hf-GGUF with Docker Model Runner:
docker model run hf.co/mradermacher/CodeLlama-7b-Python-hf-GGUF:Q4_K_M
- Lemonade
How to use mradermacher/CodeLlama-7b-Python-hf-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mradermacher/CodeLlama-7b-Python-hf-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.CodeLlama-7b-Python-hf-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Commit History
-
auto-patch README.md
Verified signature5f03fee
-
auto-patch README.md
Verified signature9f9f588 -
uploaded from nethype/back
Verified signaturef07c41c -
uploaded from nethype/back
Verified signature458919b -
uploaded from nethype/back
Verified signaturedbea1c7 -
uploaded from nethype/back
Verified signature335c6d1 -
uploaded from nethype/back
Verified signaturee57bb71 -
uploaded from nethype/back
Verified signaturef88fd69 -
uploaded from nethype/back
Verified signatureea96c77 -
uploaded from nethype/back
Verified signature02dd5c5 -
uploaded from nethype/back
Verified signaturee3c07a6 -
uploaded from nethype/back
Verified signaturef7b0dc6 -
uploaded from nethype/back
Verified signature54ec5ac -
uploaded from nethype/back
Verified signature2442e3d -
uploaded from nethype/back
Verified signature92012ea -
uploaded from nethype/back
Verified signaturedd934ce -
uploaded from nethype/back
Verified signatured94868a -
uploaded from nethype/back
Verified signature34038e7 -
uploaded from nethype/back
Verified signature1ac2d31 -
initial commit
Verified signaturee9dc758