Run this model with HF Jobs

Run NolanChai/Halcyon-12B 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 to fine-tune https://huggingface.co/NolanChai/Halcyon-12B. Ask me which dataset to train on, then push the fine-tuned model to a new private 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/NolanChai/Halcyon-12B 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.

You need to agree to share your Hugging Face information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

Halcyon-12B

Halcyon-12B

In Greek mythology, Alcyone and Ceyx were transformed into kingfishersβ€”halcyonsβ€”whose nesting at the winter solstice stilled the Aegean into the quiet nostalgia of "halcyon days." Halcyon-12B is a graceful entry in Klyntel Labs' introductory series of post-trained models built with care.

Halcyon-12B is a 12B multimodal reasoning and software engineering model trained by Klyntel Labs, built on google/gemma-4-12B-it. Trained with reinforcement learning over execution-verified programming, systems, and frontend tasks, Halcyon-12B achieves state-of-the-art performance among 9B–14B open-weight models across competitive coding, GPU kernel engineering, PyTorch ML, secure backend development, and React/UI generation, editing, and repairβ€”while preserving Gemma 4's native text, image, audio, and video capabilities up to 256K context.

Model Overview

Base Model google/gemma-4-12B-it
Modalities Text, Image, Audio, Video
Context Length 256K tokens
Precision BF16
Weights NolanChai/Halcyon-12B (Private)
License Apache 2.0

Highlights

  • Competitive Coding & Algorithms: State-of-the-art in the 9B–14B class on LiveCodeBench v6 and FrontierCS-v1.1, with substantially fewer reasoning truncations on hard problems.
  • Systems, Kernels & Applied ML: Sets a new 9B–14B high on KernelBench (H100), PyTorch ML, and BaxBench (functional & security-audited backends).
  • Frontend & Visual UI: Leads all evaluated 8B–14B peers across UI React Interactive, DesignBench React Generation, Edit, and Repair.
  • Native Multimodality: Preserves the base vision and audio encoders unchanged, maintaining full multimodal fidelity.

Benchmarks

All models were evaluated under identical harnesses and generation budgets in BF16 on NVIDIA H100 GPUs. Full per-benchmark breakdowns are available in benchmarks/summary.json.

Halcyon-12B Benchmark Performance

Consolidated Benchmark Table
Category Benchmark Metric Halcyon-12B Gemma 4 12B-IT Qwen3-14B Qwen3.5-9B NousCoder-14B Ministral-3-14B Qwen3-VL-8B
Coding LiveCodeBench v6 Pass@1 65.4% 63.2% 61.0% 54.0% 56.4% 32.4% β€”
Coding FrontierCS-v1.1 Score 0.132 0.125 0.000 0.000 0.000 0.027 β€”
Reasoning GPQA Diamond Acc. 65.2% 65.7% 60.1% β€” 47.5% β€” β€”
Reasoning AIME 2024 / 2025 Acc. 56.7% 46.7% 58.3% β€” 43.3% β€” β€”
Systems PyTorch ML Pass@1 68.0% 60.0% 60.0% 24.0% 24.0% 32.0% β€”
Systems BaxBench Func. & Secure 70.0% 60.0% 35.0% 15.0% 25.0% 25.0% β€”
Systems KernelBench (H100) Correct 95.0% 37.5% 10.0% 0.0% 0.0% 0.0% β€”
Systems KernelBench (H100) fast_1 60.0% 25.0% 10.0% 0.0% 0.0% 0.0% β€”
Frontend UI React Interactive Reward 0.817 0.166 β€” 0.696 β€” 0.652 0.000
Frontend DesignBench React Gen Render 86.2% 76.2% β€” 63.3% β€” 58.7% 0.0%
Frontend DesignBench React Edit Judge (/10) 8.67 8.32 β€” 7.59 β€” 3.95 2.69
Frontend DesignBench React Repair Judge (/10) 9.29 8.25 β€” 2.82 β€” 7.82 0.00
Frontend Design2Code Combined 0.822 0.827 β€” 0.847 β€” 0.081 0.527
Frontend ArtifactsBench Judge (/100) 55.6 60.8 β€” 50.0 β€” 26.8 9.0

Quickstart

Serving with SGLang

python -m sglang.launch_server \
  --model-path NolanChai/Halcyon-12B \
  --dtype bfloat16 \
  --attention-backend triton \
  --reasoning-parser gemma4 \
  --tool-call-parser gemma4 \
  --trust-remote-code

Inference with Transformers

Requires transformers >= 5.0.

import torch
from transformers import AutoModelForImageTextToText, AutoProcessor

model_id = "NolanChai/Halcyon-12B"
processor = AutoProcessor.from_pretrained(model_id)
model = AutoModelForImageTextToText.from_pretrained(
    model_id,
    dtype=torch.bfloat16,
    device_map="auto",
)

messages = [
    {"role": "user", "content": [{"type": "text", "text": "Implement an O(n log n) longest increasing subsequence algorithm in Python with path reconstruction."}]}
]
inputs = processor.apply_chat_template(
    messages,
    add_generation_prompt=True,
    tokenize=True,
    return_dict=True,
    return_tensors="pt",
).to(model.device)

with torch.inference_mode():
    output = model.generate(**inputs, max_new_tokens=4096, temperature=0.6, top_p=0.95, do_sample=True)

print(processor.decode(output[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))

Recommended sampling: Use temperature=0.6, top_p=0.95 for reasoning and competitive coding; use temperature=0.0–0.3 for frontend generation and structured edits.


Limitations

  • Long-horizon repository agents: Halcyon-12B is primarily optimized for single-turn reasoning, coding, and UI tasks; performance on extended multi-turn repository-level agentic workflows trails models specialized for long-horizon agent trajectories.
  • Dense 4K GUI grounding: Inheriting Gemma 4 12B's fixed visual token budget per image, single-pass fine-grained icon localization on 4K desktop screenshots benefits from a crop-and-zoom wrapper.

License

Halcyon-12B is released under the Apache 2.0 License.

Downloads last month
-
Safetensors
Model size
12B params
Tensor type
BF16
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for NolanChai/Halcyon-12B

Finetuned
(355)
this model