Archive of AI

Source Snapshot / 2025-05-08-bytedance-seed-coder-open-source-3

ByteDance-Seed/Seed-Coder-8B-Instruct

Linked event: 2025-05-08 · ByteDance Seed Open-Sources Model-Centric Code LLM Seed-Coder Under MIT License

Publisher
Hugging Face
Archived
2026-11-23
Capture Method
Direct page capture
HTTP / SHA-256
200 / 5251bb6daab5ee45
Original URL
Open source ↗
Wayback Backup
Not archived
This page preserves a plain-text static snapshot against link rot. When citing figures, tables, or full legal terms, verify against the original URL and Wayback Machine archive.

Hugging Face

Search models, datasets, users... ⌘K

ByteDance-Seed

Seed-Coder-8B-Instruct

ByteDance Seed 3.77k

Text Generation

Transformers

conversational

text-generation-inference

arxiv: 2506.03524

License: mit

Model card Files Files and versions

Copy to bucket

Use this model

Introduction

We are thrilled to introduce Seed-Coder, a powerful, transparent, and parameter-efficient family of open-source code models at the 8B scale, featuring base, instruct, and reasoning variants. Seed-Coder contributes to promote the evolution of open code models through the following highlights.

Model-centric: Seed-Coder predominantly leverages LLMs instead of hand-crafted rules for code data filtering, minimizing manual effort in pretraining data construction.

Transparent: We openly share detailed insights into our model-centric data pipeline, including methods for curating GitHub data, commits data, and code-related web data.

Powerful: Seed-Coder achieves state-of-the-art performance among open-source models of comparable size across a diverse range of coding tasks.

This repo contains the Seed-Coder-8B-Instruct model, which has the following features:

Type: Causal language models

Training Stage: Pretraining & Post-training

Data Source: Public datasets, synthetic data

Context Length: 32,768

Model Downloads

Seed-Coder-8B-Base

Pretrained on our model-centric code data.

👉 Seed-Coder-8B-Instruct

Instruction-tuned for alignment with user intent.

Seed-Coder-8B-Reasoning

RL trained to boost reasoning capabilities.

Seed-Coder-8B-Reasoning-bf16

Requirements

You will need to install the latest versions of transformers and accelerate:

pip install -U transformers accelerate

Here is a simple example demonstrating how to load the model and generate code using the Hugging Face pipeline API:

from transformers import AutoTokenizer, AutoModelForCausalLM

import torch

model_id = "ByteDance-Seed/Seed-Coder-8B-Instruct"

tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)

model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.bfloat16, device_map="auto", trust_remote_code=True)

messages = [

{"role": "user", "content": "Write a quick sort algorithm."},

input_ids = tokenizer.apply_chat_template(

tokenize=True,

return_tensors="pt",

add_generation_prompt=True,

).to(model.device)

outputs = model.generate(input_ids, max_new_tokens=512)

response = tokenizer.decode(outputs[0][input_ids.shape[-1]:], skip_special_tokens=True)

print(response)

Seed-Coder-8B-Instruct has been evaluated on a wide range of coding tasks, including code generation, code reasoning, code editing, and software engineering, achieving state-of-the-art performance among ~8B open-source models.

BigCodeBench (Full)

BigCodeBench (Hard)

LiveCodeBench (2410 – 2502)

CodeLlama-7B-Instruct

DeepSeek-Coder-6.7B-Instruct

CodeQwen1.5-7B-Chat

Yi-Coder-9B-Chat

Llama-3.1-8B-Instruct

OpenCoder-8B-Instruct

Qwen2.5-Coder-7B-Instruct

For detailed benchmark performance, please refer to our 📑 Technical Report.

This project is licensed under the MIT License. See the LICENSE file for details.

If you find our work helpful, feel free to give us a cite.

@misc{seed2025seedcoderletcodemodel,

title={{Seed-Coder}: Let the Code Model Curate Data for Itself},

author={{ByteDance Seed} and Yuyu Zhang and Jing Su and Yifan Sun and Chenguang Xi and Xia Xiao and Shen Zheng and Anxiang Zhang and Kaibo Liu and Daoguang Zan and Tao Sun and Jinhua Zhu and Shulin Xin and Dong Huang and Yetao Bai and Lixin Dong and Chao Li and Jianchong Chen and Hanzhi Zhou and Yifan Huang and Guanghan Ning and Xierui Song and Jiaze Chen and Siyao Liu and Kai Shen and Liang Xiang and Yonghui Wu},

year={2025},

eprint={2506.03524},

archivePrefix={arXiv},

primaryClass={cs.CL},

url={https://arxiv.org/abs/2506.03524},

Downloads last month 5,480

Chat template

Model tree for ByteDance-Seed/Seed-Coder-8B-Instruct

ByteDance-Seed/Seed-Coder-8B-Base

Quantizations

Spaces using ByteDance-Seed/Seed-Coder-8B-Instruct 4

Collection including ByteDance-Seed/Seed-Coder-8B-Instruct

4 items • Updated May 13, 2025 • 29

Paper for ByteDance-Seed/Seed-Coder-8B-Instruct

Seed-Coder: Let the Code Model Curate Data for Itself

Paper • 2506.03524 • Published Jun 4, 2025 • 8