Giter VIP home page Giter VIP logo

deepspeech's Introduction

Effects of Layer Freezing on Transferring a Speech Recognition System to Under-resourced Languages

Link to paper: https://aclanthology.org/2021.konvens-1.19.pdf

Link to talk: https://youtu.be/xYqrwV2y2jc, Slides in this repository.

ACL Anthology: https://aclanthology.org/2021.konvens-1.19/

BibTeX:

@inproceedings{eberhard-zesch-2021-effects,
  title = {Effects of Layer Freezing on Transferring a Speech Recognition System to Under-resourced Languages},
  author = {Eberhard, Onno and Zesch, Torsten},
  booktitle = {Proceedings of the 17th Conference on Natural Language Processing (KONVENS 2021)},
  month = "6--9 " # sep,
  year = {2021},
  address = {D{\"u}sseldorf, Germany},
  publisher = {KONVENS 2021 Organizers},
  url = {https://aclanthology.org/2021.konvens-1.19},
  pages = {208--212}
}


This repository contains additional resources for the paper "Effects of Layer Freezing on Transferring a Speech Recognition System to Under-resourced Languages".

The steps taken for training the models are compiled in the file training.sh. The training and testing output logs can be found in the logs directory.

The modified versions of DeepSpeech that utilize layer freezing can be found at https://github.com/onnoeberhard/deepspeech-transfer, the different versions with the first N layers frozen are in the branches transfer-1 (N = 1), transfer-2 (N = 2), transfer (N = 3), transfer-lstm (N = 4) and transfer-5 (N = 5). The version where the fifth instead of the LSTM layer is frozen is in branch transfer-4.


For freezing the LSTM, some custom modification of TensorFlow had to be made. This version of DeepSpeech uses TensorFlow 1.15.2 and the LSTM (when training on GPU) is an instance of CudnnLSTM. To make this class freezable, we had to modify the method _create_saveable of the _CudnnRNN class by exchanging all instances of self.trainable_variables by self.trainable_variables if self.trainable else self.non_trainable_variables.

deepspeech's People

Contributors

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