Skip to content
Proyectos

Acerca de

Hojo-ASR es un modelo de reconocimiento de voz de alto rendimiento basado en un decodificador LLM.

IA y aprendizaje automático

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
0
in 7 days
0
in 15 days
-1
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

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, 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

The easiest way to use Hojo-ASR is to install the hojo_asr_fa Python package from PyPI.

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

Requires Linux, an NVIDIA Ampere/Ada/Hopper GPU, and FFmpeg shared libraries. Building Flash Attention also requires CUDA toolkit 12.0+ and a C++ compiler.

Install CUDA-enabled PyTorch and TorchAudio before Flash Attention and the inference library:

pip install "torch>=2.9.1,<2.10" "torchaudio>=2.9.1,<2.10" --index-url https://download.pytorch.org/whl/cu128
pip install "setuptools>=77.0.0" wheel packaging ninja
MAX_JOBS=1 NVCC_THREADS=1 pip install "flash-attn>=2.8.3,<2.9" --no-build-isolation
pip install -U hojo_asr_fa

Sample Usage

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)
args = parser.parse_args()

model = HOJO_ASR.load_model("HojoAI/Hojo-ASR-V1.5", 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 [email protected] 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.

Explorar proyectos relacionados

Cargando…