Instructions to use mradermacher/Python-Code-Completer-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mradermacher/Python-Code-Completer-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mradermacher/Python-Code-Completer-GGUF", dtype="auto") - llama-cpp-python
How to use mradermacher/Python-Code-Completer-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="mradermacher/Python-Code-Completer-GGUF", filename="Python-Code-Completer.IQ4_XS.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use mradermacher/Python-Code-Completer-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf mradermacher/Python-Code-Completer-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf mradermacher/Python-Code-Completer-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf mradermacher/Python-Code-Completer-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf mradermacher/Python-Code-Completer-GGUF:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf mradermacher/Python-Code-Completer-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf mradermacher/Python-Code-Completer-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf mradermacher/Python-Code-Completer-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf mradermacher/Python-Code-Completer-GGUF:Q4_K_M
Use Docker
docker model run hf.co/mradermacher/Python-Code-Completer-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use mradermacher/Python-Code-Completer-GGUF with Ollama:
ollama run hf.co/mradermacher/Python-Code-Completer-GGUF:Q4_K_M
- Unsloth Studio new
How to use mradermacher/Python-Code-Completer-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for mradermacher/Python-Code-Completer-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for mradermacher/Python-Code-Completer-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for mradermacher/Python-Code-Completer-GGUF to start chatting
- Docker Model Runner
How to use mradermacher/Python-Code-Completer-GGUF with Docker Model Runner:
docker model run hf.co/mradermacher/Python-Code-Completer-GGUF:Q4_K_M
- Lemonade
How to use mradermacher/Python-Code-Completer-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mradermacher/Python-Code-Completer-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Python-Code-Completer-GGUF-Q4_K_M
List all available models
lemonade list
uploaded from rich1
Browse files- .gitattributes +12 -0
- Python-Code-Completer.IQ4_XS.gguf +3 -0
- Python-Code-Completer.Q2_K.gguf +3 -0
- Python-Code-Completer.Q3_K_L.gguf +3 -0
- Python-Code-Completer.Q3_K_M.gguf +3 -0
- Python-Code-Completer.Q3_K_S.gguf +3 -0
- Python-Code-Completer.Q4_K_M.gguf +3 -0
- Python-Code-Completer.Q4_K_S.gguf +3 -0
- Python-Code-Completer.Q5_K_M.gguf +3 -0
- Python-Code-Completer.Q5_K_S.gguf +3 -0
- Python-Code-Completer.Q6_K.gguf +3 -0
- Python-Code-Completer.Q8_0.gguf +3 -0
- Python-Code-Completer.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-Completer.IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
Python-Code-Completer.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
Python-Code-Completer.Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
Python-Code-Completer.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
Python-Code-Completer.Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
Python-Code-Completer.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
Python-Code-Completer.Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
Python-Code-Completer.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
Python-Code-Completer.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
Python-Code-Completer.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
Python-Code-Completer.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
Python-Code-Completer.f16.gguf filter=lfs diff=lfs merge=lfs -text
|
Python-Code-Completer.IQ4_XS.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d735b51a39156969cfbca9e21f17e8dd5e70f084ec973e28802b9cf5e3ed2aa1
|
| 3 |
+
size 902180864
|
Python-Code-Completer.Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6a200befe4d2b9c91b095cd60542113edc57165456ba24982ba09301f6ba9ff4
|
| 3 |
+
size 676302848
|
Python-Code-Completer.Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9a22ccd672d71914c183a89efaee16e249e8ab9860e7d9a3c433ed267f767f55
|
| 3 |
+
size 880160768
|
Python-Code-Completer.Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2d59850b3707a32f46272cf80f83d8ab50bd491360c2ece992828dece2d9151a
|
| 3 |
+
size 824176640
|
Python-Code-Completer.Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:42a112c5fbea538eb8b138db369002f6e03dda0c5a89db603db920d5913ebce9
|
| 3 |
+
size 760942592
|
Python-Code-Completer.Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9656825e74bba46c86d6e74eeb13e3ad75409befe5183d22a609d997aeb2cefa
|
| 3 |
+
size 986046464
|
Python-Code-Completer.Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9dbd3d667b7fcef1989804b30dd0b2c3a429ec3c15f5b2fec02cfb89d5dcc24d
|
| 3 |
+
size 940310528
|
Python-Code-Completer.Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:955d56d4738c7bfb71a0591a4ad01e43ca3f7020dc23b69474ec6312cd42e48a
|
| 3 |
+
size 1125048320
|
Python-Code-Completer.Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:450664107fa056b96fdbebbb73eb30d4a84ef6f027058cda19c411346ea319f4
|
| 3 |
+
size 1098727424
|
Python-Code-Completer.Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6f5b3d6617f4f823d47c6b053eeebf9b077e7d0b5099fbbe24740fa62e41a183
|
| 3 |
+
size 1272737792
|
Python-Code-Completer.Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8d7f95ced885eee7ac1ec20401032b1e364022ea648f9d7333f42462a0a6e175
|
| 3 |
+
size 1646571008
|
Python-Code-Completer.f16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ebb6807ba5c3d4afad8fc688a613e5d3cbb931594b656a008af99bb334562eff
|
| 3 |
+
size 3093667328
|