Giter VIP home page Giter VIP logo

nmt-multi's People

Contributors

cordercorder avatar

Stargazers

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

Watchers

 avatar

nmt-multi's Issues

some problem when run ted/train/fairseq_train.many-many.laa.sh

When I run the script in ted/train/fairseq_train.many-many.laa.sh, I get the following error message:

File "~/nmt-multi/nmt/user_dir/models/transformer_laa.py", line 460, in forward_scriptable
    tgt_lang_id = tgt_lang_id.squeeze(1) - 1
AttributeError: 'NoneType' object has no attribute 'squeeze' 

tgt_lang_id appears to be None. How can I solve this problem? Is there something I missed during preprocessing?

Hi,it seems to have more operations which are not mentioned to run the .sh

In "ted/data_process/multilingual_preprocess.sh",you use the

array=(${lang_pair//-/ })

however,the format of lang_pair is xx_xx.
Another problem is that you use spm_train in the fairseq to train the sentence piece model,but i can't run it,

行 46: spm_train:未找到命令

I will appreciate it if you can offer some solutions or instructions

Problem on ted59 zero-shot translation

Hey, thank you for the released code.
I tried to first reproduce the baseline Token_src model on the ted59 dataset. The Sacrebleu scores of supervised experiments are consistent with those in the paper, but the zero-shot experiment only achieves 8.87 Bleu (-1.63 Bleu). I select the final model with supervised performance on validation set.
Settings:
max-tokens=16384, other settings are the same as the released script (nmt-multi/scripts/ted/train/fairseq_train.many-many.token_src.sh).
image

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.