Skip to main content

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hojo_asr-0.1.1.tar.gz (49.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hojo_asr-0.1.1-py3-none-any.whl (64.9 kB view details)

Uploaded Python 3

File details

Details for the file hojo_asr-0.1.1.tar.gz.

File metadata

  • Download URL: hojo_asr-0.1.1.tar.gz
  • Upload date:
  • Size: 49.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for hojo_asr-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1458e2058b11e12bb0f65ee84c0fe60b755a44fa50e974a0a20738a4ab1232dc
MD5 9e8ac186c920d711ddead36150948f91
BLAKE2b-256 7d070995f4eda2abf29ce0bde101fdc99472ba76bbbf221c30b2a870385fc49a

See more details on using hashes here.

File details

Details for the file hojo_asr-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: hojo_asr-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 64.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for hojo_asr-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c08bcfb05644d621b16be14eb285583965958216ad836b244c350fae2cecfe0c
MD5 d74e2c27ec56280c931b5b75c12c85c3
BLAKE2b-256 edb2999ed9abd59e90dd50b117ed1ce96807834d41e870d3b7bfd74b0f58af47

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page