Giter Site home page Giter Site logo

maroxtn / mt5-m2m-comparison Goto Github PK

View Code? Open in Web Editor NEW
13.0 13.0 1.0 24 KB

Comparing M2M and mT5 on a rare language pairs, blog post: https://medium.com/@abdessalemboukil/comparing-facebooks-m2m-to-mt5-in-low-resources-translation-english-yoruba-ef56624d2b75

Jupyter Notebook 100.00%
deeplearning m2m mt5 nlp nmt t5 translation

mt5-m2m-comparison's People

Contributors

maroxtn avatar

Stargazers

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

Watchers

 avatar

Forkers

malipalema

mt5-m2m-comparison's Issues

M2M train

Thank you for the guide for m2m100. I was following it but when I got to !fairseq-train data_bin , it seems like I am using the TransformerEncoderBase while you are using the TransformerEncoder. What should I do to use the normal Transformer Encoder (without the base?)

I was following your guide step by step, so I am a little confused about this difference. I believe this is why I am stuck at Preparing to load checkpoint.
image

When I halt the kernal, and read the output error, I get this error that states size mismatch.
image

Thank you :)

My output:
image

Your output:
image

mT5 with simpletransformers for translation

According to doc, prefix token need to be setted. In the document of simpletransformers, t5 model supported prefix task does not has anything that looks like translation.
In mt5_test.ipynb, you set prefix to ''. Is this a correct way to finetune mT5 for translation? Is there any reference?

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.