AyaNsar
AyaNsar
I set the criterion to label_smoothed_cross_entropy and it worked..so far
For the preprocessing, you can use the same commands in the documentation for each language pair, for example: fairseq-preprocess --source-lang de --target-lang en \ --trainpref $TEXT/train --validpref $TEXT/valid --testpref $TEXT/test...
Thanks a lot for the update! I understand what you have done, and I changed the code just like you said, only that I left out line 100: `langs =...
can't thank you enough! It works like a charm
Thank you both, there was a problem with the path, because i use Anaconda it was set to the wrong directory. (...\anaconda instead of ...\Anaconda3)
data.yml: train: batch_size: 64 batch_type: examples save_checkpoints_steps: 1000 keep_checkpoint_max: 30 train_steps: 22000 single_pass: false infer: batch_size: 64 with_score: true and the command: onmt-main train_and_eval --model_type NMTSmall --auto_config --config data.yml
That I can't tell because I don't have the output of evaluation now. Plus, the evaluation process was a little bit troublesome because It would stop training every time it...
The sentences that I have contain not only words, but mathematical symbols and numbers, would that affect the results?
Okay, I will retrain again and see how it goes.
I tried to run it on gpu, I get `Resource exhausted: OOM when allocating tensor with shape[512,512] Traceback (most recent call last)` I decreased the number of batches, still was...