alt.freeweights.text / Seed-Coder-8B-Base
From: ByteDance-Seed <huggingface.co/ByteDance-Seed>Newsgroups: alt.freeweights.textSubject:

Seed-Coder-8B-Base

Date: 2026-11-15Commit: 049f843Signed: 2DC28CC7B26A283B ✓

Text generation model with 8.3B parameters. Safetensors weights, 16.5 GB in all. Published by ByteDance-Seed under MIT.

8.3B params16.5GBSeed-Coder-8B-Basesafetensorspermissive
FactsParams8.3BSize16.5 GBFormatssafetensorsTasktext generationLicenseMITFrom sourcepermissive
$ fw get ByteDance-Seed/Seed-Coder-8B-Base
# manifest sha256 b2b4217c50f8… · 16.5 GB · 13 files
$ fw verify ./Seed-Coder-8B-Base ByteDance-Seed/Seed-Coder-8B-Base
From sourceHosted (signed)ByteDance-Seed/Seed-Coder-8B-BaseLast check: 2026-11-15 03:37 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Works with

Overview

Size
16.5 GB
Weights
16.5 GB (safetensors)
Parameters
8.3B
Formats
safetensors
Task
text generation
License
MIT (permissive)
Files
13, each with a sha256
Publisher
ByteDance-Seed
Added
2026-11-15
Section
alt.freeweights.text
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commitโ†’You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 03:37 UTCpassed

Model card

From the publisher at commit 049f843. Shown as plain text with links; images open at the publisher.

Seed-Coder-8B-Base#

Homepage

Technical Report

Hugging Face

License

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.

Image: image

This repo contains the Seed-Coder-8B-Base model, with the following features:

  • Type: Causal language models
  • Training Stage: Pretraining
  • Data Source: GitHub data, code-related web data
  • Training Tokens: 6 trillion
  • Supports: Code completion, code infilling (Fill-in-the-Middle)
  • Context Length: 32,768

Model Downloads#

Model NameLengthDownloadNotes
๐Ÿ‘‰ Seed-Coder-8B-Base32K๐Ÿค— ModelPretrained on our model-centric code data.
Seed-Coder-8B-Instruct32K๐Ÿค— ModelInstruction-tuned for alignment with user intent.
Seed-Coder-8B-Reasoning64K๐Ÿค— ModelRL trained to boost reasoning capabilities.
Seed-Coder-8B-Reasoning-bf1664K๐Ÿค— ModelRL trained to boost reasoning capabilities.

Requirements#

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

pip install -U transformers accelerate

Quickstart#

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

import transformers
import torch

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

pipeline = transformers.pipeline(
    "text-generation",
    model=model_id,
    model_kwargs={"torch_dtype": torch.bfloat16},
    device_map="auto",
)

output = pipeline("def say_hello_world():", max_new_tokens=100)
print(output[0]["generated_text"])
Fill-in-the-Middle (FIM) Example#

Seed-Coder-8B-Base natively supports Fill-in-the-Middle (FIM) tasks, where the model is given a prefix and a suffix and asked to predict the missing middle content. This allows for code infilling scenarios such as completing a function body or inserting missing logic between two pieces of code.

A typical example:

import transformers
import torch

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

pipeline = transformers.pipeline(
    "text-generation",
    model=model_id,
    model_kwargs={"torch_dtype": torch.bfloat16},
    device_map="auto",
)

# You can concatenate a prefix, a special FIM separator token, and a suffix
prefix = "def add_numbers(a, b):\n    "
suffix = "\n    return result"

# Combine prefix and suffix following the FIM format
fim_input = '<[fim-suffix]>' + suffix + '<[fim-prefix]>' + prefix + '<[fim-middle]>'

output = pipeline(fim_input, max_new_tokens=512)
print(output[0]["generated_text"])

Evaluation#

Seed-Coder-8B-Base has been evaluated on code generation, code completion, and code reasoning benchmarks, achieving state-of-the-art performance among ~8B open-source models.

DeepSeek-Coder-6.7B-BaseOpenCoder-8B-BaseQwen2.5-Coder-7BSeed-Coder-8B-Base
HumanEval47.666.572.077.4
MBPP70.279.979.482.0
MultiPL-E44.761.058.867.6
cruxeval-O41.043.956.054.8

For detailed benchmark performance, please refer to our ๐Ÿ“‘ Technical Report.

License#

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

Citation#

If you find Seed-Coder helpful, please consider citing our work:

@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}, 
}

Files

13 files ยท 16.5 GBWeights 16.5 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 13 files with their sha256
FileSizesha256
.gitattributes1.80 KB55f6c1467a480b2c63b1dfc0db4615a9f4beb45a9c1cdae6bedf5ffe3beed31b
README.md6.95 KB781da33f312e857bb1e9dfa371be29a032fcddbe84d73f8603a4705285c897b1
config.json669 B1d8db315cfb9a10f4e6e59d450d0d1cb583a7849a15d192bca63b843bb4c03a8
generation_config.json111 Bdb66fc557ca882bc2b58cfccf298c18862d7f8208eca3e9813cbba7d9424367c
imgs/seed-coder_intro_performance.png331 KB1bfddc4f91b2723e687a46e82e9ff3e26b5db1213fe82b85d236919f9e8986f5
model-00001-of-00004.safetensors4.96 GBe936d8a183cc516c3e7bc12ba683640c6389d437fddd7a7ada1dc14b55e22320
model-00002-of-00004.safetensors4.92 GBa2fabf094dcada2d9595bf7ff769b995d9d08b4a8a32035587be4653c9ab126b
model-00003-of-00004.safetensors5.00 GBb97958c5cda4cd08ca6b59ba32e2d613158805bb5c4172b4cdf207af624a5e62
model-00004-of-00004.safetensors1.62 GBdfe5acfac5ac5231ce100c6a690d2d164693b91fe3d753d39aacc9e89ebbd663
model.safetensors.index.json23.9 KB8b4937aa0edd26233125db5f227ddfb58b4279f93a72129380d96175dba28cb5
special_tokens_map.json613 Bdc0c22e96ab28d40c0a808d5bb4d479d22776fd059bddbcc424f25b493a1120d
tokenizer.json11.9 MBdb6520146c388c495a98bbea62ff6d00c0a8935bed33622e33bb33ec71aaafed
tokenizer_config.json27.9 KB626c121efac4b9c6836047d1a93e480543ba57886b378b5eab59d48776256d4c
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
049f843238 pinned now2026-11-15 03:37 UTC13 files ยท 16.5 GB

Use it

$ fw get ByteDance-Seed/Seed-Coder-8B-Base
# manifest sha256 b2b4217c50f8… · 16.5 GB · 13 files
$ fw verify ./Seed-Coder-8B-Base ByteDance-Seed/Seed-Coder-8B-Base
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/ByteDance-Seed/Seed-Coder-8B-Base.json --dir ./Seed-Coder-8B-Base $ python3 fw.py verify ./Seed-Coder-8B-Base ./ByteDance-Seed__Seed-Coder-8B-Base.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download ByteDance-Seed/Seed-Coder-8B-Base --revision 049f843238b40ea67671836204f3d8585a679327 --local-dir ./Seed-Coder-8B-Base
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForCausalLM, AutoTokenizer tok = AutoTokenizer.from_pretrained("ByteDance-Seed/Seed-Coder-8B-Base", revision="049f843238b40ea67671836204f3d8585a679327") model = AutoModelForCausalLM.from_pretrained("ByteDance-Seed/Seed-Coder-8B-Base", revision="049f843238b40ea67671836204f3d8585a679327", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve ByteDance-Seed/Seed-Coder-8B-Base --revision 049f843238b40ea67671836204f3d8585a679327

License

Name
MIT License
Id
MIT
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
781da33f312e857bb1e9dfa371be29a032fcddbe84d73f8603a4705285c897b1
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: ByteDance-Seed <huggingface.co/ByteDance-Seed>Newsgroups: alt.freeweights.textSubject: Seed-Coder-8B-BaseDate: 2026-11-15Commit: 049f843Signed: 2DC28CC7B26A283B ✓
Upstream
ByteDance-Seed/Seed-Coder-8B-Base
Pinned commit
049f843238b40ea67671836204f3d8585a679327
Manifest
Seed-Coder-8B-Base.json ยท .minisig
Manifest sha256
b2b4217c50f85386d178a9cd29a6dea3661ba245afa388cc96c970bdf0090d88
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:37 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/ByteDance-Seed/Seed-Coder-8B-Base.json $ curl -O https://freeweights.allternit.com/manifests/ByteDance-Seed/Seed-Coder-8B-Base.json.minisig $ minisign -Vm Seed-Coder-8B-Base.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

3 models in the catalog name this one as their parent.

Fine-tunes
3
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download ByteDance-Seed/Seed-Coder-8B-Base
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. Seed-Coder-8B-Base.json. Provenance. Takedown history: none.
From: laion <huggingface.co/laion>Subject: a2-rl-e2egit_large-50-32B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-large-15-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-v2-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_pymethods2test-large-80-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_unitsyn-python-large-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_mix_h2_language_proportional-65-8B