Instructions to use empiriolabsai/canora-korean with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use empiriolabsai/canora-korean with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-to-speech', 'empiriolabsai/canora-korean');
Website Β· All models Β· Platform Β· Discord
Canora Korean
Canora Korean is a Korean text-to-speech (TTS) model with two voices, seoyeon (female) and minjun (male). It has 82 million parameters, the size and speed of Kokoro-82M, and loads in the standard kokoro Python package. ONNX weights in full precision, half precision and int8 are included for ONNX Runtime and transformers.js.
νκ΅μ΄: Canora Koreanμ μ¬μ±κ³Ό λ¨μ± λͺ©μ리λ₯Ό μ 곡νλ νκ΅μ΄ μμ± ν©μ±(TTS) λͺ¨λΈμ΄λ©°, Apache 2.0 λΌμ΄μ μ€λ‘ μμ μ μ©λλ₯Ό ν¬ν¨ν΄ μμ λ‘κ² μ¬μ©ν μ μμ΅λλ€.
Highlights
- Two voices:
seoyeon(female) andminjun(male). - Numbers, dates, times and prices are read the way a Korean speaker says them.
- As intelligible as MeloTTS Korean: character error rate 3.3% against 3.4% on 200 held-out sentences.
- Higher naturalness score than MeloTTS Korean we tested (UTMOS).
- Small and light: 82 million parameters, the size and speed of Kokoro-82M; the int8 ONNX file is 115 MB.
- Standard package: stock
kokoro, plus a one-file text-to-phoneme module in this repository. - Apache 2.0: free for commercial use.
Samples
| Voice | Text | Audio |
|---|---|---|
seoyeon (female) |
μ’μ μμΉ¨μ λλ€! μ€λμ λ§κ³ κΈ°μ¨μ 21λ μ λκ° λκ² μ΅λλ€. | |
seoyeon (female) |
λΆμ°ν μ΄μ°¨λ μ€ν 2μ 35λΆμ μΆλ°ν©λλ€. | |
seoyeon (female) |
μ¬κΈ° μ»€νΌ ν μμ 4,500μμ λλ€. | |
minjun (male) |
μ’μ μμΉ¨μ λλ€! μ€λμ λ§κ³ κΈ°μ¨μ 21λ μ λκ° λκ² μ΅λλ€. | |
minjun (male) |
λΆμ°ν μ΄μ°¨λ μ€ν 2μ 35λΆμ μΆλ°ν©λλ€. | |
minjun (male) |
μ¬κΈ° μ»€νΌ ν μμ 4,500μμ λλ€. |
More samples (ten per voice) are in the samples folder.
Results

Measured by EmpirioLabs on 2026-11-20 on 200 Korean sentences the model never saw. Every system read the same sentences; openai/whisper-large-v3 transcribed each clip and the transcript was compared with the text (CER: character error rate, lower is better). UTMOS is an automatic estimate of naturalness on a 1 to 5 scale (higher is better). Bold marks the best score in a column.
| System | CER | UTMOS |
|---|---|---|
Canora Korean seoyeon |
3.34% | 4.23 |
Canora Korean minjun |
3.32% | 3.96 |
| MeloTTS Korean | 3.41% | 3.82 |
Piper ko_KR-kss-medium |
4.51% | 3.60 |
The int8 ONNX file measures seoyeon 3.48% CER and UTMOS 3.49, minjun 3.13% CER and UTMOS 3.36 on the same sentences.
Speed, 60 sentences on 4 threads of an AMD EPYC 7B13 64-Core Processor (audio seconds per second of computation): PyTorch 4.0x real time, ONNX full precision 4.5x, ONNX int8 5.2x. Speed depends on the processor and the number of threads; the architecture is Kokoro-82M's, so it matches Kokoro-82M on the same machine.
Quickstart
pip install kokoro soundfile huggingface_hub
The Korean text-to-phoneme module is pure Python and needs no other program.
import importlib, sys
from pathlib import Path
import soundfile as sf
import torch
from huggingface_hub import hf_hub_download
from kokoro import KModel
REPO = "empiriolabsai/canora-korean"
sys.path.insert(0, str(Path(hf_hub_download(REPO, "g2p_ko.py")).parent))
g2p = importlib.import_module("g2p_ko").KoreanG2P()
model = KModel(repo_id=REPO, config=hf_hub_download(REPO, "config.json"),
model=hf_hub_download(REPO, "canora-korean.pth")).eval()
voice = torch.load(hf_hub_download(REPO, "voices/seoyeon.pt"), weights_only=True)
phonemes, _ = g2p("νμλ 2025λ
3μ 12μΌ μ€ν 2μ 30λΆμ μμν©λλ€.")
with torch.no_grad():
audio = model(phonemes, voice[len(phonemes) - 1], 1.0)
sf.write("speech.wav", audio.numpy(), 24000)
The third argument of model(...) is the speed (1.0 is normal). Keep one call to about 500 phonemes; split longer text into sentences and join the audio.
ONNX Runtime
Continuing the example above, the same phonemes and voice run on ONNX Runtime (pip install onnxruntime):
import json
import numpy as np
import onnxruntime as ort
vocab = json.load(open(hf_hub_download(REPO, "config.json")))["vocab"]
session = ort.InferenceSession(hf_hub_download(REPO, "onnx/model.onnx"))
ids = [0] + [vocab[p] for p in phonemes if p in vocab] + [0]
audio = session.run(None, {
"input_ids": np.array([ids], dtype=np.int64),
"style": voice[len(phonemes) - 1].numpy(),
"speed": np.ones(1, dtype=np.float32),
})[0].reshape(-1)
onnx/model.onnx is full precision, onnx/model_fp16.onnx half precision and onnx/model_quantized.onnx int8, the smallest (its scores are in Results). In JavaScript, transformers.js loads the same files as StyleTextToSpeech2Model and takes the same inputs: phoneme ids from config.json and one row of voices/<name>.bin (raw float32, [510, 256]). The text-to-phoneme module itself is Python.
Voices
| Voice | Description |
|---|---|
seoyeon |
A clear, warm adult female voice, calm and even. |
minjun |
A clear, warm adult male voice, medium-low and calm. |
The voices are designed voices, not recordings or imitations of a real person.
Intended use
Reading Korean text aloud in applications, accessibility tools, voice assistants, audiobooks and prototypes, on a server, a laptop or in the browser.
Limitations
- Korean only. Words from other languages are read with Korean pronunciation.
- One speaking style per voice, with no emotion or emphasis control; the same text always gives the same audio.
- Pronunciation follows the text-to-phoneme module; rare words, names and some compound words can be mispronounced.
- Scores above come from automatic measures (speech recognition and UTMOS), not from listening tests.
- Do not use it to impersonate a person or to mislead listeners about whether speech is synthetic.
Other languages
Canora text-to-speech in other languages: Dutch, French, German, Norwegian, Polish, Russian, Spanish, Turkish. They are listed together in the Canora text-to-speech collection.
About EmpirioLabs AI
EmpirioLabs AI builds AI models, from decision models to open text-to-speech and classifier models, and offers specialized AI model hosting for open, proprietary, and custom stacks, with GPU Cloud instances and hosted AI agents on the same platform. Website Β· Platform Β· Docs
License
Apache 2.0. The weights and code in this repository may be used commercially. See LICENSE and NOTICE.
- Downloads last month
- 58