Run this model with HF Jobs
Run ByteDance-Seed/Seed-Coder-8B-Base on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/ByteDance-Seed/Seed-Coder-8B-Base. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/ByteDance-Seed/Seed-Coder-8B-Base on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/ByteDance-Seed/Seed-Coder-8B-Base. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/ByteDance-Seed/Seed-Coder-8B-Base. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use ByteDance-Seed/Seed-Coder-8B-Base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ByteDance-Seed/Seed-Coder-8B-Base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="ByteDance-Seed/Seed-Coder-8B-Base")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("ByteDance-Seed/Seed-Coder-8B-Base") model = AutoModelForCausalLM.from_pretrained("ByteDance-Seed/Seed-Coder-8B-Base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use ByteDance-Seed/Seed-Coder-8B-Base with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ByteDance-Seed/Seed-Coder-8B-Base" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ByteDance-Seed/Seed-Coder-8B-Base", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/ByteDance-Seed/Seed-Coder-8B-Base
- SGLang
How to use ByteDance-Seed/Seed-Coder-8B-Base with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "ByteDance-Seed/Seed-Coder-8B-Base" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ByteDance-Seed/Seed-Coder-8B-Base", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "ByteDance-Seed/Seed-Coder-8B-Base" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ByteDance-Seed/Seed-Coder-8B-Base", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use ByteDance-Seed/Seed-Coder-8B-Base with Docker Model Runner:
docker model run hf.co/ByteDance-Seed/Seed-Coder-8B-Base
Commit History
-
Add Transformers metadata
Verified signatureThis PR ensures a "Use this model" button appears at the top right with a sample code snippet.c7a1a52
-
Update README.md
Verified signature44d3e28 -
Update README.md
Verified signaturef3b7d63
-
Update README.md
Verified signature4130100 -
Update README.md
Verified signature535bf0e -
Update README.md
Verified signature4d689a6 -
Update README.md
Verified signaturef5ec8c7 -
Update README.md
Verified signature5ed1529 -
Update README.md
Verified signaturebb46339 -
Update README.md
Verified signature6a151ac -
Update README.md
Verified signature70a4fc3 -
Update README.md
Verified signature073c2e8 -
Update README.md
Verified signature3ebf33e -
Update README.md
Verified signature4db087a -
Update README.md
Verified signature5c70869 -
Update README.md
Verified signature678fc9c -
Update README.md
Verified signature0a7a24a -
Update README.md
Verified signature7a08fef -
Update README.md
Verified signature7c827df -
Update README.md
Verified signaturef14f107 -
Update README.md
Verified signature606a5df -
Update README.md
Verified signaturefc7611f -
Update README.md
Verified signaturec1b45a5 -
Update README.md
Verified signature8db9fbe -
Update README.md
Verified signature90598cf -
Update README.md
Verified signature7935afb -
Update README.md
Verified signature40743b7 -
Update README.md
Verified signaturedea23ca
-
Update tokenizer_config.json
Verified signature30c7358 -
Update README.md
Verified signature9a0aa68 -
Update README.md
Verified signature4d28a6b -
Delete imgs/large_model_comparison_split-crop.png
Verified signature69bee84 -
Update README.md
Verified signature2c93395 -
Upload seed-coder_intro_performance.jpg
Verified signatured5a23d9 -
Delete imgs/seed-coder_intro_performance.jpg
Verified signature27daf28 -
Update README.md
Verified signature6c84629
-
Update README.md
Verified signatureb0f0a84 -
Update README.md
Verified signaturee311b7c -
Update README.md
Verified signature5d7fdbf
-
Update README.md
Verified signatured686f61 -
Update README.md
Verified signature737da50 -
Update README.md
Verified signature235c209 -
Update README.md
Verified signature0ba3bb8 -
Update README.md
Verified signature8569a74 -
Upload large_model_comparison_split-crop.png
Verified signaturefc85eb6
-
Delete cruise_cli.yaml
Verified signature2608398 -
Upload seed-coder_intro_performance.jpg
Verified signaturee9d6499
-
Update README.md
Verified signature62fe4cd -
Update README.md
Verified signature63cea6e -
Update README.md
Verified signature2c4f1cf