Giter VIP home page Giter VIP logo

rl4nmt's People

Contributors

apeterswu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rl4nmt's Issues

Data Preps for training ?

I went through tensor2tensor and looked for data generation but couldn't find the problem which will prep the data for training for your code, zh-en is not supported. Can you please help?
The script says that putting _rev will make the data for zh-en task but it does not work.Only en-zh work, So ?

Basleine Training

In the paper you maintained about verifying the baseline reward approach and the baseline reward estimator was pretrained. But i couldn't see the pretraining code !. Can you help me with the pretraining code ??

environment

请问这个代码的环境依赖是什么呢?
我的环境是python3.6 tensorflow1.6 tensor2tensor1.5 代码无法运行

Question about the cumulative reward

As mentioned in your paper the cumulative future reward is used to update the policy at timestep t. My understand is that this is done at the following line inside the compute_sentence_bleu function.

delta_results = delta_results[::-1].cumsum(axis=1)[::-1]

It seems that delta_results[::-1] reverses the batch dimension instead of the time dimension. Shouldn't this be?:

delta_results = delta_results[:, ::-1].cumsum(axis=1)[:, ::-1]

a few questions

First of all, thanks for putting this repo up, we enjoy your paper and would like to reproduce it in our lab. Have a few questions:

  1. is this repo complete? I see only training scripts, not sure how the data is generated. And not sure if I find the RL models and how they are integrated... maybe I am missing something?
  2. I see you have a complete tensor2tensor source code copied in this repo instead of referencing to the t2t official package. Does this mean you have changed t2t code base in some way? or we can safely use t2t official package (perhaps with an older version)?
  3. Would really appreciate if you can provide a more detailed example on how to produce the unified model (zhen_bi_src_tgt_mono) from this code base.

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.