Skip to main content

No project description provided

Project description

Yodi

This is the official repository for YodiV1, the speech recognition model for 10 words, in Ewè. The Yodi package is also useful for rapid inference on speech data, especially on the mini_speech datasets.

Yodi, Your Speech Recognition Model

Welcome to the Yodi Model! This model is designed to perform inference on audio files, providing a prediction of the audio command. Visit our Hugging Face page or contact contact@umbaji.org to access your model now !

Requirements

This project requires Python 3.6 or later. To install all the necessary packages run:

pip install -r requirements.txt

Project Contents

This project contains the following files:

  • yodi.py: The main Python script where the model is defined and used for prediction.

How to Run

Clone the repo (if installing via git):

git clone https://github.com/Umbaji/Yodi.git

Navigate to the cloned directory.

Run the script in the terminal:

python Yodi.py

Usage

First, make sure you load your audio into the appropriate test folder.

The Yodi class in yodi.py is initialized with the following parameters:

  • file_path: The path to the audio file for prediction.
  • version: The version of the model to use (default is “1”).
  • local: Whether to load the model locally or from a URL (default is True).
  • plot_specs: Whether to plot the inference results (default is False). After initializing a Yodi object, call the predict_from_path() method to get the prediction for the audio command.

You can also use it to train our model via the umni_speech dataset avaible on our github page :https://github.com/Umbaji/umni_speech

Example

Example

from pathlib import Path

if __name__ =="__main__":
    
DATASET_PATH = '~/umini_speech/test_set/'
data_dir = pathlib.Path(DATASET_PATH)

if not data_dir.exists():
        print("Dowload the test_set folder from the repo: https://github.com/Umbaji/Yodi.git")
        pass
        
yodi_instance = Yodi(file,version = "1", local = True,plot_specs = "True")
yodi_instance.predict_from_path()

If Yodi misses the prediction on your input that means that it has not enough data !

Contribute to leverage afircan language model by adding your input audio to our umini_speech dataset here : https://github.com/Umbaji/umni_speech

License

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

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

yodi_umbaji-0.5.6.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yodi_umbaji-0.5.6-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file yodi_umbaji-0.5.6.tar.gz.

File metadata

  • Download URL: yodi_umbaji-0.5.6.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.14

File hashes

Hashes for yodi_umbaji-0.5.6.tar.gz
Algorithm Hash digest
SHA256 868eec574d2aaa66d2f9f16cf9c9ed285f890c74bc1cf0790419d9a2aa0fed28
MD5 cda36361995655d67d930411482c26ff
BLAKE2b-256 27ef4a237d487a6b007925ee936381d1cbb90942c4b63227885ad7531fba2f47

See more details on using hashes here.

File details

Details for the file yodi_umbaji-0.5.6-py3-none-any.whl.

File metadata

  • Download URL: yodi_umbaji-0.5.6-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.14

File hashes

Hashes for yodi_umbaji-0.5.6-py3-none-any.whl
Algorithm Hash digest
SHA256 e54739a3ddb7f1763a0600d65a2937c0c20e460ea2e3f80fe8425d2a3137186b
MD5 fe97a4eec5527eda96c7af2e296b6961
BLAKE2b-256 f9dda90eab14897e428f64f712e7d3177a621142788402ebbfdf58303429027d

See more details on using hashes here.

Supported by

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