Instructions to use tensorblock/Python-Code-33B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use tensorblock/Python-Code-33B-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/Python-Code-33B-GGUF", filename="Python-Code-33B-Q2_K.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 tensorblock/Python-Code-33B-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/Python-Code-33B-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/Python-Code-33B-GGUF:Q2_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/Python-Code-33B-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/Python-Code-33B-GGUF:Q2_K
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 tensorblock/Python-Code-33B-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/Python-Code-33B-GGUF:Q2_K
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 tensorblock/Python-Code-33B-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/Python-Code-33B-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/Python-Code-33B-GGUF:Q2_K
- LM Studio
- Jan
- Ollama
How to use tensorblock/Python-Code-33B-GGUF with Ollama:
ollama run hf.co/tensorblock/Python-Code-33B-GGUF:Q2_K
- Unsloth Studio new
How to use tensorblock/Python-Code-33B-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 tensorblock/Python-Code-33B-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 tensorblock/Python-Code-33B-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for tensorblock/Python-Code-33B-GGUF to start chatting
- Docker Model Runner
How to use tensorblock/Python-Code-33B-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/Python-Code-33B-GGUF:Q2_K
- Lemonade
How to use tensorblock/Python-Code-33B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/Python-Code-33B-GGUF:Q2_K
Run and chat with the model
lemonade run user.Python-Code-33B-GGUF-Q2_K
List all available models
lemonade list
Keep Q2_K/Q3_K_M gguf only
Browse files- Python-Code-33B-Q3_K_L.gguf +0 -3
- Python-Code-33B-Q3_K_S.gguf +0 -3
- Python-Code-33B-Q4_0.gguf +0 -3
- Python-Code-33B-Q4_K_M.gguf +0 -3
- Python-Code-33B-Q4_K_S.gguf +0 -3
- Python-Code-33B-Q5_0.gguf +0 -3
- Python-Code-33B-Q5_K_M.gguf +0 -3
- Python-Code-33B-Q5_K_S.gguf +0 -3
- Python-Code-33B-Q6_K.gguf +0 -3
- Python-Code-33B-Q8_0.gguf +0 -3
Python-Code-33B-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:ce865c4a429bd7540c05692fde728cfa436a709431b935ff97f815ff6aac99d6
|
| 3 |
-
size 17279759488
|
|
|
|
|
|
|
|
|
|
|
|
Python-Code-33B-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:38de4338da854036bff02a72cbca95cc773b45827ea7c0dc8f42e389cf746b47
|
| 3 |
-
size 14064112768
|
|
|
|
|
|
|
|
|
|
|
|
Python-Code-33B-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:3bb5ee0d3307c25a06d2289d082e28467ab8d57572fe11f2fd832d3571018a4d
|
| 3 |
-
size 18355968128
|
|
|
|
|
|
|
|
|
|
|
|
Python-Code-33B-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:c74cc446fd7a9acecfddd9c28ae8fd3c9f50750853e256834adbab3c875d587f
|
| 3 |
-
size 19621140608
|
|
|
|
|
|
|
|
|
|
|
|
Python-Code-33B-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:bdf263d77dde0e47234f0ba0c1a1074242f031cbab355e1664ebac6fe1a998d7
|
| 3 |
-
size 18482485376
|
|
|
|
|
|
|
|
|
|
|
|
Python-Code-33B-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:8542aa2531b2a7d2d42aac1077c7b88a5ca1ca3eb3bfd5e88e6bcab29c35afa1
|
| 3 |
-
size 22395361408
|
|
|
|
|
|
|
|
|
|
|
|
Python-Code-33B-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:abc5e81ba28e553207a291e2898a430fb72449b3fc5dd42952c5b9cd8c59d0a6
|
| 3 |
-
size 23047116928
|
|
|
|
|
|
|
|
|
|
|
|
Python-Code-33B-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:c280fe1ec3384c32f270ae410cc6db637329a2e6ef455edf922f7937af0f7291
|
| 3 |
-
size 22395361408
|
|
|
|
|
|
|
|
|
|
|
|
Python-Code-33B-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:f73f1e39ca7a8b27aae193dda3bb557ec4e48053b073608a47b0145da5345a8b
|
| 3 |
-
size 26687216768
|
|
|
|
|
|
|
|
|
|
|
|
Python-Code-33B-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:9ff6a4a4974dd687e6f7ae61737beec27b22d4289b90532ed61b5354ec0162c5
|
| 3 |
-
size 34565125248
|
|
|
|
|
|
|
|
|
|
|
|