Coder Social home page Coder Social logo

eddiegulay / swahili-asr-api Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 10 KB

Javascript inference code to finetuned whispher model with mozilla common voice

Home Page: https://huggingface.co/eddiegulay/Whisperer_Mozilla_Sw_2000

License: Apache License 2.0

JavaScript 58.94% HTML 24.16% Python 16.90%
asr common-voice swahili tanzania transcription transcription-api swahili-asr

swahili-asr-api's Introduction

Swahili-ASR-API

Python & Javascript inference code to finetuned whispher model with mozilla common voice

Note: The code in here work with finetuned model on swahili common voice dataset. The model is available at Whisperer_Mozilla_Sw_2000.

How to use

Just clone the repo and select the language you want to use. The code is written in python and javascript. The python code is used to run inference on the model using requests module and the javascript code is used to run the inference on the browser.

Javascript Web Inference

For direct browser inference check web folder. It contain simple HTML file index.html that will allow you to upload file and get transcription.

Javascript ~Node Inference

For node inference check src/index.js. It contain js request snippet that will allow you to specify file location, make RESTful request and get transcription.

Python Inference

For python inference check python/inference.py. It contain python code that will allow you to specify file location, make RESTful request and get transcription.

Important

Those Inference codes can be found in huggingface repository for the model and also you might want to get access token to use them. I'm totally cool to share the token with you. Just contact me on

swahili-asr-api's People

Contributors

eddiegulay avatar

Stargazers

 avatar

Watchers

 avatar

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.