Skip to main content

:brazil: Versão Português Brasileiro

Asrbench-Cli

Introduction

ASRBench CLI is a complementary tool to the ASRBench framework, designed to simplify the execution of audio transcription system benchmarks directly from the command line.

With it, you can:

  • Use the most popular transcription systems on the market.
  • Add new customized transcription systems.
  • Run benchmarks simply, using just one configuration file.

Installation

To install ASRBench, all you need is Python 3.12+ and pip. Use the command below to install the latest version:

pip install asrbench-cli

[!NOTE] The list of project dependencies is available in the file pyproject.toml

Usage

The CLI requires a configuration file to work, in the same format as the framework. benchmark environment, defining datasets, transcribers and output parameters in a simple and declarative way. declarative. For more details on the structure of the configuration file, go to documentation.

Below is an example of the configuration file structure:

# data output configuration
output:
  type: "csv"
  dir: "./results"
  filename: "example_filename"

# datasets configuration
datasets:
  dataset1:
    audio_dir: "resources/common_voice_05/wav"
    reference_dir: "resources/common_voice_05/txt"

# transcription system configuration
transcribers:
  faster_whisper_medium_int8:
    asr: "faster_whisper"
    model: "medium"
    compute_type: "int8"
    device: "cpu"
    beam_size: 5
    language: "en"  

With the configuration file in hand, just run the command:

asrbench-cli run path/to/configfile.yml

The CLI will read the configuration file, set up the benchmark and run it automatically. All progress and steps will be displayed directly in the terminal, including the percentage of completion and a time estimate for the completion of each stage of the transcription process.

[!TIP] For a complete list of available commands and instructions for more advanced uses, see documentation.

License

Distributed under the MIT license. See the LICENSE file for more details.

Metadata

Release files for asrbench-cli 0.1.0

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

Source distribution (sdist)

Source distribution for asrbench-cli 0.1.0
File Size Uploaded
asrbench_cli-0.1.0.tar.gz 7.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for asrbench-cli 0.1.0
File Interpreter ABI Platform
asrbench_cli-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 19.1 kB

Release files / asrbench_cli-0.1.0.tar.gz

Download URL asrbench_cli-0.1.0.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9ffcb0936ed920e155324211743bdd65c87f7fcc5d5605580fc0ab6ac0fbec0f
BLAKE2b-256 checksum
How to use checksums
f772a2a46bfceaa60863725eacd28c3b757e6d4f05b430412d2547257aa0d1b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.12.10 Windows/11

Release files / asrbench_cli-0.1.0-py3-none-any.whl

Download URL asrbench_cli-0.1.0-py3-none-any.whl
Size 11.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
964f38340d37d820091a1e7dedf182e91d08c8c3e5dcef9f6bd0566ec1d58269
BLAKE2b-256 checksum
How to use checksums
263d817d30522fa82f01d3e4ed82076f0baf3b8f9c533f4ed88560b979897230
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.12.10 Windows/11

Release history Release notifications | RSS feed

This release

0.1.0 This release

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