Git Product home page Git Product logo

seq2seq-language-translation's Introduction

Sequence to Sequence Language Translation

Using a sequence to sequence RNN model to translate sentences from English to French. The dataset is text files of ~140,000 fairly simple sentences in English and in French.

This is Project 4 of Udacity's Deep Learning Nanodegree Foundation. The aim of the project is to go through the process of implementing a sequence to sequence model in TensorFlow by building the encoder and decoder architectures, and finally be able to translate simple English sentences to French.

Files

Jupyter Notebook

Hyperparameters

Hyperparameter Number
Epochs 30
Batch size 256
RNN size 100
LSTM layers 2
Encoding embedding size 100
Decoding embedding size 100
Learning rate 0.001
Keep probability 0.9

seq2seq-language-translation's People

Contributors

nehal96 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

seq2seq-language-translation's Issues

dynamic_rnn_decoder

Hi Nehal,

Thanks for your repo. I am trying to run this model, but getting following error. Can you kindly suggest alternative. I am using latest tensorflow. Version 1.4.0.
AttributeError: module 'tensorflow.contrib.seq2seq' has no attribute 'dynamic_rnn_decoder'

Thanks in advance

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.