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.
Instructions to use kakaocorp/kanana-2-audio-encoder-tiny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kakaocorp/kanana-2-audio-encoder-tiny with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="kakaocorp/kanana-2-audio-encoder-tiny", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("kakaocorp/kanana-2-audio-encoder-tiny", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("kakaocorp/kanana-2-audio-encoder-tiny", trust_remote_code=True, device_map="auto")
π€ 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.43 | 4.41 |
| 1 s | 2.92 | 4.20 | β | 3.03 | 3.82 |
| 8 s | 2.51 | 3.33 | β | β | β |
| 30 s | β | β | 4.92 | 2.80 | 3.49 |
| Korean Speech Recognition β CER (%) β | |||||
| 80 ms | β | β | β | 6.88 | 7.69 |
| 1 s | 11.40 | 14.91 | β | 6.49 | 7.20 |
| 8 s | 9.65 | 12.08 | β | β | β |
| 30 s | β | β | 14.97 | 6.33 | 7.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
- Kanana MLLM Team Technical Support: kanana-mllm@kakaocorp.com
- Downloads last month
- 61
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="kakaocorp/kanana-2-audio-encoder-tiny", trust_remote_code=True)