Closed connectdotz closed 5 years ago
Thanks for your interesting. Due to some busy stuff, I will respond to you later in detail. In a short: 1.) I will upload a script to convert the model. 2). Yes, the code is an earlier version based on t2t-1.2.9.
Hi, Thanks for the paper and for the code here, nice work! As a follow-up question to @connectdotz, I couldn't find the code to the RL part, are you planning to upload that part as well (or am I missing something)? Thanks a lot!
@belomeriem @connectdotz Thanks for your interest. Please check the relevance part of https://github.com/apeterswu/RL4NMT/blob/master/tensor2tensor/utils/model_builder.py#L132 This is about the RL model training.
@connectdotz For the data generation, it is same as inference phase, you can check the original t2t code base on how to inference. If you meet problems, please response again. For the last question, you can do the unified training process in an easy way like this: 1. Generate translations for source and target monolingual data as described in the paper, and tarin the MLE model. 2. Use the MLE model to further train the RL part with combined three part data: bilingual data pair, source monolingual data and its translation, back-translated source data of the target monolingual data and the target monolingual data itself.
hello, i have run the bash script : bash train_zhen.sh . there has an error
Instructions for updating:
Use tf.estimator.train_and_evaluate.
WARNING:tensorflow:RunConfig.uid (from tensorflow.contrib.learn.python.learn.estimators.run_config) is experimental and may change or be removed at any time, and without warning.
INFO:tensorflow:Creating experiment, storing model files in ./model/zhen_wmt17_transformer_rl_delta_setting
INFO:tensorflow:Loading and processing source vocabulary from: vocab.src
Traceback (most recent call last):
File "./tensor2tensor/bin/t2t-trainer", line 96, in
i want to ask how to generation data and where is. transformer_data directory
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: