Giter Club home page Giter Club logo

Comments (5)

orhanf avatar orhanf commented on September 28, 2024

@amirj nmt.py in session 2 and session 3 should be identical. Synched them here, can you check that please? If it works i can merge it with the central.

from dl4mt-tutorial.

amirj avatar amirj commented on September 28, 2024

@orhanf I don't understand the relation between this link and the topic!
By the way, when I diff 'nmt.py' in session 2 and session 3 it seems that they are different to some extent. For example:

     shared_vars = [tparams[_p(prefix, 'U')],
                    tparams[_p(prefix, 'Wc')],
-                   tparams[_p(prefix, 'Wd_att')],
+                   tparams[_p(prefix, 'W_comb_att')],
                    tparams[_p(prefix, 'U_att')],
                    tparams[_p(prefix, 'c_tt')],
                    tparams[_p(prefix, 'Ux')],
-                   tparams[_p(prefix, 'Wcx')]]
+                   tparams[_p(prefix, 'Wcx')],
+                   tparams[_p(prefix, 'U_nl')],
+                   tparams[_p(prefix, 'Ux_nl')],
+                   tparams[_p(prefix, 'b_nl')],
+                   tparams[_p(prefix, 'bx_nl')]]

It seems that the attention mechanism has been changed in session3.

from dl4mt-tutorial.

orhanf avatar orhanf commented on September 28, 2024

lol, sorry my bad, i meant this. Actually it was session2 that has changed, and session3 is not adapted for those changes.

from dl4mt-tutorial.

amirj avatar amirj commented on September 28, 2024

Is it means that learning with the current version of nmt.py in session3 leads to incorrect results?

On ۱ بهمن ۱۳۹۴ ه‍.ش., at ۲۰:۲۲, Orhan Firat [email protected] wrote:

lol, sorry my bad, i meant this orhanf@9199ac0. Actually it was session2 that has changed, and session3 is not adapted for those changes.


Reply to this email directly or view it on GitHub #29 (comment).

from dl4mt-tutorial.

orhanf avatar orhanf commented on September 28, 2024

Not incorrect results, actually the original version. Session2 implements an improved version tho.

from dl4mt-tutorial.

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.