Helsinki-NLP / OPUS-MT-train

Training open neural machine translation models
MIT License
318 stars 40 forks source link

Google Colab #53

Open Plkmoi opened 3 years ago

Plkmoi commented 3 years ago

How to train a model in Colab.

jorgtied commented 3 years ago

I have no experience with Colab but the easiest way would probably be to take the data from https://github.com/Helsinki-NLP/Tatoeba-Challenge/ that comes with dedicated train/dev/test splits and then basically set up your own pipeline using your favorite framework (for example, MarianNMT if you want to follow our example).

raphaelmerx commented 3 years ago

@Plkmoi here's an example of setting up this package on Colab: https://colab.research.google.com/drive/1gbNicAwFFQ0pWXUlMhWPA7H_xeBvHXoR?usp=sharing