πŸ“‹ Model Description


base_model:
  • ByteDance-Seed/Seed-OSS-36B-Instruct
license: apache-2.0 pipeline_tag: text-generation library_name: transformers tags:
  • vllm
  • unsloth


πŸ‘‹ Hi, everyone!


We are ByteDance Seed Team.


You can get to know us better through the following channelsπŸ‘‡




!seed logo

Seed-OSS Open-Source Models


[!NOTE]

This model card is dedicated to the Seed-OSS-36B-Instruct model.

News

  • [2025/08/20]πŸ”₯We release Seed-OSS-36B-Base (both with and without synthetic data versions) and Seed-OSS-36B-Instruct.

Introduction

Seed-OSS is a series of open-source large language models developed by ByteDance's Seed Team, designed for powerful long-context, reasoning, agent and general capabilities, and versatile developer-friendly features. Although trained with only 12T tokens, Seed-OSS achieves excellent performance on several popular open benchmarks.

We release this series of models to the open-source community under the Apache-2.0 license.

[!NOTE]

Seed-OSS is primarily optimized for international (i18n) use cases.

Key Features

  • Flexible Control of Thinking Budget: Allowing users to flexibly adjust the reasoning length as needed. This capability of dynamically controlling the reasoning length enhances inference efficiency in practical application scenarios.
  • Enhanced Reasoning Capability: Specifically optimized for reasoning tasks while maintaining balanced and excellent general capabilities.
  • Agentic Intelligence: Performs exceptionally well in agentic tasks such as tool-using and issue resolving.
  • Research-Friendly: Given that the inclusion of synthetic instruction data in pre-training may affect the post-training research, we released pre-trained models both with and without instruction data, providing the research community with more diverse options.
  • Native Long Context: Trained with up-to-512K long context natively.

Model Summary

Seed-OSS adopts the popular causal language model architecture with RoPE, GQA attention, RMSNorm and SwiGLU activation.

Seed-OSS-36B
Parameters36B
AttentionGQA
Activation FunctionSwiGLU
Number of Layers64
Number of QKV Heads80 / 8 / 8
Head Size128
Hidden Size5120
Vocabulary Size155K
Context Length512K
RoPE Base Frequency1e7

Evaluation Results

Seed-OSS-36B-Base

Incorporating synthetic instruction data into pretraining leads to improved performance on most benchmarks. We adopt the version augmented with synthetic instruction data (i.e., w/ syn.) as Seed-OSS-36B-Base. We also release Seed-OSS-36B-Base-woSyn trained without such data (i.e., w/o syn.), offering the community a high-performance foundation model unaffected by synthetic instruction data.
















































































































BenchmarkSeed1.6-BaseQwen3-30B-A3B-Base-2507*Qwen2.5-32B-Base*Seed-OSS-36B-Base
(w/ syn.)
Seed-OSS-36B-Base-woSyn
(w/o syn.)
Knowledge
MMLU-Pro7059.858.5 (55.1)65.160.4
MMLU88.882.784 (83.3)84.984.8
TriviaQA9176.27682.181.9
GPQA-D43.43729.331.735.2
SimpleQA17.17.26.15.87.4
Reasoning
BBH92.181.479.1 (84.5)87.787.2
AGIEval-en7866.465.670.770.1
Math
GSM8K93.18787.5 (92.9)90.890.3
MATH72.961.163.5 (57.7)81.761.3
Coding
MBPP83.678.877.8 (84.5)80.674.6
HumanEval7870.747.6 (58.5)76.875.6


  • Bold denotes open-source SOTA.



  • "*" indicates that the results in this column are presented in the format of "reproducedresults (reportedresultsifany)".

Seed-OSS-36B-Instruct
































































































































































































































BenchmarkSeed1.6-Thinking-0715OAI-OSS-20B*Qwen3-30B-A3B-Thinking-2507*Qwen3-32B*Gemma3-27BSeed-OSS-36B-Instruct
Knowledge
MMLU-Pro86.676.281.9 (80.9)81.867.582.7
MMLU90.681.7 (85.3)86.986.276.987.4
GPQA-D80.772.2 (71.5)71.4 (73.4)66.7 (68.4)42.471.4
SuperGPQA63.450.157.3 (56.8)49.3-55.7
SimpleQA23.76.723.68.6109.7
Math
AIME2490.392.7 (92.1)87.782.7 (81.4)-91.7
AIME258690.3 (91.7)81.3 (85)73.3 (72.9)-84.7
BeyondAIME60695629-65
Reasoning
ArcAGI V250.341.737.814.4-40.6
KORBench74.872.370.265.4-70.6
HLE13.912.7 (10.9)8.76.9-10.1
Coding
LiveCodeBench v6
(02/2025-05/2025)
66.863.860.3 (66)53.4-67.4
Instruction Following
IFEval86.392.888 (88.9)88.4 (85)90.485.8
Agent
TAU1-Retail63(54.8)58.7 (67.8)40.9-70.4
TAU1-Airline49(38)47 (48)38-46
SWE-Bench Verified
(OpenHands)
41.8(60.7)3123.4-56
SWE-Bench Verified
(AgentLess 4*10)
48.4-33.539.7-47
Multi-SWE-Bench17.7-9.57.7-17
Multilingualism
MMMLU84.377.4 (75.7)7979 (80.6)-78.4
Long Context
RULER
(128K)
94.578.794.577.5-94.6
Safety
AIR-Bench-----75.6


  • Bold denotes open-source SOTA. Underlined indicates the second place in the open-source model.



  • "*" indicates that the results in this column are presented in the format of "reproducedresults (reportedresultsifany)". Some results have been omitted due to the failure of the evaluation run.



  • The results of Gemma3-27B are sourced directly from its technical report.



  • Generation configs for Seed-OSS-36B-Instruct: temperature=1.1, topp=0.95. Specifically, for Taubench, temperature=1, topp=0.7.



[!NOTE]

We recommend sampling with temperature=1.1 and top_p=0.95.

Thinking Budget

Users can flexibly specify the model's thinking budget. The figure below shows the performance curves across different tasks as the thinking budget varies. For simpler tasks (such as IFEval), the model's chain of thought (CoT) is shorter, and the score exhibits fluctuations as the thinking budget increases. For more challenging tasks (such as AIME and LiveCodeBench), the model's CoT is longer, and the score improves with an increase in the thinking budget.

!thinking_budget

Here is an example with a thinking budget set to 512: during the reasoning process, the model periodically triggers self-reflection to estimate the consumed and remaining budget, and delivers the final response once the budget is exhausted or the reasoning concludes.

<seed:think>
Got it, let's try to solve this problem step by step. The problem says ... ...
<seed:cotbudgetreflect>I have used 129 tokens, and there are 383 tokens remaining for use.</seed:cotbudgetreflect>
Using the power rule, ... ...
<seed:cotbudgetreflect>I have used 258 tokens, and there are 254 tokens remaining for use.</seed:cotbudgetreflect>
Alternatively, remember that ... ...
<seed:cotbudgetreflect>I have used 393 tokens, and there are 119 tokens remaining for use.</seed:cotbudgetreflect>
Because if ... ...
<seed:cotbudgetreflect>I have exhausted my token budget, and now I will start answering the question.</seed:cotbudgetreflect>
</seed:think>
To solve the problem, we start by using the properties of logarithms to simplify the given equations: (full answer omitted).

If no thinking budget is set (default mode), Seed-OSS will initiate thinking with unlimited length. If a thinking budget is specified, users are advised to prioritize values that are integer multiples of 512 (e.g., 512, 1K, 2K, 4K, 8K, or 16K), as the model has been extensively trained on these intervals. Models are instructed to output a direct response when the thinking budget is 0, and we recommend setting any budget below 512 to this value.

Quick Start

pip3 install -r requirements.txt
pip install git+ssh://[email protected]/Fazziekey/transformers.git@seed-oss
from transformers import AutoModelForCausalLM, AutoTokenizer
import os
import re

modelnameor_path = "ByteDance-Seed/Seed-OSS-36B-Instruct"

tokenizer = AutoTokenizer.frompretrained(modelnameorpath)
model = AutoModelForCausalLM.frompretrained(modelnameorpath, device_map="auto") # You may want to use bfloat16 and/or move to GPU here
messages = [
{"role": "user", "content": "How to make pasta?"},
]
tokenizedchat = tokenizer.applychat_template(
messages,
tokenize=True,
addgenerationprompt=True,
return_tensors="pt",
thinking_budget=512 # control the thinking budget
)

outputs = model.generate(tokenizedchat.to(model.device), maxnew_tokens=2048)

output_text = tokenizer.decode(outputs[0])

Inference

Download Model

Download Seed-OSS checkpoint to ./Seed-OSS-36B-Instruct

Transformers

The generate.py script provides a simple interface for model inference with configurable options.

#### Basic Usage

cd inference
python3 generate.py --model_path /path/to/model

#### Key Parameters




ParameterDescription
--model_pathPath to the pretrained model directory (required)
--promptsInput prompts (default: sample cooking/code questions)
--maxnewtokensMaximum tokens to generate (default: 4096)
--attnimplementationAttention mechanism: flashattention_2 (default) or eager
--loadin4bit/8bitEnable 4-bit/8-bit quantization (reduces memory usage)
--thinking_budgetThinking budget in tokens (default: -1 for unlimited budget)

#### Quantization Examples
# 8-bit quantization
python3 generate.py --modelpath /path/to/model --loadin_8bit True

4-bit quantization

python3 generate.py --modelpath /path/to/model --loadin_4bit True

#### Custom Prompts

python3 generate.py --model_path /path/to/model --prompts "['What is machine learning?', 'Explain quantum computing']"

vLLM

Use vllm >= 0.10.0 or higher for inference.
  • First install vLLM with Seed-OSS support version:
VLLMUSEPRECOMPILED=1 VLLMTESTUSEPRECOMPILEDNIGHTLY_WHEEL=1 pip install git+ssh://[email protected]/FoolPlayer/vllm.git@seed-oss
  • Start vLLM API server:
python3 -m vllm.entrypoints.openai.api_server \
    --host localhost \
    --port 4321 \
    --enable-auto-tool-choice \
    --tool-call-parser seed_oss \
    --trust-remote-code \
    --model ./Seed-OSS-36B-Instruct \
    --chat-template ./Seed-OSS-36B-Instruct/chat_template.jinja \
    --tensor-parallel-size 8 \
    --dtype bfloat16 \
    --served-model-name seed_oss
  • Test with OpenAI client:

Chat

# no stream
python3 inference/vllmchat.py --maxnewtokens 4096 --thinkingbudget -1

stream

python3 inference/vllmchat.py --maxnewtokens 4096 --thinkingbudget -1 --stream

Tool Call

# no stream
python3 inference/vllmtoolcall.py --maxnewtokens 4096 --thinking_budget -1

stream


python3 inference/vllmtoolcall.py --maxnewtokens 4096 --thinking_budget -1 --stream

Model Card

See MODEL_CARD.

License

This project is licensed under Apache-2.0. See the LICENSE flie for details.

Citation

@misc{seed2025seed-oss,
  author={ByteDance Seed Team},
  title={Seed-OSS Open-Source Models},
  year={2025},
  howpublished={\url{https://github.com/ByteDance-Seed/seed-oss}}
}

About ByteDance Seed Team

Founded in 2023, ByteDance Seed Team is dedicated to crafting the industry's most advanced AI foundation models. The team aspires to become a world-class research team and make significant contributions to the advancement of science and society.

πŸ“‚ GGUF File List

πŸ“ Filename πŸ“¦ Size ⚑ Download
Seed-OSS-36B-Instruct-IQ4_NL.gguf
LFS Q4
19.18 GB Download
Seed-OSS-36B-Instruct-IQ4_XS.gguf
LFS Q4
18.18 GB Download
Seed-OSS-36B-Instruct-Q2_K.gguf
LFS Q2
12.67 GB Download
Seed-OSS-36B-Instruct-Q2_K_L.gguf
LFS Q2
12.84 GB Download
Seed-OSS-36B-Instruct-Q3_K_M.gguf
LFS Q3
16.41 GB Download
Seed-OSS-36B-Instruct-Q3_K_S.gguf
LFS Q3
14.77 GB Download
Seed-OSS-36B-Instruct-Q4_0.gguf
Recommended LFS Q4
19.21 GB Download
Seed-OSS-36B-Instruct-Q4_1.gguf
LFS Q4
21.2 GB Download
Seed-OSS-36B-Instruct-Q4_K_M.gguf
LFS Q4
20.27 GB Download
Seed-OSS-36B-Instruct-Q4_K_S.gguf
LFS Q4
19.27 GB Download
Seed-OSS-36B-Instruct-Q5_K_M.gguf
LFS Q5
23.84 GB Download
Seed-OSS-36B-Instruct-Q5_K_S.gguf
LFS Q5
23.26 GB Download
Seed-OSS-36B-Instruct-Q6_K.gguf
LFS Q6
27.63 GB Download
Seed-OSS-36B-Instruct-Q8_0.gguf
LFS Q8
35.78 GB Download
Seed-OSS-36B-Instruct-UD-IQ1_M.gguf
LFS
8.46 GB Download
Seed-OSS-36B-Instruct-UD-IQ1_S.gguf
LFS
7.89 GB Download
Seed-OSS-36B-Instruct-UD-IQ2_M.gguf
LFS Q2
11.86 GB Download
Seed-OSS-36B-Instruct-UD-IQ2_XXS.gguf
LFS Q2
9.46 GB Download
Seed-OSS-36B-Instruct-UD-IQ3_XXS.gguf
LFS Q3
13.27 GB Download
Seed-OSS-36B-Instruct-UD-Q2_K_XL.gguf
LFS Q2
13.08 GB Download
Seed-OSS-36B-Instruct-UD-Q3_K_XL.gguf
LFS Q3
16.81 GB Download
Seed-OSS-36B-Instruct-UD-Q4_K_XL.gguf
LFS Q4
20.52 GB Download
Seed-OSS-36B-Instruct-UD-Q5_K_XL.gguf
LFS Q5
23.87 GB Download
Seed-OSS-36B-Instruct-UD-Q6_K_XL.gguf
LFS Q6
29.66 GB Download
Seed-OSS-36B-Instruct-UD-Q8_K_XL.gguf
LFS Q8
39.99 GB Download