Coder Social home page Coder Social logo

cambridgeltl / ecnmt Goto Github PK

View Code? Open in Web Editor NEW
13.0 6.0 3.0 2.87 MB

Emergent Communication Pretraining for Few-Shot Machine Translation

Home Page: https://github.com/cambridgeltl/ECNMT

Shell 0.20% Python 99.80%
emergent-communication pretraining machine-translation pytorch inductive-biases nlp

ecnmt's Issues

EC pretraining model generates short sentences and has poor accuracy

Hi, I am re-running the ECPRETRAIN script and trying to reproduce the results.

However, I found the model tends to generate very short sentences as the training goes on:
image
This seems to be not aligned with the description in the paper.

Besides, it seems that we only save a model when it reaches 99% accuracy, however, none of the training epoch reaches that in my experiment.

I try to reproduce the environment, however, I found that Pytorch 1.3.1 does not seem to be available on Pytorch's official webpage anymore, so I use Pytorch 1.6 instead. I do not know whether this could be the reason. Any insight here would be helpful.

EC pretraining prediction accuracy collapses after achieving 99+% accuracy.

Hi,
I am trying to run the ECPRETRAINING script with default hparams. The model is able to reach 99% accuracy in 4k epochs but after that the prediction accuracy collapses. I am unable to find any bug in the code that might be causing this. I have attached the training logs for the same

Reaching 99%
image

Collapse to 0%
image

Full log
log.log

It would great if you could help resolve this issue.
Thanks.

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.