Giter Site home page Giter Site logo

machelreid / afromt Goto Github PK

View Code? Open in Web Editor NEW
9.0 3.0 2.0 4.92 MB

Code for the EMNLP 2021 Paper "AfroMT: Pretraining Strategies and Reproducible Benchmarks for Translation of 8 African Languages" by Machel Reid, Junjie Hu, Graham Neubig, Yutaka Matsuo

Shell 0.13% Python 97.38% C++ 0.58% Cuda 1.32% Cython 0.45% Lua 0.14%
nlp machine-learning low-resource-machine-translation

afromt's People

Contributors

andrews2017 avatar machelreid avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

afromt's Issues

Data Issues

Good Morning dear Machel, Please can you give me the access to the data that you use for pre-training stage and also the corresponding task use during pre-training.
Best Regards

Training issue

I'm having the below error during the training process.
Screenshot 2023-01-19 at 21 57 14

Below picture is the content of training script

Screenshot 2023-01-19 at 22 00 37

Issue in evaluation script

Hello dear Machelreidm, I followed the instructions in the afromt repository to the end, but the evaluation returns 0 for both metrics.
cat tgt | sacremoses detokenize > tgt.tmp 2> /dev/null
cat hyp | sacremoses detokenize > hyp.tmp 2> /dev/null

lThe two lines of code above are the cause because after executing these two lines the tgt.tmp and hyp.tmp files are empty.
ref: https://github.com/machelreid/afromt/blob/main/eval_bleu_chrf.sh#L5
I am hereby asking for your suggestions.
Cordially

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.