Skip to content

Latest commit

 

History

History
54 lines (41 loc) · 1.37 KB

README.md

File metadata and controls

54 lines (41 loc) · 1.37 KB

Wav2Vec ASR tool [RUSSIAN]

V0.2 Every main and child process now logs to SQLite DB or a console!

This app was created in research goals. Transcribes audifiles in Russian language. How it's works:

  1. Check config.yaml set your working directory for app and ouput directory:
#YAML EXAMPLE
# [directories settings]
working_dir: /media/ivan/Диск/WAV2VEC_WD
output_dir: /media/ivan/Диск/WAV2VEC_OUTPUT

# [transcriber settings]
model: #large-v2 # 'tiny' by default if blank (Whisper model settings)

# [multiple GPU support]
devices:
  - cpu
  # set your cuda devices:  #- cuda:0
                            #- cuda:1 
  # OR
  #set blank if CPU (set same device multiple times to spawn more workers:   #- cpu
                                                                             #- cpu)

# [logging settings]
logs_to_db: True # False
logs_db_path: /media/ivan/Диск/WAV2VEC_DB # set path where to store SQLite DB if logs_to_db = True| else None
  1. Create venv and activate:
python -m venv .venv

and install dependecies:

pip install -r requirements.txt
  1. start main.py
python main.py

this will start necessary daemons. IMPORTANT -- closing main process kills daemons.

  1. Paste audiofile into working_dir you set.

  2. Wait for results in output_dir you set.

Additions:

Example of SQLite DB