Dolphin Dolphin-CN-Dialect Github Huggingface Modelscope Openi Wisemodel
Dolphin is a multilingual, multitask ASR model developed through a collaboration between Dataocean AI and Tsinghua University. It supports 40 Eastern languages across East Asia, South Asia, Southeast Asia, and the Middle East, while also supporting 22 Chinese dialects. It is trained on over 210,000 hours of data, which includes both DataoceanAI's proprietary datasets and open-source datasets. The model can perform speech recognition, voice activity detection (VAD), segmentation, and language identification (LID).
- [2026-05-09] Dolphin-CN-Dialect small/base released, including base, base.streaming, small, small.prompt, small.streaming; Support Word timestamps prediction for all Dolphin models.
Dolphin largely follows the innovative design approach of Whisper and OWSM. A joint CTC-Attention architecture is adopted, with encoder based on E-Branchformer and decoder based on standard Transformer. Several key modifications are introduced for its specific focus on ASR. Dolphin does not support translation tasks, and eliminates the use of previous text and its related tokens.
A significant enhancement in Dolphin is the introduction of a two-level language token system to better handle linguistic and regional diversity, especially in Dataocean AI dataset. The first token specifies the language (e.g., <zh>, <ja>), while the second token indicates the region (e.g., <CN>, <JP>). See details in paper.
Dolphin requires FFmpeg to convert audio file to WAV format. If FFmpeg is not installed on your system, please install it first:
# Ubuntu or Debian
sudo apt update && sudo apt install ffmpeg
# MacOS
brew install ffmpeg
# Windows
choco install ffmpegYou can install the latest version of Dolphin using the following command:
pip install -U dataoceanai-dolphinAlternatively, it can also be installed from the source:
pip install git+https://github.com/SpeechOceanTech/Dolphin.git There are 8 models in Dolphin, and 6 of them are available now. See details in Dolphin and Dolphin-CN-Dialect.
| Model | Parameters | Publicly Available |
|---|---|---|
| base | 0.1 B | ✅ |
| small | 0.4 B | ✅ |
| medium | 0.9 B | |
| large | 1.7B | |
| base.cn | 0.1 B | ✅ |
| base.cn.streaming | 0.1 B | ✅ |
| small.cn | 0.4 B | ✅ |
| small.cn.streaming | 0.4 B | ✅ |
| small.cn.prompt | 0.4 B | ✅ |
Dolphin supports 40 Eastern languages and 22 Chinese dialects. For a complete list of supported languages, see languages.md.
# default model:small
dolphin audio.wav
# Download model and specify the model path
dolphin audio.wav --model small.cn
# Specify language and region
dolphin audio.wav --model small.cn --lang_sym "zh" --region_sym "CN"
# Specify the hotwords file with Encoder-biased method
dolphin audio.wav --model small.cn --hotword_list_path hotwords.txt --use_deep_biasing true
# Using prompt-based model
dolphin audio.wav --model small.cn.prompt --hotword_list_path hotwords.txt --use_prompt_hotword true --use_two_stage_filter true
# predict word timestamp
dolphin audio.wav --model small.cn.prompt --word_timestamp true
import dolphin
from dolphin import transcribe
model_name = 'small.cn'
model = dolphin.load_model(model_name, device="cuda")
result = transcribe(model, 'audio.wav')
print(result.text)
# Specify language
result = transcribe(model, 'audio.wav', lang_sym="zh")
print(result.text)
# Specify language and region and encoder-biased hotwords
result = transcribe(model, 'audio.wav', lang_sym="zh", region_sym="CN", hotwords=['诺香丹青牌科研胶囊'], use_deep_biasing=True, use_two_stage_filter=True)
print(result.text)
## prompt-based hotwords
model_name = 'small.cn.prompt'
model = dolphin.load_model(model_name, device="cuda")
result = transcribe(model, 'audio.wav', hotwords=['诺香丹青牌科研胶囊'], use_prompt_hotword=True, use_two_stage_filter=True, decoding_method='attention')
print(result.text)Thanks to the following excellent open-source works:
Dolphin's code and model weights are released under the Apache 2.0 License.