Instructions to use tensorblock/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/Code-33B-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/Code-33B-GGUF", filename="Code-33B-Q2_K.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use tensorblock/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/Code-33B-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/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/Code-33B-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/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/Code-33B-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/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/Code-33B-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/Code-33B-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/Code-33B-GGUF:Q2_K
- LM Studio
- Jan
- Ollama
How to use tensorblock/Code-33B-GGUF with Ollama:
ollama run hf.co/tensorblock/Code-33B-GGUF:Q2_K
- Unsloth Studio
How to use tensorblock/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/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/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/Code-33B-GGUF to start chatting
- Atomic Chat new
- Docker Model Runner
How to use tensorblock/Code-33B-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/Code-33B-GGUF:Q2_K
- Lemonade
How to use tensorblock/Code-33B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/Code-33B-GGUF:Q2_K
Run and chat with the model
lemonade run user.Code-33B-GGUF-Q2_K
List all available models
lemonade list
Remove .gguf files (keep Q2_K.gguf)
Browse files- Code-33B-Q3_K_L.gguf +0 -3
- Code-33B-Q3_K_M.gguf +0 -3
- Code-33B-Q3_K_S.gguf +0 -3
- Code-33B-Q4_0.gguf +0 -3
- Code-33B-Q4_K_M.gguf +0 -3
- Code-33B-Q4_K_S.gguf +0 -3
- Code-33B-Q5_0.gguf +0 -3
- Code-33B-Q5_K_M.gguf +0 -3
- Code-33B-Q5_K_S.gguf +0 -3
- Code-33B-Q6_K.gguf +0 -3
- Code-33B-Q8_0.gguf +0 -3
Code-33B-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:4ed1a12b1cc52a1bfb3cda20138619dd0cc1d6a421ba72cdd79061eb1b43c8ba
|
| 3 |
-
size 17279759456
|
|
|
|
|
|
|
|
|
|
|
|
Code-33B-Q3_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:23dfdc492b32b5ddabad03c65a706e3c4eee19d036e26e3c3199112ec20ce478
|
| 3 |
-
size 15776461920
|
|
|
|
|
|
|
|
|
|
|
|
Code-33B-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:edc7ade3a13e31fd0ddebe62cb4f2533eb6cd75a0c8cdefc50b204938058dec9
|
| 3 |
-
size 14064112736
|
|
|
|
|
|
|
|
|
|
|
|
Code-33B-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:8a5546a867c4d013c0f992fb384a699d979f62f9fe3f6fd51438cdda1742047b
|
| 3 |
-
size 18355968096
|
|
|
|
|
|
|
|
|
|
|
|
Code-33B-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:b0acaffc7ecb67ab275d8db0236fc83805d0bccd2e8ac6278dd0d998df5eea10
|
| 3 |
-
size 19621140576
|
|
|
|
|
|
|
|
|
|
|
|
Code-33B-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:e8312de6167902da7788f072bd67880ed115b24e867f964f112532244e6e23f9
|
| 3 |
-
size 18482485344
|
|
|
|
|
|
|
|
|
|
|
|
Code-33B-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:52aa4a73d55c68304205a9d8f24d752a3376dd4d79908224bb036ec161b12764
|
| 3 |
-
size 22395361376
|
|
|
|
|
|
|
|
|
|
|
|
Code-33B-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:31c22a631e9d99b223183f17d50e365b15e57f59afcd8a425459f66b64dff030
|
| 3 |
-
size 23047116896
|
|
|
|
|
|
|
|
|
|
|
|
Code-33B-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:cf4d5664045a9b23e704464cc79253b4b5d51aa64862eb24960631b205bd8809
|
| 3 |
-
size 22395361376
|
|
|
|
|
|
|
|
|
|
|
|
Code-33B-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:ceb0c70253a4b29fcdd7b09bfcc555de1bcf374279a01e8b31aa624f3b087b1b
|
| 3 |
-
size 26687216736
|
|
|
|
|
|
|
|
|
|
|
|
Code-33B-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:b8ddaf7922f4d36d0458e60f020679051fc8f7e81f7fcb5b3006d908188154a8
|
| 3 |
-
size 34565125216
|
|
|
|
|
|
|
|
|
|
|
|