Instructions to use tensorblock/OpenCodeInterpreter-DS-1.3B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use tensorblock/OpenCodeInterpreter-DS-1.3B-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/OpenCodeInterpreter-DS-1.3B-GGUF", filename="OpenCodeInterpreter-DS-1.3B-Q2_K.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use tensorblock/OpenCodeInterpreter-DS-1.3B-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/OpenCodeInterpreter-DS-1.3B-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/OpenCodeInterpreter-DS-1.3B-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/OpenCodeInterpreter-DS-1.3B-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/OpenCodeInterpreter-DS-1.3B-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/OpenCodeInterpreter-DS-1.3B-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/OpenCodeInterpreter-DS-1.3B-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/OpenCodeInterpreter-DS-1.3B-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/OpenCodeInterpreter-DS-1.3B-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/OpenCodeInterpreter-DS-1.3B-GGUF:Q2_K
- LM Studio
- Jan
- vLLM
How to use tensorblock/OpenCodeInterpreter-DS-1.3B-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tensorblock/OpenCodeInterpreter-DS-1.3B-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tensorblock/OpenCodeInterpreter-DS-1.3B-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/tensorblock/OpenCodeInterpreter-DS-1.3B-GGUF:Q2_K
- Ollama
How to use tensorblock/OpenCodeInterpreter-DS-1.3B-GGUF with Ollama:
ollama run hf.co/tensorblock/OpenCodeInterpreter-DS-1.3B-GGUF:Q2_K
- Unsloth Studio
How to use tensorblock/OpenCodeInterpreter-DS-1.3B-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/OpenCodeInterpreter-DS-1.3B-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/OpenCodeInterpreter-DS-1.3B-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/OpenCodeInterpreter-DS-1.3B-GGUF to start chatting
- Atomic Chat new
- Docker Model Runner
How to use tensorblock/OpenCodeInterpreter-DS-1.3B-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/OpenCodeInterpreter-DS-1.3B-GGUF:Q2_K
- Lemonade
How to use tensorblock/OpenCodeInterpreter-DS-1.3B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/OpenCodeInterpreter-DS-1.3B-GGUF:Q2_K
Run and chat with the model
lemonade run user.OpenCodeInterpreter-DS-1.3B-GGUF-Q2_K
List all available models
lemonade list
Remove .gguf files (keep Q2_K.gguf)
Browse files- OpenCodeInterpreter-DS-1.3B-Q3_K_L.gguf +0 -3
- OpenCodeInterpreter-DS-1.3B-Q3_K_M.gguf +0 -3
- OpenCodeInterpreter-DS-1.3B-Q3_K_S.gguf +0 -3
- OpenCodeInterpreter-DS-1.3B-Q4_0.gguf +0 -3
- OpenCodeInterpreter-DS-1.3B-Q4_K_M.gguf +0 -3
- OpenCodeInterpreter-DS-1.3B-Q4_K_S.gguf +0 -3
- OpenCodeInterpreter-DS-1.3B-Q5_0.gguf +0 -3
- OpenCodeInterpreter-DS-1.3B-Q5_K_M.gguf +0 -3
- OpenCodeInterpreter-DS-1.3B-Q5_K_S.gguf +0 -3
- OpenCodeInterpreter-DS-1.3B-Q6_K.gguf +0 -3
- OpenCodeInterpreter-DS-1.3B-Q8_0.gguf +0 -3
OpenCodeInterpreter-DS-1.3B-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:cc06ae4abc7694f5a9dc5570ab5be297bfbc3ace28ad23f6c514b27b2f65ed06
|
| 3 |
-
size 744455296
|
|
|
|
|
|
|
|
|
|
|
|
OpenCodeInterpreter-DS-1.3B-Q3_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:22ac2a2b9786d72c53c19bfc923ce9718837fb0dfcf52217d73dbd7b1c7b9c0e
|
| 3 |
-
size 704134272
|
|
|
|
|
|
|
|
|
|
|
|
OpenCodeInterpreter-DS-1.3B-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:4ba1cf2269e92e646117241c74690550042efbe8d0c4e61a39c0715e714f80d1
|
| 3 |
-
size 641825920
|
|
|
|
|
|
|
|
|
|
|
|
OpenCodeInterpreter-DS-1.3B-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:d2a7375a2dfbfbdb471ee58db6fe880a5d5a0dcd5bf88036706ff18a1355f97f
|
| 3 |
-
size 775937152
|
|
|
|
|
|
|
|
|
|
|
|
OpenCodeInterpreter-DS-1.3B-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:c0c4814a15c9671e7e125f050ec45b0b78d7899104b1fa2f4f09241d20e1b347
|
| 3 |
-
size 873454720
|
|
|
|
|
|
|
|
|
|
|
|
OpenCodeInterpreter-DS-1.3B-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:383820bf6f29bbb7cc59a827b600020a9ba7f9dc010c846c49bb64eb027b0c6a
|
| 3 |
-
size 813964416
|
|
|
|
|
|
|
|
|
|
|
|
OpenCodeInterpreter-DS-1.3B-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:57b3c1520e498451c7c1f28402d444ec0fcca21b6a5fc718b8b803c07d7ff5f0
|
| 3 |
-
size 935976064
|
|
|
|
|
|
|
|
|
|
|
|
OpenCodeInterpreter-DS-1.3B-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:48e96a4385133924cca32b9c2d8d37866f7032c250fe798f9a71b3f34844c031
|
| 3 |
-
size 1001839744
|
|
|
|
|
|
|
|
|
|
|
|
OpenCodeInterpreter-DS-1.3B-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:3674bf26e4d2e43eaae22c12ce2e087013169e8003fb78dfe0efa3786728f53b
|
| 3 |
-
size 952884352
|
|
|
|
|
|
|
|
|
|
|
|
OpenCodeInterpreter-DS-1.3B-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:5032d8fb01f06848af7a802b3572e14e96f7d72ea6f2c59dbfcdfe010814411c
|
| 3 |
-
size 1171537024
|
|
|
|
|
|
|
|
|
|
|
|
OpenCodeInterpreter-DS-1.3B-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:6d28a9c7dc14d5b74048d537f423294bb9eaa62f9a977cd02aef3d353ec08c08
|
| 3 |
-
size 1432091776
|
|
|
|
|
|
|
|
|
|
|
|