GithubHelp home page GithubHelp logo

About character-aware model about opennmt HOT 5 CLOSED

opennmt avatar opennmt commented on May 14, 2024
About character-aware model

from opennmt.

Comments (5)

srush avatar srush commented on May 14, 2024

We don't have plans to do this in the short-term, as it complicates the input and output formatting. An alternative approach is to use subword encodings like BPE which can be wrapped around the whole system. We will release tools to do this in the near future, but in the mean time there are several that exist online (https://github.com/vteromero/byte-pair-encoding)

from opennmt.

srush avatar srush commented on May 14, 2024

Actually looks like BPE is coming very soon: in this PR #27

from opennmt.

helson73 avatar helson73 commented on May 14, 2024

@srush Thanks, unfortunately in my language pair, applying BPE is not convenient.
I just implemented it myself, and also advanced Bayesian dropout,
A Theoretically Grounded Application of Dropout in Recurrent Neural Networks and still tuning.
I am wondering why don't add this version of dropout? Paper above reports better performance than current Zaremba's dropout.
I found it can be implemented in a very simple way. Just rewrite nn.Dropout to force noise be fixed during all time steps, and tie noise tensors between clones, and also edit LSTM.lua to apply dropout to all nodes which feed to nn.Linear Nodes. I will share the result when the exp is complete.

from opennmt.

srush avatar srush commented on May 14, 2024

We would love a pull request for either!

from opennmt.

srush avatar srush commented on May 14, 2024

(added as feature request in the forum http://forum.opennmt.net/)

from opennmt.

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.