2025-10-28 21:51:42 -07:00
|
|
|
\documentclass[11pt,a4paper]{article}
|
|
|
|
|
\usepackage[utf8]{inputenc}
|
|
|
|
|
\usepackage[T1]{fontenc}
|
|
|
|
|
\usepackage{amsmath,amsfonts,amssymb}
|
|
|
|
|
\usepackage{graphicx}
|
|
|
|
|
\usepackage{hyperref}
|
|
|
|
|
\usepackage{listings}
|
|
|
|
|
\usepackage{color}
|
|
|
|
|
\usepackage{booktabs}
|
|
|
|
|
\usepackage{float}
|
|
|
|
|
\usepackage{geometry}
|
|
|
|
|
\geometry{margin=1in}
|
|
|
|
|
|
|
|
|
|
% Color definitions
|
|
|
|
|
\definecolor{zenblue}{RGB}{41,121,255}
|
|
|
|
|
\definecolor{zengreen}{RGB}{52,199,89}
|
|
|
|
|
\definecolor{zenorange}{RGB}{255,149,0}
|
|
|
|
|
\definecolor{codegray}{RGB}{245,245,245}
|
|
|
|
|
|
|
|
|
|
% Hyperref setup
|
|
|
|
|
\hypersetup{
|
|
|
|
|
colorlinks=true,
|
|
|
|
|
linkcolor=zenblue,
|
|
|
|
|
urlcolor=zenblue,
|
|
|
|
|
citecolor=zenblue
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
% Code listing setup
|
|
|
|
|
\lstset{
|
|
|
|
|
backgroundcolor=\color{codegray},
|
|
|
|
|
basicstyle=\ttfamily\small,
|
|
|
|
|
breaklines=true,
|
|
|
|
|
captionpos=b,
|
|
|
|
|
frame=single,
|
|
|
|
|
numbers=left,
|
|
|
|
|
numberstyle=\tiny\color{gray}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
\title{
|
|
|
|
|
\vspace{-2cm}
|
|
|
|
|
\Large \textbf{Zen AI Model Family} \\
|
|
|
|
|
\vspace{0.5cm}
|
2025-12-30 17:13:02 -08:00
|
|
|
\Huge \textbf{Zen Coder} \\
|
2025-10-28 21:51:42 -07:00
|
|
|
\vspace{0.3cm}
|
2025-12-30 17:13:02 -08:00
|
|
|
\large Agentic Code Generation Models (4B - 1T) \\
|
2025-10-28 21:51:42 -07:00
|
|
|
\vspace{0.5cm}
|
2025-12-30 17:13:02 -08:00
|
|
|
\normalsize Technical Report v2.0
|
2025-10-28 21:51:42 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
\author{
|
2026-01-26 17:55:17 -08:00
|
|
|
Zach Kelling\thanks{zach@lux.network} \\
|
2025-10-28 21:51:42 -07:00
|
|
|
\texttt{research@hanzo.ai} \\
|
|
|
|
|
\\
|
|
|
|
|
Zoo Labs Foundation \\
|
2025-12-30 17:13:02 -08:00
|
|
|
\texttt{foundation@zoo.ngo}
|
2025-10-28 21:51:42 -07:00
|
|
|
}
|
|
|
|
|
|
2025-12-30 17:13:02 -08:00
|
|
|
\date{December 2025}
|
2025-10-28 21:51:42 -07:00
|
|
|
|
|
|
|
|
\begin{document}
|
|
|
|
|
|
|
|
|
|
\maketitle
|
|
|
|
|
|
|
|
|
|
\begin{abstract}
|
2025-12-30 17:13:02 -08:00
|
|
|
We present \textbf{Zen Coder}, a family of agentic code generation models ranging from 4B to 1T parameters,
|
|
|
|
|
trained on the \textbf{Zen Agentic Dataset}---8.47 billion tokens of real-world Claude Code sessions,
|
|
|
|
|
git history, and professional software development spanning 15 years across 1,452 repositories.
|
|
|
|
|
Unlike synthetic datasets, our training data captures actual debugging workflows, multi-file refactoring decisions,
|
|
|
|
|
tool use patterns, and error recovery from production AI development. The model family includes dense models
|
|
|
|
|
(4B, 24B, 123B) and MoE architectures (358B, 1T), covering edge deployment to frontier capabilities.
|
2025-10-28 21:51:42 -07:00
|
|
|
\end{abstract}
|
|
|
|
|
|
|
|
|
|
\tableofcontents
|
|
|
|
|
\newpage
|
|
|
|
|
|
|
|
|
|
\section{Introduction}
|
|
|
|
|
|
2025-12-30 17:13:02 -08:00
|
|
|
The emergence of agentic AI systems---where models interact with tools, execute multi-step plans, and
|
|
|
|
|
maintain context across complex workflows---has created demand for models specifically trained on
|
|
|
|
|
real agentic programming patterns. \textbf{Zen Coder} addresses this by training on actual Claude Code
|
|
|
|
|
debug sessions rather than synthetic instruction-following data.
|
|
|
|
|
|
|
|
|
|
\subsection{Model Family}
|
|
|
|
|
|
|
|
|
|
\begin{table}[H]
|
|
|
|
|
\centering
|
|
|
|
|
\begin{tabular}{llllll}
|
|
|
|
|
\toprule
|
|
|
|
|
\textbf{Model} & \textbf{Size} & \textbf{Base} & \textbf{VRAM} & \textbf{Context} & \textbf{Status} \\
|
|
|
|
|
\midrule
|
2026-02-26 19:53:59 -08:00
|
|
|
Zen Coder 4B & 4B & Zen-4B-Instruct & 8 GB & 32K & Trained \\
|
2025-12-30 17:13:02 -08:00
|
|
|
Zen Coder 24B & 24B & Devstral Small 2 & 24 GB & 256K & Trained \\
|
|
|
|
|
Zen Coder 123B & 123B & Devstral 2 & 128 GB & 256K & Training \\
|
|
|
|
|
Zen Coder Max & 358B (MoE) & GLM-4.7 & 180 GB & 200K & Planned \\
|
|
|
|
|
Zen Coder Ultra & 1T (MoE) & Kimi K2 & 256 GB & 128K & Planned \\
|
|
|
|
|
\bottomrule
|
|
|
|
|
\end{tabular}
|
|
|
|
|
\caption{Zen Coder Model Family}
|
|
|
|
|
\end{table}
|
2025-10-28 21:51:42 -07:00
|
|
|
|
|
|
|
|
\subsection{Key Innovations}
|
|
|
|
|
\begin{itemize}
|
2025-12-30 17:13:02 -08:00
|
|
|
\item \textbf{Real Agentic Data}: Trained on actual Claude Code sessions, not synthetic instruction data
|
|
|
|
|
\item \textbf{Production Code}: 15 years of battle-tested software across AI, Web3, cryptography
|
|
|
|
|
\item \textbf{Multi-Architecture}: Dense (4B-123B) and MoE (358B-1T) models for different deployment needs
|
|
|
|
|
\item \textbf{Open Training}: Full training framework available via \href{https://github.com/zenlm/zen-trainer}{zen-trainer}
|
2025-10-28 21:51:42 -07:00
|
|
|
\end{itemize}
|
|
|
|
|
|
2025-12-30 17:13:02 -08:00
|
|
|
\section{Training Data: Zen Agentic Dataset}
|
2025-10-28 21:51:42 -07:00
|
|
|
|
2025-12-30 17:13:02 -08:00
|
|
|
The \textbf{Zen Agentic Dataset} comprises 8.47 billion tokens derived from real software development
|
|
|
|
|
and Claude Code interactions, distinguishing it from synthetic datasets.
|
2025-10-28 21:51:42 -07:00
|
|
|
|
|
|
|
|
\begin{table}[H]
|
|
|
|
|
\centering
|
2025-12-30 17:13:02 -08:00
|
|
|
\begin{tabular}{lrrr}
|
2025-10-28 21:51:42 -07:00
|
|
|
\toprule
|
2025-12-30 17:13:02 -08:00
|
|
|
\textbf{Data Source} & \textbf{Tokens (B)} & \textbf{\%} & \textbf{Description} \\
|
2025-10-28 21:51:42 -07:00
|
|
|
\midrule
|
2025-12-30 17:13:02 -08:00
|
|
|
Git History & 4.03 & 48\% & 15 years of commits, diffs, source files \\
|
|
|
|
|
Claude Debug Sessions & 2.42 & 29\% & Real debugging workflows with tool use \\
|
|
|
|
|
Claude Conversations & 1.14 & 13\% & Architecture discussions, code reviews \\
|
|
|
|
|
Claude Interactions & 0.86 & 10\% & Multi-turn coding assistance \\
|
|
|
|
|
\midrule
|
|
|
|
|
\textbf{Total} & \textbf{8.47} & 100\% & 3.35M training samples \\
|
2025-10-28 21:51:42 -07:00
|
|
|
\bottomrule
|
|
|
|
|
\end{tabular}
|
2025-12-30 17:13:02 -08:00
|
|
|
\caption{Zen Agentic Dataset Composition}
|
2025-10-28 21:51:42 -07:00
|
|
|
\end{table}
|
|
|
|
|
|
2025-12-30 17:13:02 -08:00
|
|
|
\subsection{Dataset Statistics}
|
2025-10-28 21:51:42 -07:00
|
|
|
|
|
|
|
|
\begin{table}[H]
|
|
|
|
|
\centering
|
|
|
|
|
\begin{tabular}{ll}
|
|
|
|
|
\toprule
|
|
|
|
|
\textbf{Metric} & \textbf{Value} \\
|
|
|
|
|
\midrule
|
2025-12-30 17:13:02 -08:00
|
|
|
Total Tokens & 8.47 billion \\
|
|
|
|
|
Training Samples & 3.35 million \\
|
|
|
|
|
Validation Samples & 100,000 \\
|
|
|
|
|
Total Size & 27 GB \\
|
|
|
|
|
Repositories & 1,452 \\
|
|
|
|
|
Time Span & 15 years (2010-2025) \\
|
2025-10-28 21:51:42 -07:00
|
|
|
\bottomrule
|
|
|
|
|
\end{tabular}
|
2025-12-30 17:13:02 -08:00
|
|
|
\caption{Dataset Statistics}
|
2025-10-28 21:51:42 -07:00
|
|
|
\end{table}
|
|
|
|
|
|
2025-12-30 17:13:02 -08:00
|
|
|
\subsection{Domain Coverage}
|
2025-10-28 21:51:42 -07:00
|
|
|
|
2025-12-30 17:13:02 -08:00
|
|
|
\subsubsection{Agentic AI \& LLM Infrastructure}
|
2025-10-28 21:51:42 -07:00
|
|
|
\begin{itemize}
|
2025-12-30 17:13:02 -08:00
|
|
|
\item Model Context Protocol (MCP) - 260+ tool implementations
|
2026-02-26 19:53:59 -08:00
|
|
|
\item Multi-agent orchestration - Claude, GPT-4, Gemini, Zen integrations
|
2025-12-30 17:13:02 -08:00
|
|
|
\item Agent frameworks - Planning, memory, tool use, reflection
|
|
|
|
|
\item LLM Gateway - Unified proxy for 100+ providers
|
2025-10-28 21:51:42 -07:00
|
|
|
\end{itemize}
|
|
|
|
|
|
2025-12-30 17:13:02 -08:00
|
|
|
\subsubsection{Web3 \& Blockchain}
|
2025-10-28 21:51:42 -07:00
|
|
|
\begin{itemize}
|
2025-12-30 17:13:02 -08:00
|
|
|
\item Smart contracts - Solidity, Vyper (ERC20, ERC721, ERC1155, DeFi)
|
|
|
|
|
\item Consensus engines - Snow family, BFT, DAG-based protocols
|
|
|
|
|
\item Cross-chain bridges - Multi-VM architecture
|
|
|
|
|
\item DeFi protocols - AMMs, lending, staking, governance
|
2025-10-28 21:51:42 -07:00
|
|
|
\end{itemize}
|
|
|
|
|
|
2025-12-30 17:13:02 -08:00
|
|
|
\subsubsection{Cryptography \& Security}
|
2025-10-28 21:51:42 -07:00
|
|
|
\begin{itemize}
|
2025-12-30 17:13:02 -08:00
|
|
|
\item Post-quantum cryptography - Kyber, Dilithium, SPHINCS+
|
|
|
|
|
\item Threshold cryptography - MPC, secret sharing, DKG
|
|
|
|
|
\item Zero-knowledge proofs - zkSNARKs, zkSTARKs experimentation
|
|
|
|
|
\item Key management - HD wallets, hardware integration
|
2025-10-28 21:51:42 -07:00
|
|
|
\end{itemize}
|
|
|
|
|
|
2025-12-30 17:13:02 -08:00
|
|
|
\subsubsection{Modern Development}
|
2025-10-28 21:51:42 -07:00
|
|
|
\begin{itemize}
|
2025-12-30 17:13:02 -08:00
|
|
|
\item Full-stack TypeScript - Next.js 14+, React 18+, Node.js
|
|
|
|
|
\item Systems programming - Rust, Go, Python, C/C++
|
|
|
|
|
\item DevOps - Docker, Kubernetes, CI/CD pipelines
|
|
|
|
|
\item Real-time systems - Event sourcing, CQRS, message queues
|
2025-10-28 21:51:42 -07:00
|
|
|
\end{itemize}
|
|
|
|
|
|
2025-12-30 17:13:02 -08:00
|
|
|
\subsection{Language Distribution}
|
2025-10-28 21:51:42 -07:00
|
|
|
|
|
|
|
|
\begin{table}[H]
|
|
|
|
|
\centering
|
|
|
|
|
\begin{tabular}{lll}
|
|
|
|
|
\toprule
|
2025-12-30 17:13:02 -08:00
|
|
|
\textbf{Tier 1 (Core)} & \textbf{Tier 2 (Infrastructure)} & \textbf{Tier 3 (Specialized)} \\
|
2025-10-28 21:51:42 -07:00
|
|
|
\midrule
|
2025-12-30 17:13:02 -08:00
|
|
|
Python & SQL & Solidity \\
|
|
|
|
|
TypeScript & Bash/Shell & C/C++ \\
|
|
|
|
|
JavaScript & YAML/TOML & Protobuf \\
|
|
|
|
|
Rust & Dockerfile & GraphQL \\
|
|
|
|
|
Go & Makefile & Move \\
|
2025-10-28 21:51:42 -07:00
|
|
|
\bottomrule
|
|
|
|
|
\end{tabular}
|
2025-12-30 17:13:02 -08:00
|
|
|
\caption{Language Coverage by Tier}
|
2025-10-28 21:51:42 -07:00
|
|
|
\end{table}
|
|
|
|
|
|
2025-12-30 17:13:02 -08:00
|
|
|
\section{Model Architectures}
|
2025-10-28 21:51:42 -07:00
|
|
|
|
2025-12-30 17:13:02 -08:00
|
|
|
\subsection{Dense Models (4B, 24B, 123B)}
|
2025-10-28 21:51:42 -07:00
|
|
|
|
2025-12-30 17:13:02 -08:00
|
|
|
The smaller models use dense transformer architectures optimized for different deployment scenarios:
|
2025-10-28 21:51:42 -07:00
|
|
|
|
|
|
|
|
\begin{table}[H]
|
|
|
|
|
\centering
|
2025-12-30 17:13:02 -08:00
|
|
|
\begin{tabular}{llll}
|
2025-10-28 21:51:42 -07:00
|
|
|
\toprule
|
2025-12-30 17:13:02 -08:00
|
|
|
\textbf{Model} & \textbf{Base Architecture} & \textbf{Layers} & \textbf{Hidden Dim} \\
|
2025-10-28 21:51:42 -07:00
|
|
|
\midrule
|
2026-02-26 19:53:59 -08:00
|
|
|
Zen Coder 4B & Zen-4B-Instruct & 40 & 2560 \\
|
2025-12-30 17:13:02 -08:00
|
|
|
Zen Coder 24B & Devstral Small 2 & 56 & 5120 \\
|
|
|
|
|
Zen Coder 123B & Devstral 2 & 80 & 8192 \\
|
2025-10-28 21:51:42 -07:00
|
|
|
\bottomrule
|
|
|
|
|
\end{tabular}
|
2025-12-30 17:13:02 -08:00
|
|
|
\caption{Dense Model Specifications}
|
2025-10-28 21:51:42 -07:00
|
|
|
\end{table}
|
|
|
|
|
|
2025-12-30 17:13:02 -08:00
|
|
|
\subsection{MoE Models (358B, 1T)}
|
|
|
|
|
|
|
|
|
|
The larger models employ Mixture of Experts architectures for efficient scaling:
|
|
|
|
|
|
|
|
|
|
\begin{table}[H]
|
|
|
|
|
\centering
|
|
|
|
|
\begin{tabular}{llll}
|
|
|
|
|
\toprule
|
|
|
|
|
\textbf{Model} & \textbf{Total Params} & \textbf{Active Params} & \textbf{Experts} \\
|
|
|
|
|
\midrule
|
|
|
|
|
Zen Coder Max & 358B & ~60B & 128 experts, top-8 \\
|
|
|
|
|
Zen Coder Ultra & 1T & ~150B & 256 experts, top-8 \\
|
|
|
|
|
\bottomrule
|
|
|
|
|
\end{tabular}
|
|
|
|
|
\caption{MoE Model Specifications}
|
|
|
|
|
\end{table}
|
|
|
|
|
|
|
|
|
|
\section{Training Methodology}
|
|
|
|
|
|
|
|
|
|
\subsection{Training Framework}
|
|
|
|
|
|
|
|
|
|
We developed \href{https://github.com/zenlm/zen-trainer}{zen-trainer}, an open-source framework
|
|
|
|
|
supporting multiple backends:
|
|
|
|
|
|
|
|
|
|
\begin{itemize}
|
|
|
|
|
\item \textbf{MLX}: Apple Silicon optimization (M1/M2/M3 Pro/Max/Ultra)
|
|
|
|
|
\item \textbf{Unsloth}: 2x faster NVIDIA training with memory optimization
|
|
|
|
|
\item \textbf{DeepSpeed}: Multi-GPU and multi-node training
|
|
|
|
|
\end{itemize}
|
|
|
|
|
|
|
|
|
|
\subsection{Fine-tuning Configuration}
|
|
|
|
|
|
|
|
|
|
\begin{table}[H]
|
|
|
|
|
\centering
|
|
|
|
|
\begin{tabular}{lllll}
|
|
|
|
|
\toprule
|
|
|
|
|
\textbf{Model} & \textbf{LoRA r} & \textbf{LoRA $\alpha$} & \textbf{Batch} & \textbf{LR} \\
|
|
|
|
|
\midrule
|
|
|
|
|
4B & 64 & 128 & 4 & 2e-4 \\
|
|
|
|
|
24B & 32 & 64 & 2 & 1e-4 \\
|
|
|
|
|
123B & 16 & 32 & 1 & 5e-5 \\
|
|
|
|
|
Max & 16 & 32 & 1 & 5e-6 \\
|
|
|
|
|
Ultra & 8 & 16 & 1 & 1e-6 \\
|
|
|
|
|
\bottomrule
|
|
|
|
|
\end{tabular}
|
|
|
|
|
\caption{QLoRA Fine-tuning Hyperparameters}
|
|
|
|
|
\end{table}
|
|
|
|
|
|
|
|
|
|
\subsection{Training Costs}
|
|
|
|
|
|
|
|
|
|
For 3.35M samples (8.47B tokens) on 8xH200 @ \$35/hr:
|
|
|
|
|
|
|
|
|
|
\begin{table}[H]
|
|
|
|
|
\centering
|
|
|
|
|
\begin{tabular}{llll}
|
|
|
|
|
\toprule
|
|
|
|
|
\textbf{Model} & \textbf{Cloud Hours} & \textbf{Cloud Cost} & \textbf{Local (Mac Studio)} \\
|
|
|
|
|
\midrule
|
|
|
|
|
Zen Coder 4B & 9h & \$326 & 2 days (FREE) \\
|
|
|
|
|
Zen Coder 24B & 23h & \$814 & 5 days (FREE) \\
|
|
|
|
|
Zen Coder 123B & 62h & \$2,171 & 13 days (FREE) \\
|
|
|
|
|
Zen Coder Max & 116h & \$4,071 & 19 days (FREE) \\
|
|
|
|
|
Zen Coder Ultra & 310h & \$10,856 & N/A (too large) \\
|
|
|
|
|
\bottomrule
|
|
|
|
|
\end{tabular}
|
|
|
|
|
\caption{Training Cost Estimates}
|
|
|
|
|
\end{table}
|
|
|
|
|
|
|
|
|
|
\section{Usage}
|
|
|
|
|
|
|
|
|
|
\subsection{Installation}
|
|
|
|
|
|
|
|
|
|
\begin{lstlisting}[language=bash, caption=Install zen-trainer]
|
|
|
|
|
pip install zen-trainer
|
|
|
|
|
\end{lstlisting}
|
|
|
|
|
|
|
|
|
|
\subsection{Training Example}
|
|
|
|
|
|
|
|
|
|
\begin{lstlisting}[language=Python, caption=Fine-tuning with zen-trainer]
|
|
|
|
|
from zen_trainer import ZenTrainer
|
|
|
|
|
|
|
|
|
|
trainer = ZenTrainer(
|
2026-02-26 19:53:59 -08:00
|
|
|
model_key="zen-coder-4b",
|
2025-12-30 17:13:02 -08:00
|
|
|
dataset_path="hanzoai/zen-agentic-dataset-private",
|
|
|
|
|
output_dir="./output/zen-coder-4b",
|
|
|
|
|
)
|
|
|
|
|
trainer.train()
|
|
|
|
|
\end{lstlisting}
|
|
|
|
|
|
|
|
|
|
\subsection{Inference Example}
|
|
|
|
|
|
|
|
|
|
\begin{lstlisting}[language=Python, caption=Using Zen Coder for inference]
|
|
|
|
|
from transformers import AutoModelForCausalLM, AutoTokenizer
|
|
|
|
|
|
|
|
|
|
model = AutoModelForCausalLM.from_pretrained(
|
|
|
|
|
"zenlm/zen-coder-4b",
|
|
|
|
|
torch_dtype="auto",
|
|
|
|
|
device_map="auto"
|
|
|
|
|
)
|
|
|
|
|
tokenizer = AutoTokenizer.from_pretrained("zenlm/zen-coder-4b")
|
|
|
|
|
|
|
|
|
|
messages = [
|
|
|
|
|
{"role": "user", "content": "Write a Python function to validate email addresses"}
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
|
|
|
|
|
inputs = tokenizer(text, return_tensors="pt").to(model.device)
|
|
|
|
|
outputs = model.generate(**inputs, max_new_tokens=512)
|
|
|
|
|
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
|
|
|
|
|
\end{lstlisting}
|
|
|
|
|
|
|
|
|
|
\section{What Makes This Unique}
|
|
|
|
|
|
|
|
|
|
\subsection{Real Agentic Programming}
|
|
|
|
|
|
|
|
|
|
Unlike synthetic datasets, the Zen Agentic Dataset contains \textbf{actual Claude Code sessions} showing:
|
|
|
|
|
\begin{itemize}
|
|
|
|
|
\item Real debugging workflows with trial and error
|
|
|
|
|
\item Complex multi-file refactoring decisions
|
|
|
|
|
\item Architecture discussions and trade-offs
|
|
|
|
|
\item Tool use patterns (file ops, search, git, tests)
|
|
|
|
|
\item Error recovery and iterative refinement
|
|
|
|
|
\end{itemize}
|
|
|
|
|
|
|
|
|
|
\subsection{Production Code Quality}
|
|
|
|
|
\begin{itemize}
|
|
|
|
|
\item Code that shipped to production systems
|
|
|
|
|
\item Security-audited smart contracts
|
|
|
|
|
\item Performance-optimized infrastructure
|
|
|
|
|
\item Battle-tested patterns from real deployments
|
|
|
|
|
\end{itemize}
|
|
|
|
|
|
|
|
|
|
\section{Evaluation}
|
|
|
|
|
|
|
|
|
|
Models are evaluated on agentic coding benchmarks including:
|
|
|
|
|
\begin{itemize}
|
|
|
|
|
\item \textbf{SWE-bench Verified}: Real GitHub issue resolution
|
|
|
|
|
\item \textbf{TAU-Bench}: Tool-agent-user interaction
|
|
|
|
|
\item \textbf{BFCL V3}: Berkeley Function Call Leaderboard
|
|
|
|
|
\item \textbf{Terminal-Bench}: Terminal environment tasks
|
|
|
|
|
\item \textbf{LiveCodeBench}: Real-time coding challenges
|
|
|
|
|
\end{itemize}
|
|
|
|
|
|
|
|
|
|
\section{Licensing \& Access}
|
|
|
|
|
|
|
|
|
|
\subsection{Models}
|
|
|
|
|
\begin{itemize}
|
|
|
|
|
\item Zen Coder 4B, 24B: Apache 2.0
|
|
|
|
|
\item Zen Coder 123B: Mistral Research License
|
|
|
|
|
\item Zen Coder Max: GLM-4 License
|
|
|
|
|
\item Zen Coder Ultra: MIT (Kimi K2 base)
|
|
|
|
|
\end{itemize}
|
|
|
|
|
|
|
|
|
|
\subsection{Dataset Access}
|
|
|
|
|
The Zen Agentic Dataset is available for research and commercial licensing.
|
|
|
|
|
Contact \texttt{z@hanzo.ai} for access.
|
|
|
|
|
|
|
|
|
|
\section{Supported Organizations}
|
|
|
|
|
|
|
|
|
|
\begin{table}[H]
|
|
|
|
|
\centering
|
|
|
|
|
\begin{tabular}{lll}
|
|
|
|
|
\toprule
|
|
|
|
|
\textbf{Organization} & \textbf{Focus} & \textbf{Role} \\
|
|
|
|
|
\midrule
|
|
|
|
|
Hanzo AI & AI infrastructure & Primary maintainer \\
|
|
|
|
|
Zen LM & Open model research & Model training \\
|
|
|
|
|
Zoo Labs & Decentralized AI & Research grants \\
|
|
|
|
|
Lux Network & AI compute settlement & Infrastructure \\
|
|
|
|
|
\bottomrule
|
|
|
|
|
\end{tabular}
|
|
|
|
|
\caption{Supporting Organizations}
|
|
|
|
|
\end{table}
|
|
|
|
|
|
|
|
|
|
\section{Conclusion}
|
|
|
|
|
|
|
|
|
|
Zen Coder represents a new approach to code generation model training: using real agentic programming
|
|
|
|
|
data rather than synthetic instructions. By training on actual Claude Code sessions from 15 years of
|
|
|
|
|
production software development, these models learn genuine debugging patterns, tool use workflows,
|
|
|
|
|
and the iterative nature of real programming.
|
|
|
|
|
|
|
|
|
|
The complete model family---from 4B for edge deployment to 1T for frontier capabilities---provides
|
|
|
|
|
options for every use case. The open training framework (\href{https://github.com/zenlm/zen-trainer}{zen-trainer})
|
|
|
|
|
enables the community to train custom models on their own data.
|
|
|
|
|
|
|
|
|
|
\section*{Links}
|
|
|
|
|
|
|
|
|
|
\begin{itemize}
|
|
|
|
|
\item Models: \href{https://huggingface.co/zenlm}{huggingface.co/zenlm}
|
|
|
|
|
\item Dataset: \href{https://huggingface.co/datasets/hanzoai/zen-agentic-dataset}{huggingface.co/datasets/hanzoai/zen-agentic-dataset}
|
|
|
|
|
\item Training: \href{https://github.com/zenlm/zen-trainer}{github.com/zenlm/zen-trainer}
|
|
|
|
|
\item Website: \href{https://zenlm.org}{zenlm.org}
|
|
|
|
|
\item Contact: \href{mailto:z@hanzo.ai}{z@hanzo.ai}
|
|
|
|
|
\end{itemize}
|
|
|
|
|
|
|
|
|
|
\end{document}
|