Skip to main content

A framework for fast fine-tuning and API endpoint deployment of Whisper model specifically developed to accelerate Automatic Speech Recognition(ASR) for African Languages.

Project description

African Whisper: ASR for African Languages

Twitter Last commit License

Framework for seamless fine-tuning and deploying Whisper Model developed to advance Automatic Speech Recognition (ASR): translation and transcription capabilities for African languages.

Features

  • 🔧 Fine-Tuning: Fine-tune the Whisper model on any audio dataset from Huggingface, e.g., Mozilla's Common Voice, Fleurs, LibriSpeech, or your own custom private/public dataset etc

  • 📊 Metrics Monitoring: View training run metrics on Wandb.

  • 🐳 Production Deployment: Seamlessly containerize and deploy the model inference endpoint for real-world applications.

  • 🚀 Model Optimization: Utilize CTranslate2 for efficient model optimization, ensuring faster inference times.

  • 📝 Word-Level Transcriptions: Produce detailed word-level transcriptions and translations, complete with timestamps.

  • 🎙️ Multi-Speaker Diarization: Perform speaker identification and separation in multi-speaker audio using diarization techniques.

  • 🔍 Alignment Precision: Improve transcription and translation accuracy by aligning outputs with Wav2vec models.

  • 🛡️ Reduced Hallucination: Leverage Voice Activity Detection (VAD) to minimize hallucination and improve transcription clarity.


The framework implements the following papers:
  1. Robust Speech Recognition via Large-Scale Weak Supervision : Speech processing systems trained to predict large amounts of transcripts of audio on the internet scaled to 680,000 hours of multilingual and multitask supervision.

  2. WhisperX: Time-Accurate Speech Transcription of Long-Form Audio for time-accurate speech recognition with word-level timestamps.

  3. Pyannote.audio: Neural building blocks for speaker diarization for advanced speaker diarization capabilities.

  4. Efficient and High-Quality Neural Machine Translation with OpenNMT: Efficient neural machine translation and model acceleration.

For more details, you can refer to the Whisper ASR model paper.

Documentation

Refer to the Documentation to get started

Contributing

Contributions are welcome and encouraged.

Before contributing, please take a moment to review our Contribution Guidelines for important information on how to contribute to this project.

If you're unsure about anything or need assistance, don't hesitate to reach out to us or open an issue to discuss your ideas.

We look forward to your contributions!

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

For any enquiries, please reach out to me through keviinkibe@gmail.com

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

africanwhisper-0.9.21.tar.gz (60.5 kB view details)

Uploaded Source

Built Distribution

africanwhisper-0.9.21-py3-none-any.whl (65.2 kB view details)

Uploaded Python 3

File details

Details for the file africanwhisper-0.9.21.tar.gz.

File metadata

  • Download URL: africanwhisper-0.9.21.tar.gz
  • Upload date:
  • Size: 60.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for africanwhisper-0.9.21.tar.gz
Algorithm Hash digest
SHA256 453b7493ff7d4fa8ecba424108598bf49a35784cf1ac56f3d210306a4dae2ce5
MD5 cc1000a425882fba3bf3127d3b863ce1
BLAKE2b-256 7dc27e50572423a884abf08826576a2481718e59184d4f3af475f53217a1f17c

See more details on using hashes here.

File details

Details for the file africanwhisper-0.9.21-py3-none-any.whl.

File metadata

File hashes

Hashes for africanwhisper-0.9.21-py3-none-any.whl
Algorithm Hash digest
SHA256 28a9e1c8487201bc28cedf41a2c6065a03a49596e8b9cd78cb90587f90e99226
MD5 ac96da7f8b0ac87e5b9445c27945b838
BLAKE2b-256 61bde1631216dfa8fa313fc5d6041fd4103d49a996e05969eefe3bb68df9b945

See more details on using hashes here.

Supported by

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