Giter VIP home page Giter VIP logo

Comments (2)

rsennrich avatar rsennrich commented on May 18, 2024 3

The empirically best number of merge operations likely depends on your dataset and language pair. We have some numbers by @bhaddow on WMT 2018 datasets for EN<->CS,ET,FI, and BLEU differences between 30,000 and 90,000 merge operations are small (although the effect on rare words might be larger), so 30,000 is a good starting point. If your dataset is relatively small (less than 1 million sentence pairs), I'd recommend that you also try out a smaller number of merge operations, since the model is unlikely to learn a useful representation of a subword that only occurs a few times.

If you have related languages, it is preferable to learn BPE units jointly on the source and target language (see https://github.com/rsennrich/subword-nmt#best-practice-advice-for-byte-pair-encoding-in-nmt ). For language pairs such as English-Chinese, there is no need that the number of operations be the same.

from subword-nmt.

Anupama94 avatar Anupama94 commented on May 18, 2024

Thank you for your prompt, elaborative answer. Yes my data-set is much smaller. So basically it is a value that is decided on empirically isn't it? I'll check with different values. Thank you.

from subword-nmt.

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.