Giter VIP home page Giter VIP logo

deterministic-algorithms-lab / back-2-back-translation Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 1.0 428 KB

An attempt to make Back-Translation differentiable, using probability weighted embeddings for predicted translations in the nucleus of the predicted distribution over target language sentences.

License: MIT License

Python 94.30% Jupyter Notebook 5.70%
nmt transformer back-translation xlm

back-2-back-translation's Introduction

Back-2-Back Translation

Dataset

The dataset used is WMT-14 en-de .

Model

Back2Back

Training

See colab notebook

Results

Learning from Explanations with Neural Execution Tree

back-2-back-translation's People

Contributors

jeevesh8 avatar rachitbansal avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

rachitbansal

back-2-back-translation's Issues

Which embeddings to use for target data of transformer decoder while pll training ?

We are currently using entire XLM to embed our target sequence in case of training on parallel data. On the other hand, during evaluation and mono-lingual training we only use the initial embedding layers of XLM to encode.

  1. We could either use full XLM to embed target sequences while training(It won't take much time as we have moved over the need to calculate the embedding for each word in dictionary).

  2. Or we could use only initial embeddings of XLM for target sequences while training on parallel data too.

What do you want to try first? Which one do you think will give better results? Or let's continue with this mismatch that is currently there?

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.