Git Product home page Git Product logo

Comments (4)

vince62s avatar vince62s commented on May 25, 2024 1

Guys can one of the two of you send a PR to correct the tuto? it's a stupid leftover from a copy/paste thing
thanks.

from opennmt-py.

PC91 avatar PC91 commented on May 25, 2024

Hello @Armilius,
From what I understand, in doc\source\examples\wmt17\Translation.md, the 2 following lines are already good to run the training and to reproduce the translation results on WMT17 en-de dataset:

  • To build the vocabulary: python3 ../../../onmt/bin/build_vocab.py --config wmt17/wmt17_ende.yaml --n_sample -1
  • To run the training: python3 ../../../onmt/bin/train.py --config wmt17/wmt17_ende.yaml

About train.sh, this is a bash file and I think it is supposed to contain the 2 above command lines to automate the process. But you can either create this file or run the 2 commands one by one.

Hope that helps you.

from opennmt-py.

Armilius avatar Armilius commented on May 25, 2024

Hello @Armilius, From what I understand, in doc\source\examples\wmt17\Translation.md, the 2 following lines are already good to run the training and to reproduce the translation results on WMT17 en-de dataset:

  • To build the vocabulary: python3 ../../../onmt/bin/build_vocab.py --config wmt17/wmt17_ende.yaml --n_sample -1
  • To run the training: python3 ../../../onmt/bin/train.py --config wmt17/wmt17_ende.yaml

About train.sh, this is a bash file and I think it is supposed to contain the 2 above command lines to automate the process. But you can either create this file or run the 2 commands one by one.

Hope that helps you.

Thank you very much for your help. I have ran Transformer on WMT17 successfully!

from opennmt-py.

PC91 avatar PC91 commented on May 25, 2024

Ok I had a check with other files too and opened this PR.

from opennmt-py.

Related Issues (20)

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.