Giter Site home page Giter Site logo

libeineu / gpkd Goto Github PK

View Code? Open in Web Editor NEW
14.0 14.0 2.0 2.5 MB

The codebase of paper:Learning Light-Weight Translation Models from Deep Transformer, which is accepted by AAAI2021 conference.

License: MIT License

Python 97.92% C++ 0.36% Shell 1.27% Lua 0.44%

gpkd's People

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

gpkd's Issues

GPKD与回译

你好,请教下,论文提出的GPKD方法我看着都是在真实的双语语料上训练;
那NMT后续的回译和蒸馏阶段,这个GPKD方法仍能发挥作用吗?
若可以,是否要调整某些操作?

训练student model出错

你好,感谢你的work!很有帮助。
不过我从teacher提取出student之后,加载提取出的ckpt文件会提示:
RuntimeError: The size of tensor a (109416064) must match the size of tensor b (65267456) at non-singleton dimension 0

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.