Code Monkey home page Code Monkey logo

improving-seq-2-seq's Introduction

A better Seq2Seq Implementation

Introduction:

Through this report we are generating an English to French translation using the seq2seq model without and with attention mechanism – a breakthrough concept that allows the model to dynamically focus on different parts of the input sequence while generating the output. Unlike a transformer layer, our goal is to implement attention as an augmentation to the existing Seq2Seq architecture, enhancing its ability to capture dependencies and nuances in the source language.

Platform and version:

  python 3.10.9 
      tensor flow 2.13.0 

Required Python Libraries :

numpy
tensorflow
keras - pad_sequences
keras -Tokenizer
keras - LSTM, GRU, Dense, Embedding
Pillow
tqdm
matplotlib
scikit-learn

Model Generation:

Initially, we choose a target language for translation, ensuring the availability of a suitable parallel dataset for training and evaluation. We have chosen the language French for this assignment. We have received the sentence pairs from “manythings.org” portal. We evaluated the performance using the seq2seq model with and without attention. We have used Glove 50 embeddings which are not included in the submission folder. The notebook is well formatted and best viewed in Google Colab

Declaration

Project submitted towards the partial procurement of credits for CS747 Deep Learning at GMU under Professor Daniel Barbara

improving-seq-2-seq's People

Contributors

pratishmashankar avatar

Watchers

 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.