HOJO ASR inference library
Project description
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.safetensorsconfig.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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hojo_asr-0.1.2.tar.gz.
File metadata
- Download URL: hojo_asr-0.1.2.tar.gz
- Upload date:
- Size: 52.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3b7138474a8a0eb6b3bf69f7efa5ad0c1cbe3f667abd9878dfce1c871a66150
|
|
| MD5 |
73934c0c4d509cf7bb567419373fb9c7
|
|
| BLAKE2b-256 |
c90fa4ae27d4d0ae9baf0d5bb406fd532cc518f137ec92162f2e6964eb0e6a87
|
File details
Details for the file hojo_asr-0.1.2-py3-none-any.whl.
File metadata
- Download URL: hojo_asr-0.1.2-py3-none-any.whl
- Upload date:
- Size: 68.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3edf07a4b05ee5c4a7754dd70dd439472895fe62c9c596328b54b8f6e223b61
|
|
| MD5 |
277117da9316cc00799fe60cefd4ff8b
|
|
| BLAKE2b-256 |
68fd2d21c2f618f744b626ffd8769aa0dacfe983c68c42dac2f4048381c3da6e
|