Hojo-ASR-V1.5 / README.md
HojoAI's picture
Sync WER benchmarks from HojoAI/Hojo-ASR README
d07a28c verified
|
Raw History Blame Contribute Delete
4.17 kB
metadata
license: apache-2.0
language:
  - zh
  - en

Hojo-ASR-V1.5

Overview

Introduction

Hojo-ASR-V1.5 is a high-performance conversational speech recognition model powered by the Qwen3 LLM decoder. It adopts the classic Encoder-Adapter-LLM framework with a customized multi-frame acoustic fusion architecture, fully leveraging acoustic fine-grained features and strong LLM semantic capabilities.

Optimized with multi-stage modular training and reinforcement learning, the model specializes in complex real-world scenarios including noisy environments, informal pronunciation, oral correction and Chinese-English code-switching. It currently supports accurate recognition of Mandarin, English, Cantonese, and Sichuan dialect, delivering balanced accuracy and inference efficiency for industrial deployment.

Compared with V1, Hojo-ASR-V1.5 incorporates more English training data and a refined reinforcement learning training process to improve overall speech recognition performance, alongside substantial inference speed optimizations.

Quickstart

Environment Setup

Install the hojo_asr_fa Python package. Requires Python 3.10+, Linux, an NVIDIA Ampere/Ada/Hopper GPU, and FFmpeg shared libraries for audio decoding. Building Flash Attention requires a compatible CUDA toolkit (12.0+) and C++ compiler.

conda create -n hojo-asr python=3.10
conda activate hojo-asr

Install matching CUDA-enabled PyTorch and TorchAudio builds before Flash Attention:

python -m pip install "torch>=2.9.1,<2.10" "torchaudio>=2.9.1,<2.10"
python -m pip install "setuptools>=77.0.0" wheel packaging ninja
python -m pip install "flash-attn>=2.8.3,<2.9" --no-build-isolation
python -m pip install hojo_asr_fa

Sample Usage

import argparse
from hojo_asr_fa import HOJO_ASR

parser = argparse.ArgumentParser()
parser.add_argument(
    "--batch_size", type=int, default=10, help="batch size for inference"
)
parser.add_argument("--device", type=int, default=0, help="visible GPU index")
args = parser.parse_args()

model = HOJO_ASR.load_model("/path/to/model_folder", device=args.device)

# Transcribe
# List of wav paths; for a single scp file pass a str (see dataset.resolve_infer_audio_input)
wav_paths = [
    "/path/to/audio.wav",
]
wav_scp = "test.scp"

with open(wav_paths[0], "rb") as f:
    wav_bytes = f.read()

#LIST OF BYTES
wav_bytes_list = [wav_bytes, wav_bytes]

res = model.run_infer(wav_scp, batch_size=args.batch_size)
# res = model.run_infer(wav_paths, batch_size=args.batch_size)
# res = model.run_infer(wav_bytes_list, batch_size=args.batch_size)

for val in res:
    print("key :", val["key"], " text :", val["text"])

Evaluation

ASR Benchmarks on Public English Datasets (WER ↓)

Dataset Hojo-ASR-V1.5
AMI-Cleaned 7.26
Earnings22-Cleaned 5.90
Gigaspeech-Cleaned 7.33
LibriSpeech Clean 1.15
LibriSpeech Other 2.62
SPGISpeech 1.70
URGENT24 9.89
Voice Arena Monsoon 3.47
Voxpopuli-AA-Cleaned 2.03

Roadmap

  • release Hojo-ASR-V1 model and inference engine
  • support Mandarin, English, Cantonese, and Sichuan dialect
  • support multi-lingual and multi-dialect (Hojo-ASR-Multi-V1)
  • release Hojo-ASR-V1.5 model and inference engine

Commercial Support

We offer commercial support for teams integrating Hojo ASR into their products. This includes integration assistance, custom voice development, and enterprise licensing.

Contact us or email developer@hojoai.com to discuss your requirements.

Credits

Thanks to the following open-source works:

Licence

This project is open-sourced under the Apache 2.0 License, which can be freely used for academic research, personal projects, and commercial secondary development.