Code Monkey home page Code Monkey logo

asr-nepali-using-cnn-bilstm-resnet's Introduction

Automatic Speech Recognition for the Nepali Language using CNN, Bidirectional LSTM and, ResNet

Keywords

Speech To Text, Nepali, CNN, ResNet, BiLSTM, CTC

Intorduction

This repo is a part of the research project for designing the automatic speech recogntion(ASR) model for Nepali language using ML techniques. The conference for this paper has been published in 2022 International Conference on Inventive Computation Technologies (2022 ICICT).

Things to consider before

  • You are free to use this research as a reference and make modifications to continue your own research in Nepali ASR.
  • The trainer.py has been implemented to run on the sampled data for now. To replicate the result please replace dataset directory with original OpenSLR dataset.
  • Please remove the (audio, text) pairs that include Devnagari numeric texts like १४२३, ५९२, etc from the dataset because they degrade the performance of the model.

Our approach

  1. Remove the (audio, text) pairs that include Devnagari numeric transcriptions
  2. Data cleaning (clipping silent gaps from both ends)
  3. MFCC feature extraction from audio data
  4. Design Neural Network (optimal: CNN + ResNet + BiLSTM) model
  5. Calculate CTC loss for applying gradient (training)
  6. Decode the texts by using beam search decoding (infernce)

Architecture

Res_block

Model

Running the project

  1. Initialize the virtual environment by installing packages from requirements.txt.
  2. Run the training pipeline & evaluate authors model, which can be also be used to evaluate your own (audio,text) pairs.
python trainer.py   # For running the training pipeline
python eval.py      # For testing and evaluating the model already trained by the author

Results

Models and Their character error rate (CER) on Test Data (5% of Total Data.)

Model Test Data CER # Params
BiLSTM 19.71% 1.17M
1D-CNN + BiLSTM 24.6% 1.55M
1D-CNN + ResNet + BiGRU 29.6% 1.30M
✓ 1D-CNN + ResNet + BiLSTM ✓ 17.06% ✓ 1.55M
1D-CNN + ResNet + LSTM 30.27% 0.88M

Cite this paper

The bibtex for citing this paper:

@inproceedings{dhakal2022automatic,
  title={Automatic speech recognition for the Nepali language using CNN, bidirectional LSTM and ResNet},
  author={Dhakal, Manish and Chhetri, Arman and Gupta, Aman Kumar and Lamichhane, Prabin and Pandey, Suraj and Shakya, Subarna},
  booktitle={2022 International Conference on Inventive Computation Technologies (ICICT)},
  pages={515--521},
  year={2022},
  organization={IEEE}
}

For any queries email the author here.

asr-nepali-using-cnn-bilstm-resnet's People

Contributors

manishdhakal avatar

Stargazers

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

Watchers

 avatar  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.