Pascal.Jr.Tikeng.Notsawo
Pascal.Jr.Tikeng.Notsawo
if nCodes is wrongly chosen there will be errors when 'applybpe'. How to choose this number? I don't know. But lowering it solves the problem (choose a low value to...
I hope [this](https://github.com/yjxiong/anet2016-cuhk/issues/14) may help you.
https://github.com/yjxiong/anet2016-cuhk/issues/35#issuecomment-717604185
It seems that you haven't changed the following two parameters. ``` "stopping_criterion":"valid_en-fr_mt_bleu,10", "validation_metrics":"valid_en-fr_mt_bleu", ``` In your case, if you have two abbreviated languages `lang1` and `lang2`, and you want to...
Is this okay?
No. ```translate.py``` is for inference. To train an automatic machine translation model, always use ```train.py``` by specifying the ```"mt_steps"``` objective (see ```/configs/mt_template.json```) For example if you want to translate from...
I'm trying to reproduice all this with huggingface transformer library : https://github.com/Tikquuss/lm
Use translate_our.py instead (see https://github.com/Tikquuss/meta_XLM/blob/master/XLM/translate_our.py#L115 for how to use)
Go to [line 34](https://github.com/Tikquuss/meta_XLM/blob/master/XLM/translate_our.py#L34) of translate_our.py (before ```logger = initialize_exp(params)```) and set up the device, for example you can add the line of code: ``` params.device = torch.device('cuda' if torch.cuda.is_available()...