Instructions to use yarikdevcom/Seed-OSS-36B-Instruct-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use yarikdevcom/Seed-OSS-36B-Instruct-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="yarikdevcom/Seed-OSS-36B-Instruct-GGUF", filename="Seed_OSS_36B_Instruct_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 yarikdevcom/Seed-OSS-36B-Instruct-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf yarikdevcom/Seed-OSS-36B-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf yarikdevcom/Seed-OSS-36B-Instruct-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf yarikdevcom/Seed-OSS-36B-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf yarikdevcom/Seed-OSS-36B-Instruct-GGUF:Q4_K_M
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 yarikdevcom/Seed-OSS-36B-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf yarikdevcom/Seed-OSS-36B-Instruct-GGUF:Q4_K_M
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 yarikdevcom/Seed-OSS-36B-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf yarikdevcom/Seed-OSS-36B-Instruct-GGUF:Q4_K_M
Use Docker
docker model run hf.co/yarikdevcom/Seed-OSS-36B-Instruct-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use yarikdevcom/Seed-OSS-36B-Instruct-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "yarikdevcom/Seed-OSS-36B-Instruct-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": "yarikdevcom/Seed-OSS-36B-Instruct-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/yarikdevcom/Seed-OSS-36B-Instruct-GGUF:Q4_K_M
- Ollama
How to use yarikdevcom/Seed-OSS-36B-Instruct-GGUF with Ollama:
ollama run hf.co/yarikdevcom/Seed-OSS-36B-Instruct-GGUF:Q4_K_M
- Unsloth Studio new
How to use yarikdevcom/Seed-OSS-36B-Instruct-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 yarikdevcom/Seed-OSS-36B-Instruct-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 yarikdevcom/Seed-OSS-36B-Instruct-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for yarikdevcom/Seed-OSS-36B-Instruct-GGUF to start chatting
- Pi new
How to use yarikdevcom/Seed-OSS-36B-Instruct-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf yarikdevcom/Seed-OSS-36B-Instruct-GGUF:Q4_K_M
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": "yarikdevcom/Seed-OSS-36B-Instruct-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use yarikdevcom/Seed-OSS-36B-Instruct-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf yarikdevcom/Seed-OSS-36B-Instruct-GGUF:Q4_K_M
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 yarikdevcom/Seed-OSS-36B-Instruct-GGUF:Q4_K_M
Run Hermes
hermes
- Docker Model Runner
How to use yarikdevcom/Seed-OSS-36B-Instruct-GGUF with Docker Model Runner:
docker model run hf.co/yarikdevcom/Seed-OSS-36B-Instruct-GGUF:Q4_K_M
- Lemonade
How to use yarikdevcom/Seed-OSS-36B-Instruct-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull yarikdevcom/Seed-OSS-36B-Instruct-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Seed-OSS-36B-Instruct-GGUF-Q4_K_M
List all available models
lemonade list
Any way to disable reasoning?
Basically, it works - thank you for this model! But do you know of a way to disable reasoning? It does not seem to accept common tokens like /nothing or /no_think, and I have no idea on how to access the template via llama.cpp.
Guess you can set thinking budget to 0, but you will still get budget reflect.
I guess need some jinja template modifications to use budget reflect only when budget > 0.
Example response with budget 0:
The current thinking budget is 0, so I will directly start answering the question.</seed:cot_budget_reflect>
</seed:think>Hello! How can I help you today?
I think it's impossible to disable as it's primary usage is reasoning
Yeah, settings budget to 0 is nice trick
So how do you do it, exactly? Do you edit the jinja template, or just prompt?
Got it working in llama-cli by using this format:
llama-cli -m Seed_OSS_36B_Instruct_Q4_K_M.gguf --ctx-size 32768 --n-gpu-layers 99 --temp 1.1 --top-p 0.95 --no-mmap --flash-attn --cache-type-k f16 --cache-type-v f16 --jinja --chat-template-file chat_template.jinja
Downloaded chat_template.jinja from the original model and changed one line:
{%- set thinking_budget = 0 -%}
Works fine in CLI; for some reason doesn't work with llama-server, don't know why. But at least this is something already. Also, the model seems to ignore its own rules, and outputs think_end_token without the think_begin_token, so I guess this is one of those cases where a model ships with a borked template. Hope unsloth or another team can fix it.
Actually, there is an even simpler way. The jinja template contains the following system message for thinking_budget == 0 :
You are an intelligent assistant that can answer questions in one step without the need for reasoning and thinking, that is, your thinking budget is 0. Next, please skip the thinking process and directly start answering the user's questions.
So just adding that to the system prompt disables thinking. Maybe there is an even shorter version, I'll experiment with that.
Got it working in llama-cli by using this format:
llama-cli -m Seed_OSS_36B_Instruct_Q4_K_M.gguf --ctx-size 32768 --n-gpu-layers 99 --temp 1.1 --top-p 0.95 --no-mmap --flash-attn --cache-type-k f16 --cache-type-v f16 --jinja --chat-template-file chat_template.jinja
Downloaded chat_template.jinja from the original model and changed one line:
{%- set thinking_budget = 0 -%}
Works fine in CLI; for some reason doesn't work with llama-server, don't know why. But at least this is something already. Also, the model seems to ignore its own rules, and outputs think_end_token without the think_begin_token, so I guess this is one of those cases where a model ships with a borked template. Hope unsloth or another team can fix it.
You can add --chat-template-kwargs '{"thinking_budget": 0}'
Also, the Jinja template is not baked into the model config, so convert-hf-to-gguf.py doesn't retrieve it. You can bake it in after conversion or just use --chat-template-file with the downloaded official template.
The chat template is built into the gguf; works just fine without extrenal template file. --chat-template-kwargs '{"thinking_budget": 0}' is a good solution, but after looking at the chat template, it seems that the only thing it does is just setting that system prompt that I mentioned.
And the final update: koboldcpp just pushed an update, including both thinking and non-thinking chat templates: https://imgur.com/a/LTaWq7t
Both templates work great.