Giter Site home page Giter Site logo

kevkibe / african-whisper Goto Github PK

View Code? Open in Web Editor NEW
15.0 2.0 2.0 62.8 MB

๐Ÿš€ Framework for seamless fine-tuning of Whisper model on a multi-lingual dataset and deployment to prod.

Home Page: https://kevkibe.github.io/African-Whisper

License: MIT License

Dockerfile 0.22% Python 99.72% Makefile 0.06%
asr speech speech-recognition speech-to-text speech-transcription speech-translation whisper

african-whisper's People

Contributors

dependabot[bot] avatar kevkibe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

african-whisper's Issues

Enhancement: Add tag for installing just deployment dependencies.

Description:

Adding a tag for installing only the deployment dependencies of the "AfricanWhisper" package.

Problem:

The current installation process for the "AfricanWhisper" package installs all modules, including those required for training and deployment.
A lightweight installation containing only the deployment dependencies to reduce package size and avoid unnecessary dependencies is optimal.

Solution:

To address this issue, introducing a tag, such as [deployment], that users can append to the package name when installing via pip.
For example:

  • pip install africanwhisper installs the entire package, including training and deployment modules.
  • pip install africanwhisper[deployment] installs only the components necessary for deployment, excluding training-related dependencies.

Feature: PEFT FInetuning

Allow users to either fully fine-tune their models or use PEFT to fine-tune a portion of the parameters

Bug: Error installing package on Kaggle.

Bug

  • Installing africanwhisper[training], africanwhisper[deployment] or africanwhisper[all] on Kaggle raises the error below:
ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/opt/conda/lib/python3.10/site-packages/aiohttp-3.9.1.dist-info/METADATA'

Solution

  • Execute this command before installing the package
!rm /opt/conda/lib/python3.10/site-packages/aiohttp-3.9.1.dist-info -rdf

Enhancement: Use Terraform for deployment in Google VM, AWS EC2 Instance

Description:

Terraform files into our deployment process to facilitate the provisioning and management of infrastructure resources on Google Cloud Platform (GCP) VMs and Amazon Web Services (AWS) EC2 Instances.

Problem:

Deployment process for provisioning infrastructure resources on GCP VMs and AWS EC2 Instances may involve manual steps or scripts, which can be error-prone, time-consuming, and difficult to maintain.

Proposed Solution:

  • Integrating Terraform into our deployment workflow, to automate the provisioning and configuration of infrastructure resources on GCP VMs and AWS EC2 Instances

`deployment.speech_inference` module not working.

The example using deployment.speech_inference module is not working, on the python package distribution.
You will get this error working on a notebook.

ModuleNotFoundError: No module named 'deployment.faster_whisper'

Just a build problem and it will be fixed a couple of hours from now.
You can use the deployment.speech_inference module on the CLI regardless, follow the steps here

Bug: Investigate model saving twice in Notebook run.

  • Training run with parameter processing_task= "automatic-speech-recognition" saves the model twice with one directory named /content/automatic-speech-recognition and another /content/transcribe with the same content.
  • Investigate the prepare_model method and the trainer.train.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.