Instructions to use mradermacher/CodeLlama-34b-Python-SelfDebug-SFT-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mradermacher/CodeLlama-34b-Python-SelfDebug-SFT-GGUF with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mradermacher/CodeLlama-34b-Python-SelfDebug-SFT-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use mradermacher/CodeLlama-34b-Python-SelfDebug-SFT-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-34b-Python-SelfDebug-SFT-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/CodeLlama-34b-Python-SelfDebug-SFT-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-34b-Python-SelfDebug-SFT-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/CodeLlama-34b-Python-SelfDebug-SFT-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-34b-Python-SelfDebug-SFT-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf mradermacher/CodeLlama-34b-Python-SelfDebug-SFT-GGUF:Q4_K_M
Use Docker
docker model run hf.co/mradermacher/CodeLlama-34b-Python-SelfDebug-SFT-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use mradermacher/CodeLlama-34b-Python-SelfDebug-SFT-GGUF with Ollama:
ollama run hf.co/mradermacher/CodeLlama-34b-Python-SelfDebug-SFT-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use mradermacher/CodeLlama-34b-Python-SelfDebug-SFT-GGUF with Docker Model Runner:
docker model run hf.co/mradermacher/CodeLlama-34b-Python-SelfDebug-SFT-GGUF:Q4_K_M
- Lemonade
How to use mradermacher/CodeLlama-34b-Python-SelfDebug-SFT-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mradermacher/CodeLlama-34b-Python-SelfDebug-SFT-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.CodeLlama-34b-Python-SelfDebug-SFT-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
auto-patch README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
<!-- ### convert_type: -->
|
| 2 |
<!-- ### vocab_type: -->
|
| 3 |
static quants of https://huggingface.co/eelxpeng/CodeLlama-34b-Python-SelfDebug-SFT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
exported_from: eelxpeng/CodeLlama-34b-Python-SelfDebug-SFT
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
library_name: transformers
|
| 6 |
+
license: apache-2.0
|
| 7 |
+
quantized_by: mradermacher
|
| 8 |
+
---
|
| 9 |
+
## About
|
| 10 |
+
|
| 11 |
<!-- ### convert_type: -->
|
| 12 |
<!-- ### vocab_type: -->
|
| 13 |
static quants of https://huggingface.co/eelxpeng/CodeLlama-34b-Python-SelfDebug-SFT
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
<!-- provided-files -->
|
| 17 |
+
weighted/imatrix quants seem not to be available (by me) at this time. If they do not show up a week or so after the static ones, I have probably not planned for them. Feel free to request them by opening a Community Discussion.
|
| 18 |
+
## Usage
|
| 19 |
+
|
| 20 |
+
If you are unsure how to use GGUF files, refer to one of [TheBloke's
|
| 21 |
+
READMEs](https://huggingface.co/TheBloke/KafkaLM-70B-German-V0.1-GGUF) for
|
| 22 |
+
more details, including on how to concatenate multi-part files.
|
| 23 |
+
|
| 24 |
+
## Provided Quants
|
| 25 |
+
|
| 26 |
+
(sorted by size, not necessarily quality. IQ-quants are often preferable over similar sized non-IQ quants)
|
| 27 |
+
|
| 28 |
+
| Link | Type | Size/GB | Notes |
|
| 29 |
+
|:-----|:-----|--------:|:------|
|
| 30 |
+
| [GGUF](https://huggingface.co/mradermacher/CodeLlama-34b-Python-SelfDebug-SFT-GGUF/resolve/main/CodeLlama-34b-Python-SelfDebug-SFT.Q2_K.gguf) | Q2_K | 12.9 | |
|
| 31 |
+
| [GGUF](https://huggingface.co/mradermacher/CodeLlama-34b-Python-SelfDebug-SFT-GGUF/resolve/main/CodeLlama-34b-Python-SelfDebug-SFT.IQ3_XS.gguf) | IQ3_XS | 14.3 | |
|
| 32 |
+
| [GGUF](https://huggingface.co/mradermacher/CodeLlama-34b-Python-SelfDebug-SFT-GGUF/resolve/main/CodeLlama-34b-Python-SelfDebug-SFT.Q3_K_S.gguf) | Q3_K_S | 15.0 | |
|
| 33 |
+
| [GGUF](https://huggingface.co/mradermacher/CodeLlama-34b-Python-SelfDebug-SFT-GGUF/resolve/main/CodeLlama-34b-Python-SelfDebug-SFT.IQ3_S.gguf) | IQ3_S | 15.1 | beats Q3_K* |
|
| 34 |
+
| [GGUF](https://huggingface.co/mradermacher/CodeLlama-34b-Python-SelfDebug-SFT-GGUF/resolve/main/CodeLlama-34b-Python-SelfDebug-SFT.IQ3_M.gguf) | IQ3_M | 15.6 | |
|
| 35 |
+
| [GGUF](https://huggingface.co/mradermacher/CodeLlama-34b-Python-SelfDebug-SFT-GGUF/resolve/main/CodeLlama-34b-Python-SelfDebug-SFT.Q3_K_M.gguf) | Q3_K_M | 16.7 | lower quality |
|
| 36 |
+
| [GGUF](https://huggingface.co/mradermacher/CodeLlama-34b-Python-SelfDebug-SFT-GGUF/resolve/main/CodeLlama-34b-Python-SelfDebug-SFT.Q3_K_L.gguf) | Q3_K_L | 18.2 | |
|
| 37 |
+
| [GGUF](https://huggingface.co/mradermacher/CodeLlama-34b-Python-SelfDebug-SFT-GGUF/resolve/main/CodeLlama-34b-Python-SelfDebug-SFT.IQ4_XS.gguf) | IQ4_XS | 18.6 | |
|
| 38 |
+
| [GGUF](https://huggingface.co/mradermacher/CodeLlama-34b-Python-SelfDebug-SFT-GGUF/resolve/main/CodeLlama-34b-Python-SelfDebug-SFT.Q4_K_S.gguf) | Q4_K_S | 19.6 | fast, recommended |
|
| 39 |
+
| [GGUF](https://huggingface.co/mradermacher/CodeLlama-34b-Python-SelfDebug-SFT-GGUF/resolve/main/CodeLlama-34b-Python-SelfDebug-SFT.Q4_K_M.gguf) | Q4_K_M | 20.6 | fast, recommended |
|
| 40 |
+
| [GGUF](https://huggingface.co/mradermacher/CodeLlama-34b-Python-SelfDebug-SFT-GGUF/resolve/main/CodeLlama-34b-Python-SelfDebug-SFT.Q5_K_S.gguf) | Q5_K_S | 23.6 | |
|
| 41 |
+
| [GGUF](https://huggingface.co/mradermacher/CodeLlama-34b-Python-SelfDebug-SFT-GGUF/resolve/main/CodeLlama-34b-Python-SelfDebug-SFT.Q5_K_M.gguf) | Q5_K_M | 24.2 | |
|
| 42 |
+
| [GGUF](https://huggingface.co/mradermacher/CodeLlama-34b-Python-SelfDebug-SFT-GGUF/resolve/main/CodeLlama-34b-Python-SelfDebug-SFT.Q6_K.gguf) | Q6_K | 28.1 | very good quality |
|
| 43 |
+
| [GGUF](https://huggingface.co/mradermacher/CodeLlama-34b-Python-SelfDebug-SFT-GGUF/resolve/main/CodeLlama-34b-Python-SelfDebug-SFT.Q8_0.gguf) | Q8_0 | 36.2 | fast, best quality |
|
| 44 |
+
|
| 45 |
+
|
| 46 |
+
Here is a handy graph by ikawrakow comparing some lower-quality quant
|
| 47 |
+
types (lower is better):
|
| 48 |
+
|
| 49 |
+

|
| 50 |
+
|
| 51 |
+
And here are Artefact2's thoughts on the matter:
|
| 52 |
+
https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9
|
| 53 |
+
|
| 54 |
+
## Thanks
|
| 55 |
+
|
| 56 |
+
I thank my company, [nethype GmbH](https://www.nethype.de/), for letting
|
| 57 |
+
me use its servers and providing upgrades to my workstation to enable
|
| 58 |
+
this work in my free time.
|
| 59 |
+
|
| 60 |
+
<!-- end -->
|