Instructions to use tensorblock/OpenCodeInterpreter-DS-6.7B-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-6.7B-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/OpenCodeInterpreter-DS-6.7B-GGUF", filename="OpenCodeInterpreter-DS-6.7B-Q2_K.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use tensorblock/OpenCodeInterpreter-DS-6.7B-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-6.7B-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/OpenCodeInterpreter-DS-6.7B-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-6.7B-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/OpenCodeInterpreter-DS-6.7B-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-6.7B-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/OpenCodeInterpreter-DS-6.7B-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-6.7B-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/OpenCodeInterpreter-DS-6.7B-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/OpenCodeInterpreter-DS-6.7B-GGUF:Q2_K
- LM Studio
- Jan
- vLLM
How to use tensorblock/OpenCodeInterpreter-DS-6.7B-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-6.7B-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-6.7B-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/tensorblock/OpenCodeInterpreter-DS-6.7B-GGUF:Q2_K
- Ollama
How to use tensorblock/OpenCodeInterpreter-DS-6.7B-GGUF with Ollama:
ollama run hf.co/tensorblock/OpenCodeInterpreter-DS-6.7B-GGUF:Q2_K
- Unsloth Studio new
How to use tensorblock/OpenCodeInterpreter-DS-6.7B-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-6.7B-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-6.7B-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-6.7B-GGUF to start chatting
- Docker Model Runner
How to use tensorblock/OpenCodeInterpreter-DS-6.7B-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/OpenCodeInterpreter-DS-6.7B-GGUF:Q2_K
- Lemonade
How to use tensorblock/OpenCodeInterpreter-DS-6.7B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/OpenCodeInterpreter-DS-6.7B-GGUF:Q2_K
Run and chat with the model
lemonade run user.OpenCodeInterpreter-DS-6.7B-GGUF-Q2_K
List all available models
lemonade list
Remove .gguf files (keep Q2_K.gguf)
Browse files- OpenCodeInterpreter-DS-6.7B-Q3_K_L.gguf +0 -3
- OpenCodeInterpreter-DS-6.7B-Q3_K_M.gguf +0 -3
- OpenCodeInterpreter-DS-6.7B-Q3_K_S.gguf +0 -3
- OpenCodeInterpreter-DS-6.7B-Q4_0.gguf +0 -3
- OpenCodeInterpreter-DS-6.7B-Q4_K_M.gguf +0 -3
- OpenCodeInterpreter-DS-6.7B-Q4_K_S.gguf +0 -3
- OpenCodeInterpreter-DS-6.7B-Q5_0.gguf +0 -3
- OpenCodeInterpreter-DS-6.7B-Q5_K_M.gguf +0 -3
- OpenCodeInterpreter-DS-6.7B-Q5_K_S.gguf +0 -3
- OpenCodeInterpreter-DS-6.7B-Q6_K.gguf +0 -3
- OpenCodeInterpreter-DS-6.7B-Q8_0.gguf +0 -3
OpenCodeInterpreter-DS-6.7B-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:cc65bafb2c5443cd21acc855a57a15010a44b0dbef20eeefe0bb833f97947b6a
|
| 3 |
-
size 3598855264
|
|
|
|
|
|
|
|
|
|
|
|
OpenCodeInterpreter-DS-6.7B-Q3_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:65638db6a62aad988831c7900928c9b060b0b54c26fe336ddec8c4d6b717b9f3
|
| 3 |
-
size 3299748960
|
|
|
|
|
|
|
|
|
|
|
|
OpenCodeInterpreter-DS-6.7B-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:5fd05790bd73199b57c128cc4d9ebcd4647e74d01acdd834c8734adc9385bf73
|
| 3 |
-
size 2950048864
|
|
|
|
|
|
|
|
|
|
|
|
OpenCodeInterpreter-DS-6.7B-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:e59ec0d36ad30fe02187e27d225fdd33daaf7daca9d655b8e64f373445cc00ed
|
| 3 |
-
size 3827690592
|
|
|
|
|
|
|
|
|
|
|
|
OpenCodeInterpreter-DS-6.7B-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:a880799604ec8350e69f4626a497a056de16735c75d35246d2226b679444220d
|
| 3 |
-
size 4082887776
|
|
|
|
|
|
|
|
|
|
|
|
OpenCodeInterpreter-DS-6.7B-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:61791075f27c59bd0bae41f8e6b5de332b1a498909c48dacf612e08bd48db242
|
| 3 |
-
size 3858623584
|
|
|
|
|
|
|
|
|
|
|
|
OpenCodeInterpreter-DS-6.7B-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:a28e5a7cda9793f3278d2430173fae3655a025af369f4c89c7935c7040f3116e
|
| 3 |
-
size 4653706336
|
|
|
|
|
|
|
|
|
|
|
|
OpenCodeInterpreter-DS-6.7B-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:1300f79a3c137dec0713aa8ee9afc77272bbb71f82618d47dc8d5ee2f906e459
|
| 3 |
-
size 4785171552
|
|
|
|
|
|
|
|
|
|
|
|
OpenCodeInterpreter-DS-6.7B-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:4b08f2b1e990a8f82fc2152feb5bf50d49c46e9f27146e2b38c27ac93b2f49b1
|
| 3 |
-
size 4653706336
|
|
|
|
|
|
|
|
|
|
|
|
OpenCodeInterpreter-DS-6.7B-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:21bc58b73986a767d12bac6c6d5df9e1a86271f3a836ee5c42c585c2b4533a02
|
| 3 |
-
size 5531348064
|
|
|
|
|
|
|
|
|
|
|
|
OpenCodeInterpreter-DS-6.7B-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:630e726e77bb978891fae8581b2e64c49f41837feb7552cd7a8969187d948421
|
| 3 |
-
size 7163751520
|
|
|
|
|
|
|
|
|
|
|
|