Instructions to use mradermacher/CodeLlama-7b-Python-hf-i1-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-i1-GGUF with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mradermacher/CodeLlama-7b-Python-hf-i1-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use mradermacher/CodeLlama-7b-Python-hf-i1-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-i1-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/CodeLlama-7b-Python-hf-i1-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-i1-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/CodeLlama-7b-Python-hf-i1-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-i1-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf mradermacher/CodeLlama-7b-Python-hf-i1-GGUF:Q4_K_M
Use Docker
docker model run hf.co/mradermacher/CodeLlama-7b-Python-hf-i1-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use mradermacher/CodeLlama-7b-Python-hf-i1-GGUF with Ollama:
ollama run hf.co/mradermacher/CodeLlama-7b-Python-hf-i1-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use mradermacher/CodeLlama-7b-Python-hf-i1-GGUF with Docker Model Runner:
docker model run hf.co/mradermacher/CodeLlama-7b-Python-hf-i1-GGUF:Q4_K_M
- Lemonade
How to use mradermacher/CodeLlama-7b-Python-hf-i1-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mradermacher/CodeLlama-7b-Python-hf-i1-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.CodeLlama-7b-Python-hf-i1-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Commit History
-
auto-patch README.md
Verified signature89d2756 -
uploaded from nethype/back
Verified signature4985096 -
uploaded from nethype/back
Verified signatureb223510 -
uploaded from nethype/back
Verified signaturec712b62
-
uploaded from nethype/back
Verified signaturea841ad4 -
uploaded from nethype/back
Verified signature0c58840 -
uploaded from nethype/back
Verified signature4cf4838 -
uploaded from nethype/back
Verified signature95d18e8 -
uploaded from nethype/back
Verified signatureabf01a3 -
uploaded from nethype/back
Verified signature53ca85a -
uploaded from nethype/back
Verified signatured7b0d3a
-
uploaded from nethype/back
Verified signaturedab381c -
uploaded from nethype/back
Verified signaturebdee9e3 -
uploaded from nethype/back
Verified signature15667ed -
uploaded from nethype/back
Verified signature398c4d3 -
uploaded from nethype/back
Verified signatureabe4b39 -
uploaded from nethype/back
Verified signature6558e4b -
uploaded from nethype/back
Verified signature60dfbd0 -
uploaded from nethype/back
Verified signatureea00d83 -
uploaded from nethype/back
Verified signaturee730461 -
uploaded from nethype/back
Verified signature04a71f1 -
uploaded from nethype/back
Verified signatured9dcd70 -
uploaded from nethype/back
Verified signature0a7d5ee -
uploaded from nethype/back
Verified signature16ddd87 -
uploaded from nethype/back
Verified signatureb225397 -
uploaded from nethype/back
Verified signature3c07910 -
uploaded from nethype/back
Verified signatured185d78 -
uploaded from nethype/back
Verified signature907c3b2 -
initial commit
Verified signature954c351