Instructions to use mradermacher/CodeLama-7b-Python-3k-platypus-v2-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mradermacher/CodeLama-7b-Python-3k-platypus-v2-GGUF with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mradermacher/CodeLama-7b-Python-3k-platypus-v2-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use mradermacher/CodeLama-7b-Python-3k-platypus-v2-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/CodeLama-7b-Python-3k-platypus-v2-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/CodeLama-7b-Python-3k-platypus-v2-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/CodeLama-7b-Python-3k-platypus-v2-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/CodeLama-7b-Python-3k-platypus-v2-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/CodeLama-7b-Python-3k-platypus-v2-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf mradermacher/CodeLama-7b-Python-3k-platypus-v2-GGUF:Q4_K_M
Use Docker
docker model run hf.co/mradermacher/CodeLama-7b-Python-3k-platypus-v2-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use mradermacher/CodeLama-7b-Python-3k-platypus-v2-GGUF with Ollama:
ollama run hf.co/mradermacher/CodeLama-7b-Python-3k-platypus-v2-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use mradermacher/CodeLama-7b-Python-3k-platypus-v2-GGUF with Docker Model Runner:
docker model run hf.co/mradermacher/CodeLama-7b-Python-3k-platypus-v2-GGUF:Q4_K_M
- Lemonade
How to use mradermacher/CodeLama-7b-Python-3k-platypus-v2-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mradermacher/CodeLama-7b-Python-3k-platypus-v2-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.CodeLama-7b-Python-3k-platypus-v2-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Commit History
-
auto-patch README.md
Verified signature80133e1 -
uploaded from backup1
Verified signatureb8faeb0 -
uploaded from backup1
Verified signature47abef6 -
auto-patch README.md
Verified signature1b7cb92 -
uploaded from backup1
Verified signature66332f0 -
uploaded from backup1
Verified signature5e94f87 -
uploaded from backup1
Verified signature3ea9c74 -
uploaded from backup1
Verified signaturea35dbe5 -
uploaded from backup1
Verified signature7895e4e -
uploaded from backup1
Verified signature77d86f8 -
uploaded from backup1
Verified signatured57f36a -
uploaded from backup1
Verified signature5bfa706 -
uploaded from backup1
Verified signature1bbf92e -
uploaded from backup1
Verified signature569170d -
uploaded from backup1
Verified signature26358bf -
uploaded from backup1
Verified signature68b49e3 -
initial commit
Verified signature445031c