Instructions to use tensorblock/OlympicCoder-7B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use tensorblock/OlympicCoder-7B-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/OlympicCoder-7B-GGUF", filename="OlympicCoder-7B-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/OlympicCoder-7B-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf tensorblock/OlympicCoder-7B-GGUF:Q2_K # Run inference directly in the terminal: llama cli -hf tensorblock/OlympicCoder-7B-GGUF:Q2_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf tensorblock/OlympicCoder-7B-GGUF:Q2_K # Run inference directly in the terminal: llama cli -hf tensorblock/OlympicCoder-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/OlympicCoder-7B-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/OlympicCoder-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/OlympicCoder-7B-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/OlympicCoder-7B-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/OlympicCoder-7B-GGUF:Q2_K
- LM Studio
- Jan
- vLLM
How to use tensorblock/OlympicCoder-7B-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tensorblock/OlympicCoder-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/OlympicCoder-7B-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/tensorblock/OlympicCoder-7B-GGUF:Q2_K
- Ollama
How to use tensorblock/OlympicCoder-7B-GGUF with Ollama:
ollama run hf.co/tensorblock/OlympicCoder-7B-GGUF:Q2_K
- Unsloth Studio
How to use tensorblock/OlympicCoder-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/OlympicCoder-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/OlympicCoder-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/OlympicCoder-7B-GGUF to start chatting
- Pi
How to use tensorblock/OlympicCoder-7B-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf tensorblock/OlympicCoder-7B-GGUF:Q2_K
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "tensorblock/OlympicCoder-7B-GGUF:Q2_K" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use tensorblock/OlympicCoder-7B-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf tensorblock/OlympicCoder-7B-GGUF:Q2_K
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default tensorblock/OlympicCoder-7B-GGUF:Q2_K
Run Hermes
hermes
- Atomic Chat new
- OpenClaw new
How to use tensorblock/OlympicCoder-7B-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf tensorblock/OlympicCoder-7B-GGUF:Q2_K
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "tensorblock/OlympicCoder-7B-GGUF:Q2_K" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
- Docker Model Runner
How to use tensorblock/OlympicCoder-7B-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/OlympicCoder-7B-GGUF:Q2_K
- Lemonade
How to use tensorblock/OlympicCoder-7B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/OlympicCoder-7B-GGUF:Q2_K
Run and chat with the model
lemonade run user.OlympicCoder-7B-GGUF-Q2_K
List all available models
lemonade list
Remove .gguf files (keep Q2_K.gguf)
Browse files- OlympicCoder-7B-Q3_K_L.gguf +0 -3
- OlympicCoder-7B-Q3_K_M.gguf +0 -3
- OlympicCoder-7B-Q3_K_S.gguf +0 -3
- OlympicCoder-7B-Q4_0.gguf +0 -3
- OlympicCoder-7B-Q4_K_M.gguf +0 -3
- OlympicCoder-7B-Q4_K_S.gguf +0 -3
- OlympicCoder-7B-Q5_0.gguf +0 -3
- OlympicCoder-7B-Q5_K_M.gguf +0 -3
- OlympicCoder-7B-Q5_K_S.gguf +0 -3
- OlympicCoder-7B-Q6_K.gguf +0 -3
- OlympicCoder-7B-Q8_0.gguf +0 -3
OlympicCoder-7B-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:a262314698ed3ac63f87aa0a86e3ef883b25ffb66b349dc106c8d22a8189e880
|
| 3 |
-
size 4088459904
|
|
|
|
|
|
|
|
|
|
|
|
OlympicCoder-7B-Q3_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:20b32a233ea07c9f8e4c5b3f384a43b5ca842e63f66e66af41bdc223eeaf1725
|
| 3 |
-
size 3808391808
|
|
|
|
|
|
|
|
|
|
|
|
OlympicCoder-7B-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:da8a9301456e040d10caea3a344aef8c060fbc1dd2f1b3849360f03f6b1a637c
|
| 3 |
-
size 3492369024
|
|
|
|
|
|
|
|
|
|
|
|
OlympicCoder-7B-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:08936452f4ffc3bcc020a98d69caf25f57e6837d0cde9216c5b217a0fd9112d3
|
| 3 |
-
size 4431391360
|
|
|
|
|
|
|
|
|
|
|
|
OlympicCoder-7B-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:fd82840b80ccf1aef8305aeffb395d85d08df9ddb331f41649ae18c014ac1fcb
|
| 3 |
-
size 4683074176
|
|
|
|
|
|
|
|
|
|
|
|
OlympicCoder-7B-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:14dcb72f3387e929fce8421c7ee358851dc44c0dc2ade118052c7824d7389eef
|
| 3 |
-
size 4457769600
|
|
|
|
|
|
|
|
|
|
|
|
OlympicCoder-7B-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:d51a78786630f5e415acf09b147412f23fa2b482cfc2a581f40a29771a37498d
|
| 3 |
-
size 5315177088
|
|
|
|
|
|
|
|
|
|
|
|
OlympicCoder-7B-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:25284f639f4f34334fb845097c4d6f8feff7f1239a4ac964214d37c41dd104af
|
| 3 |
-
size 5444831872
|
|
|
|
|
|
|
|
|
|
|
|
OlympicCoder-7B-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:2f2294fd1c7f413ba682943f0f8964c314d81adfce3ff0dbe57aa8398b511ed8
|
| 3 |
-
size 5315177088
|
|
|
|
|
|
|
|
|
|
|
|
OlympicCoder-7B-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:47cc3610ef40f54fba5adb7134cad7da99eba5cb414c8350f63b687eeb5a1ac3
|
| 3 |
-
size 6254199424
|
|
|
|
|
|
|
|
|
|
|
|
OlympicCoder-7B-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:944c2d8765e8b0297d2b6ac42890c2e7e7746ba168d9f905fdb7509c9cf7052f
|
| 3 |
-
size 8098525824
|
|
|
|
|
|
|
|
|
|
|
|