This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Reason given by maintainers: Deprecated / no longer maintained
fujielab-asr-parallel-cbs
Parallel CBS Transformer based ASR system built on ESPnet
Overview
fujielab-asr-parallel-cbs is an automatic speech recognition (ASR) system based on ESPnet, featuring a parallelizable Contextual Block Streaming (CBS) Transformer.
Features
- Implementation of a parallel CBS Transformer encoder extending the ESPnet framework
- Supports online and streaming ASR inference
- Pretrained models available via Hugging Face
- Example script for chunk-by-chunk streaming recognition
Requirements
- Python 3.11
torch,torchaudio, and other packages listed inrequirements.txt
Installation
PyPI Installation
You can install the package directly from PyPI:
pip install fujielab-asr-parallel-cbs
Local Installation
- Install the dependencies and this package:
pip install -r requirements.txt pip install -e .
If you skip installing the package, running the examples may fail withModuleNotFoundError. Alternatively, you can setPYTHONPATH=$(pwd)before executing the scripts. - If there are additional dependencies, please refer to
pyproject.toml.
Usage
Example: Running Inference
You can perform inference from an audio file using examples/run_streaming_asr.py:
python examples/run_streaming_asr.py
The script streams the input audio in 100 ms chunks and prints partial
results. At the first run it downloads a small example audio (aps-smp.mp3)
from the CSJ corpus and a pretrained model from Hugging Face. When the
recognition finishes successfully, the final transcript is displayed at the end
of the log.
Directory Structure
fujielab/asr_parallel_cbs/espnet_ext/: ESPnet extension implementationespnet/: Extensions for ESPnet1espnet2/: Extensions for ESPnet2 (ASR, transducer, joint network, etc.)
examples/: Sample audio and inference scriptswarprnnt_pytorch/: Dummy module for warprnnt_pytorch
License
This repository is released under the Apache License 2.0.
Acknowledgements
This project is based on the ESPnet framework and incorporates contributions from various open-source projects. We thank the ESPnet team and contributors for their work.
Metadata
Release files for fujielab-asr-parallel-cbs 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fujielab_asr_parallel_cbs-0.1.1.tar.gz | 46.3 kB | Without provenance | Details for fujielab_asr_parallel_cbs-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fujielab_asr_parallel_cbs-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for fujielab_asr_parallel_cbs-0.1.1-py3-none-any.whl |
Total release size: 91.7 kB
Release files / fujielab_asr_parallel_cbs-0.1.1.tar.gz
| Download URL | fujielab_asr_parallel_cbs-0.1.1.tar.gz |
|---|---|
| Size | 46.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3133ce02a5000fc9adb8ca01bb3ffebea3041b841c4d4f0440a0abbf64e327bc
|
|
BLAKE2b-256 checksum How to use checksums |
7f7b45fff70b717d426f16b1ecf17354313be697ba249cd77278391b467f3871
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.13
|
Release files / fujielab_asr_parallel_cbs-0.1.1-py3-none-any.whl
| Download URL | fujielab_asr_parallel_cbs-0.1.1-py3-none-any.whl |
|---|---|
| Size | 45.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
44d351dd45f10800961964f9fb655cef233cf20088a4aca9c67bc7b6f6bea16d
|
|
BLAKE2b-256 checksum How to use checksums |
9085f511046d0145e8c9781f87f33a08078ebc94f41d6229e75adc1491711bac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.13
|
Security for fujielab-asr-parallel-cbs 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.