Instructions to use mradermacher/python_code_generator-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mradermacher/python_code_generator-GGUF with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mradermacher/python_code_generator-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use mradermacher/python_code_generator-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/python_code_generator-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/python_code_generator-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/python_code_generator-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/python_code_generator-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/python_code_generator-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf mradermacher/python_code_generator-GGUF:Q4_K_M
Use Docker
docker model run hf.co/mradermacher/python_code_generator-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use mradermacher/python_code_generator-GGUF with Ollama:
ollama run hf.co/mradermacher/python_code_generator-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use mradermacher/python_code_generator-GGUF with Docker Model Runner:
docker model run hf.co/mradermacher/python_code_generator-GGUF:Q4_K_M
- Lemonade
How to use mradermacher/python_code_generator-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mradermacher/python_code_generator-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.python_code_generator-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
uploaded from kaos
Browse files- .gitattributes +12 -0
- python_code_generator.IQ4_XS.gguf +3 -0
- python_code_generator.Q2_K.gguf +3 -0
- python_code_generator.Q3_K_L.gguf +3 -0
- python_code_generator.Q3_K_M.gguf +3 -0
- python_code_generator.Q3_K_S.gguf +3 -0
- python_code_generator.Q4_K_M.gguf +3 -0
- python_code_generator.Q4_K_S.gguf +3 -0
- python_code_generator.Q5_K_M.gguf +3 -0
- python_code_generator.Q5_K_S.gguf +3 -0
- python_code_generator.Q6_K.gguf +3 -0
- python_code_generator.Q8_0.gguf +3 -0
- python_code_generator.f16.gguf +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,15 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
python_code_generator.IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
python_code_generator.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
python_code_generator.Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
python_code_generator.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
python_code_generator.Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
python_code_generator.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
python_code_generator.Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
python_code_generator.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
python_code_generator.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
python_code_generator.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
python_code_generator.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
python_code_generator.f16.gguf filter=lfs diff=lfs merge=lfs -text
|
python_code_generator.IQ4_XS.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:029d365b509abdeb6c37244da2eafe67c14008f540d44f86972fdc3161bda63b
|
| 3 |
+
size 82558816
|
python_code_generator.Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dde910c0257e37b4d6f9410a02b124412c747a227f7f32f67e32a0b9162b4c01
|
| 3 |
+
size 68532064
|
python_code_generator.Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b51cf6aa07df41cfdc623f0e01de5e8b208de33750c070cac7be0ee2e3d1ea30
|
| 3 |
+
size 85507936
|
python_code_generator.Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eb4bbae26d39160d4359770025d89e72166abcc081672eb1a8515550a5b9e5df
|
| 3 |
+
size 81084256
|
python_code_generator.Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3069bf1a55c9cc2f17395ab10f453fe219552e8dfb6e531156b1f97aedab4691
|
| 3 |
+
size 73564000
|
python_code_generator.Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:92302d0f51167e3ddeecc2bdfd0f5f92101181093739e44c323064fe02086859
|
| 3 |
+
size 91148128
|
python_code_generator.Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1598f148e3db35aa0b9793cbca05d9cff27938ac6325dc6b45b974e02f3795b3
|
| 3 |
+
size 85139296
|
python_code_generator.Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:62809a4271660c353093f05bd96e5a93f4c8587ce904ea3bf45832e7aff0e082
|
| 3 |
+
size 100161376
|
python_code_generator.Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0a6a58709461883e06acf252d1258f89639bc42da73ad32c0d2e66438bff20f8
|
| 3 |
+
size 95461216
|
python_code_generator.Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dfff1f6dd6aa98d3dabaf64641c25975ba27314a51f37570c1a53a7ac543929a
|
| 3 |
+
size 106741600
|
python_code_generator.Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7bcdc70d4d30328561ee26d657cf6537561f7b915545c268987df29590b48b1e
|
| 3 |
+
size 136659520
|
python_code_generator.f16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e0ed14d69fdf3392851fe128a2fb69931006e782457adb8018569261fd1e1422
|
| 3 |
+
size 252470784
|