Instructions to use mradermacher/CodeLama-7b-Python-mini-platypus-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mradermacher/CodeLama-7b-Python-mini-platypus-GGUF with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mradermacher/CodeLama-7b-Python-mini-platypus-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use mradermacher/CodeLama-7b-Python-mini-platypus-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-mini-platypus-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/CodeLama-7b-Python-mini-platypus-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-mini-platypus-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/CodeLama-7b-Python-mini-platypus-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-mini-platypus-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf mradermacher/CodeLama-7b-Python-mini-platypus-GGUF:Q4_K_M
Use Docker
docker model run hf.co/mradermacher/CodeLama-7b-Python-mini-platypus-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use mradermacher/CodeLama-7b-Python-mini-platypus-GGUF with Ollama:
ollama run hf.co/mradermacher/CodeLama-7b-Python-mini-platypus-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use mradermacher/CodeLama-7b-Python-mini-platypus-GGUF with Docker Model Runner:
docker model run hf.co/mradermacher/CodeLama-7b-Python-mini-platypus-GGUF:Q4_K_M
- Lemonade
How to use mradermacher/CodeLama-7b-Python-mini-platypus-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mradermacher/CodeLama-7b-Python-mini-platypus-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.CodeLama-7b-Python-mini-platypus-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Download CodeLama-7b-Python-mini-platypus.Q2_K.gguf from mradermacher/CodeLama-7b-Python-mini-platypus-GGUF: direct link, hf CLI and curl.
- Browser
- Download file 2.53 GB
-
https://huggingface.co/mradermacher/CodeLama-7b-Python-mini-platypus-GGUF/resolve/main/CodeLama-7b-Python-mini-platypus.Q2_K.gguf
- Command line
-
hf download hf://mradermacher/CodeLama-7b-Python-mini-platypus-GGUF/CodeLama-7b-Python-mini-platypus.Q2_K.gguf
-
curl -L -o CodeLama-7b-Python-mini-platypus.Q2_K.gguf https://huggingface.co/mradermacher/CodeLama-7b-Python-mini-platypus-GGUF/resolve/main/CodeLama-7b-Python-mini-platypus.Q2_K.gguf
2.53 GB
- Xet hash:
- 8d0bdd8426f3793d42fbeec7a119aa066fc4a1b10b9edbc4a9b8b8c7b474fed7
- Size of remote file:
- 2.53 GB
- SHA256:
- f7cdc1452b5c740cdafbf1d02e5afec7882eabc6265f86fa4c70f31307cc9864
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.