Run this model with HF Jobs

Run kakaocorp/kanana-2-audio-encoder-tiny 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/kakaocorp/kanana-2-audio-encoder-tiny. 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/kakaocorp/kanana-2-audio-encoder-tiny 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.

Kanana

πŸ€— kanana-2-audio-encoder-mediumplus  |  πŸ€— kanana-2-audio-encoder-tiny  |  πŸ“• Blog

kanana-2-audio-encoder-tiny

News πŸ”₯

  • 2026/12/4: πŸ€— Released the kanana-2-audio-encoder-mediumplus and kanana-2-audio-encoder-tiny model weights.
  • 2026/12/4: πŸ“• Published a blog post about the development of the kanana-2-audio-encoder series.

Introduction

Kanana-2-audio-encoder is Kakao's audio encoder series for audio-language models. This release contains tiny (121.6M parameters). The model converts 16 kHz mono audio into a sequence of 512-dimensional features. The model extracts speech and audio representations for downstream speech understanding and recognition tasks, with strong capabilities in Korean speech. The model is built upon an architecture combining an acoustic convolutional frontend with Kakao's Kanana-2-0.9B LLM. The underlying foundation model, Kanana-2-0.9B LLM, is currently not publicly released. Kanana-2-audio-encoder is a feature-extraction-only model and does not include a text or audio generation module.

Highlights

  • Unified streaming and non-streaming support: Supports both inference modes via block-causal attention, with configurable chunk sizes controlling the bidirectional context within each block.
  • Efficient attention architecture: Combines Sliding Window Attention (SWA) and full-attention layers.

Model Downloads

Model Download
kanana-2-audio-encoder-mediumplus πŸ€— HuggingFace
kanana-2-audio-encoder-tiny πŸ€— HuggingFace

Audio Encoder Performance

We compare speech recognition performance across models with 0.1B–0.3B audio encoder parameters.

0.1B–0.3B Encoder Scale Comparison

Chunk size Qwen3-ASR-1.7B
(0.3B encoder)
Qwen3-ASR-0.6B
(0.2B encoder)
Whisper-medium
(0.3B encoder)
Kanana-2-audio-
encoder-small
(0.2B encoder)
Kanana-2-audio-
encoder-tiny
(0.1B encoder)
English Speech Recognition β€” WER (%) ↓
80 ms–––3.434.41
1 s2.924.20–3.033.82
8 s2.513.33–––
30 s––4.922.803.49
Korean Speech Recognition β€” CER (%) ↓
80 ms–––6.887.69
1 s11.4014.91–6.497.20
8 s9.6512.08–––
30 s––14.976.337.01

Parameter counts refer to the audio encoder only.
Bold indicates the lowest reported error rate within each row.
β€œβ€“β€ indicates that no result is provided for that model and chunk size.

Deployment

pip install torch "transformers>=5.5,<6" librosa
import librosa
import torch
from transformers import AutoFeatureExtractor, AutoModel

model_id = "kakaocorp/kanana-2-audio-encoder-tiny"
processor = AutoFeatureExtractor.from_pretrained(model_id)
model = AutoModel.from_pretrained(
    model_id, trust_remote_code=True, dtype=torch.bfloat16,
).cuda().eval()

audio, _ = librosa.load("example.wav", sr=16000, mono=True)
if not 1280 <= len(audio) <= 300 * 16000:
    raise ValueError("This example accepts 80 ms to 5 min clips.")
inputs = processor(
    audio, sampling_rate=16000, padding="longest",
    pad_to_multiple_of=len(audio), truncation=False,
    return_attention_mask=False, return_tensors="pt",
).input_features.to("cuda")

with torch.inference_mode():
    # Non-streaming: 30-second attention chunks.
    features = model(
        inputs,
        attention_chunk_size=375,
    ).last_hidden_state

    # Streaming mode: 80-ms attention chunks.
    streaming_features = model(
        inputs,
        attention_chunk_size=1,
    ).last_hidden_state

print(features.shape)  # (batch, num_audio_tokens, 512)

attention_chunk_size is measured in encoder output tokens (one per 8 mel frames, approximately 80 ms).

License

The model weights are released under the KananaOpenLicense.

Citation

@misc{kanana2audioencoder2026,
  title = {Kanana-2-audio-encoder},
  author = {Jeehye Lee and Byungseok Roh},
  year = {2026},
  url = {https://huggingface.co/collections/kakaocorp/kanana-2-audio-encoder}
}

Contact

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

Collection including kakaocorp/kanana-2-audio-encoder-tiny