---
title: zen-coder-480b-instruct
canonical_url: "https://www.modelscope.cn/models/zenlm/zen-coder-480b-instruct"
md_url: "https://www.modelscope.cn/models/zenlm/zen-coder-480b-instruct.md"
repository: zenlm/zen-coder-480b-instruct
last_updated: 2026-05-30
license: apache-2.0
pipeline_tag: text-generation
tasks:
  - text-generation
model_type:
  - qwen3
architectures:
  - Qwen3ForCausalLM
base_model:
  - zenlm/zen-coder-480b-instruct
base_model_relation: finetune
parameters: 480.2B
tensor_type:
  - BF16
library_name:
  - transformer
  - safetensors
  - pytorch
frameworks:
  - pytorch
language:
  - en
downloads: 15436
stars: 0
tags:
  - transformers
  - zen
  - text-generation
  - thinking-mode
  - zoo-gym
  - hanzo-ai
  - zenlm
---

# zen-coder-480b-instruct

> zen-coder-480b-instruct - zenlm 在 ModelScope 开源的模型。Zen-Coder (480B (30B active))

zenlm/zen-coder-480b-instruct 是 ModelScope 魔搭社区上的 480.2B 参数text-generation模型，采用 apache-2.0 许可，基于 zenlm/zen-coder-480b-instruct 构建。

- **Repository**: zenlm/zen-coder-480b-instruct
- **License**: apache-2.0
- **Tasks**: text-generation
- **Parameters**: 480.2B
- **Base model**: zenlm/zen-coder-480b-instruct
- **Tags**: transformers, zen, text-generation, thinking-mode, zoo-gym, hanzo-ai, zenlm
- **Downloads**: 15436
- **Stars**: 0
- **Last updated**: 2026-05-30

Source: https://www.modelscope.cn/models/zenlm/zen-coder-480b-instruct

---

# Zen-Coder (480B (30B active))

Part of the [Zen AI Model Family](https://huggingface.co/zenlm)

## Model Description

**Parameters**: 480B (30B active)  
**Architecture**: Zen  
**Specialization**: Advanced code generation & debugging  
**Training**: Code-specific training on 100+ languages  
**Context**: 32K-128K tokens  
**Thinking**: Up to 512,000 tokens  

## Files in This Repository

This repository contains ALL formats and quantizations:

### 🔷 SafeTensors (Original)
- `model.safetensors` - Full precision weights
- `config.json` - Model configuration
- `tokenizer.json` - Fast tokenizer

### 🟢 GGUF Quantized
- `zen-coder-480b-instruct-Q4_K_M.gguf` - 4-bit (recommended)
- `zen-coder-480b-instruct-Q5_K_M.gguf` - 5-bit (balanced)
- `zen-coder-480b-instruct-Q8_0.gguf` - 8-bit (high quality)

### 🍎 MLX (Apple Silicon)
- `mlx-4bit/` - 4-bit quantized for M-series
- `mlx-8bit/` - 8-bit quantized for M-series

## Performance

| Benchmark | Score | Rank |
|-----------|-------|------|
| MMLU | 78.9% | Top 10% |
| GSM8K | 89.3% | Top 15% |
| HumanEval | 72.8% | Top 20% |

## Quick Start

### Transformers
```python
from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained("zenlm/zen-coder-480b-instruct")
tokenizer = AutoTokenizer.from_pretrained("zenlm/zen-coder-480b-instruct")

# With thinking mode
messages = [{"role": "user", "content": "Your question here"}]
text = tokenizer.apply_chat_template(messages, enable_thinking=True)
```

### GGUF with llama.cpp
```bash
./main -m zen-coder-480b-instruct-Q4_K_M.gguf -p "Your prompt" -n 512
```

### MLX for Apple Silicon
```python
from mlx_lm import load, generate
model, tokenizer = load("zenlm/zen-coder-480b-instruct")
response = generate(model, tokenizer, "Your prompt", max_tokens=200)
```

## Unique Training Background

Code-specific training on 100+ languages

This model was specifically optimized for advanced code generation & debugging with careful attention to:
- Inference efficiency
- Memory footprint
- Quality preservation
- Thinking capabilities

---

Part of the Zen Family • [Collection](https://huggingface.co/collections/zenlm/zen) • [GitHub](https://github.com/zenlm/zen)
