GithubHelp home page GithubHelp logo

kaushambisharma / hindi-to-english-transliteration-using-seq2seq-encoding Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mahajantarun/hindi-to-english-transliteration-using-seq2seq-encoding

0.0 0.0 0.0 195 KB

A sequence to sequence model for Hindi to English transliteration, that uses attention mechanism.

Jupyter Notebook 74.73% Python 25.27%

hindi-to-english-transliteration-using-seq2seq-encoding's Introduction

"# Hindi-to-English-Transliteration-using-Seq2Seq-encoding"

Neural machine translation with Attention mechanism.

We will transliterate Hindi text into English using Sequence to Sequence model.

To learn more about seq2seq model to implement encoder-decoder with attention, you can refer to this tutoril : https://github.com/tensorflow/nmt

To explain in shor:

Attention is a mechanism combined in the RNN (Recursive Neural Network) allowing it to focus on certain parts of the input sequence when predicting a certain part of output sequence, enabling easier learning and of higher quality.

It improves performance of RNN networks.

The existing problem with RNN network architecture is that the decoder needs to represent the entire input sentence as a single vector. This can cause information loss. Moreover, the decoder need to decipher the passed information from this single vector which is a complex task in itself.

https://www.tensorflow.org/images/seq2seq/attention_mechanism.jpg

"A potential issue with this encoder–decoder approach is that a neural network needs to be able to compress all the necessary information of a source sentence into a fixed-length vector. This may make it difficult for the neural network to cope with long sentences, especially those that are longer than the sentences in the training corpus."

"Using Attention mechanism, the context vector enables the decoder to focus on certain parts of the input when predicting its output."

For deeper understanding of Attention mechanism, you can visit : https://medium.com/datadriveninvestor/attention-in-rnns-321fbcd64f05 You can also refer : https://towardsdatascience.com/intuitive-understanding-of-attention-mechanism-in-deep-learning-6c9482aecf4f

hindi-to-english-transliteration-using-seq2seq-encoding's People

Contributors

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