Voltar ao ranking

TensorSpeech/TensorFlowASR

Pythonhuylenguyen.com/asr

:zap: TensorFlowASR: Almost State-of-the-art Automatic Speech Recognition in Tensorflow 2. Supported languages that can use characters or subwords

automatic-speech-recognitiondeepspeech2speech-recognitionspeech-to-texttensorflow2rnn-transducerconformertflitetflite-modeltflite-convertionctctensorflow
Crescimento de estrelas
Estrelas
1k
Forks
239
Crescimento semanal
Issues
47
5001k
mai. de 2020mai. de 2022jun. de 2024jul. de 2026
ArtefatosPyPIpip install tensorflowasr
README

TensorFlowASR :zap:

GitHub python tensorflow PyPI

Almost State-of-the-art Automatic Speech Recognition in Tensorflow 2

TensorFlowASR implements some automatic speech recognition architectures such as DeepSpeech2, Jasper, RNN Transducer, ContextNet, Conformer, etc. These models can be converted to TFLite to reduce memory and computation for deployment :smile:

What's New?

Table of Contents

:yum: Supported Models

Baselines

  • Transducer Models (End2end models using RNNT Loss for training, currently supported Conformer, ContextNet, Streaming Transducer)
  • CTCModel (End2end models using CTC Loss for training, currently supported DeepSpeech2, Jasper)

Publications

Installation

For training and testing, you should use git clone for installing necessary packages from other authors (ctc_decoders, rnnt_loss, etc.)

NOTE ONLY FOR APPLE SILICON: TensorFlowASR requires python >= 3.12

See the requirements.[extra].txt files for extra dependencies

git clone https://github.com/TensorSpeech/TensorFlowASR.git
cd TensorFlowASR
./setup.sh [apple|tpu|gpu] [dev]

Running in a container

docker-compose up -d

Training & Testing Tutorial

FYI: Keras builtin training uses infinite dataset, which avoids the potential last partial batch.

See examples for some predefined ASR models and results

Features Extraction

See features_extraction

Augmentations

See augmentations

TFLite Convertion

After converting to tflite, the tflite model is like a function that transforms directly from an audio signal to text and tokens

See tflite_convertion

Pretrained Models

See the results on each example folder, e.g. ./examples/models//transducer/conformer/results/sentencepiece/README.md

Corpus Sources

English

Name Source Hours
LibriSpeech LibriSpeech 970h
Common Voice https://commonvoice.mozilla.org 1932h

Vietnamese

Name Source Hours
Vivos https://ailab.hcmus.edu.vn/vivos 15h
InfoRe Technology 1 InfoRe1 (passwd: BroughtToYouByInfoRe) 25h
InfoRe Technology 2 (used in VLSP2019) InfoRe2 (passwd: BroughtToYouByInfoRe) 415h
VietBud500 https://huggingface.co/datasets/linhtran92/viet_bud500 500h

How to contribute

  1. Fork the project
  2. Install for development
  3. Create a branch
  4. Make a pull request to this repo

References & Credits

  1. NVIDIA OpenSeq2Seq Toolkit
  2. https://github.com/noahchalifour/warp-transducer
  3. Sequence Transduction with Recurrent Neural Network
  4. End-to-End Speech Processing Toolkit in PyTorch
  5. https://github.com/iankur/ContextNet

Contact

Huy Le Nguyen

Email: nlhuy.cs.16@gmail.com

Repositórios relacionados
wenet-e2e/wenet

Production First and Production Ready End-to-End Speech Recognition Toolkit

PythonPyPIApache License 2.0e2e-modelspytorch
wenet-e2e.github.io/wenet/
5.2k1.2k
ahmetoner/whisper-asr-webservice

OpenAI Whisper ASR Webservice API

PythonPyPIMIT Licenseautomatic-speech-recognitionspeech-recognition
ahmetoner.github.io/whisper-asr-webservice
3.3k580
zzw922cn/awesome-speech-recognition-speech-synthesis-papers

Automatic Speech Recognition (ASR), Speaker Verification, Speech Synthesis, Text-to-Speech (TTS), Language Modelling, Singing Voice Synthesis (SVS), Voice Conversion (VC)

MIT Licenseautomatic-speech-recognitionpapers
3.1k515
zzw922cn/Automatic_Speech_Recognition

End-to-end Automatic Speech Recognition for Madarian and English in Tensorflow

PythonPyPIMIT Licenseautomatic-speech-recognitiontensorflow
2.8k536
coqui-ai/STT

🐸STT - The deep learning toolkit for Speech-to-Text. Training and deploying STT models has never been so easy.

C++Mozilla Public License 2.0sttspeech-to-text
coqui.ai
2.6k299
FluidInference/FluidAudio

Frontier CoreML audio models in your apps — text-to-speech, speech-to-text, voice activity detection, and speaker diarization. In Swift, powered by SOTA open source.

SwiftApache License 2.0coremlios
docs.fluidinference.com/introduction
2.5k352
TEN-framework/ten-vad

Voice Activity Detector (VAD) : low-latency, high-performance and lightweight

COtherconversational-aireal-time
huggingface.co/TEN-framework/ten-vad
2.2k174
FireRedTeam/FireRedASR

Open-source industrial-grade ASR models supporting Mandarin, Chinese dialects and English, achieving a new SOTA on public Mandarin ASR benchmarks, while also offering outstanding singing lyrics recognition capability.

PythonPyPIApache License 2.0asrindustrial-grade
1.9k164
AutoArk/GPA

[AutoArk] GPA (General Purpose Audio) can do ASR, TTS and voice conversion with one tiny model!

PythonPyPIApache License 2.0automatic-speech-recognitiontext-to-speech
autoark.github.io/GPA/
1.4k119
kakaobrain/pororo

PORORO: Platform Of neuRal mOdels for natuRal language prOcessing

PythonPyPIApache License 2.0deep-learningnatural-language-processing
kakaobrain.github.io/pororo
1.3k217