Skip to content

ianpadovani/machine-translation-udacity

Repository files navigation

Machine Translation

In this notebook, I experimented with multiple architectures for machine translation. The first was simply an LSTM followed by a Dense layer. Next, an embedding layer was added to the beginning of this architecture. Thirdly, bidirectional LSTMs were used. Fourthly, an Encoder-Decoder architecture was trained. A final model combining many of these aspects (encoder-decoder, embedding layers and bidirectional LSTMs) was used.

Introduction

In this notebook, you will build a deep neural network that functions as part of an end-to-end machine translation pipeline. Your completed pipeline will accept English text as input and return the French translation.

Setup

This project requires GPU acceleration to run efficiently. Support is available to use either of the following two methods for accessing GPU-enabled cloud computing resources.

Udacity Workspaces (Recommended)

Udacity Workspaces provide remote connection to GPU-enabled instances right from the classroom. Refer to the classroom lesson for this project to find an overview of navigating & using Jupyter notebook Workspaces.

Amazon Web Services (Optional)

Please refer to the Udacity instructions for setting up a GPU instance for this project, and refer to the project instructions in the classroom for setup. The recommended AMI should include compatible versions of all required software and libraries to complete the project. link for AIND students

Install

  • Python 3
  • NumPy
  • TensorFlow 1.x
  • Keras 2.x

Submission

When you are ready to submit your project, do the following steps:

  1. Ensure you pass all points on the rubric.
  2. Submit the following in a zip file:
  • helper.py
  • machine_translation.ipynb
  • machine_translation.html

Converting to HTML

There are several ways to generate an HTML copy of the notebook:

  • Running the last cell of the notebook will export an HTML copy

  • Navigating to File -> Download as -> HTML (.html) within the notebook

  • Using nbconvert from the command line

    $ pip install nbconvert $ nbconvert machine_translation.ipynb

About

Udacity project. Machine translation from English to French on a toy dataset using a DNN with embedding and bidirectional RNN layers.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published