Skip to main content

hojo-asr

HOJO ASR inference library

The bundled WeNet-derived code lives under hojo_asr.wenet (not the top-level wenet package) to avoid import conflicts with the official WeNet project.

Installation

pip install hojo-asr

Install from source for development:

cd inference/hojo_asr
pip install -e .

Quick start

from hojo_asr import HOJO_ASR

model = HOJO_ASR.load_model("/path/to/model_folder", device="cuda:0")
results = model.run_infer(["/path/to/audio.wav"], batch_size=1)

for item in results:
    print(item["key"], item["text"])

The model folder should contain:

  • merged_full_model.safetensors
  • config.yaml
  • Subdirectories referenced in config.yaml

Publish to PyPI

cd inference/hojo_asr
python -m pip install build twine
python -m build
twine upload dist/*

Third-party notices

This package includes a trimmed subset of WeNet (Apache License 2.0). Some modules are also derived from ESPnet (Apache License 2.0).

See NOTICE for attribution and a summary of modifications to the bundled code under hojo_asr.wenet. This package is not the official WeNet distribution and does not install a top-level wenet module.

License

Copyright 2026 HojoAI.

Licensed under the Apache License, Version 2.0. See LICENSE and NOTICE for details.

Metadata

Release files for hojo-asr 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hojo-asr 0.1.3
File Size Uploaded
hojo_asr-0.1.3.tar.gz 52.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hojo-asr 0.1.3
File Interpreter ABI Platform
hojo_asr-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 120.4 kB

Release files / hojo_asr-0.1.3.tar.gz

Download URL hojo_asr-0.1.3.tar.gz
Size 52.1 kB
Tags Source
SHA-256 checksum
How to use checksums
d9499acbcfebb6881beb0ea46a5767199daabfd5b724a80757855cf198acacd7
BLAKE2b-256 checksum
How to use checksums
0be48f01fa4b59632beb4fbc6429ce0a4d2da48d3487ba34f4f9d0d432edf224
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.19

Release files / hojo_asr-0.1.3-py3-none-any.whl

Download URL hojo_asr-0.1.3-py3-none-any.whl
Size 68.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8c3e39b55b77ff60bb6232ede09375a4e799233452ee0cfd7a77558fd6e0780a
BLAKE2b-256 checksum
How to use checksums
150b31b2171194506cc7c161358bf95e4e22dbb2c3a2a471d68175d61492a19a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.19

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page