Data Preparation toy_en_de.yaml

I am following the quickstart tutorial on google colab, but when i am trying to make vocab out of the data using yaml config file it is showing below error:
Corpus corpus_1’s weight should be given. We default it to 1 for you.
Traceback (most recent call last):
File “/usr/local/bin/onmt_build_vocab”, line 8, in
File “/usr/local/lib/python3.6/dist-packages/onmt/bin/”, line 63, in main
File “/usr/local/lib/python3.6/dist-packages/onmt/bin/”, line 23, in build_vocab_main
ArgumentParser.validate_prepare_opts(opts, build_vocab_only=True)
File “/usr/local/lib/python3.6/dist-packages/onmt/utils/”, line 130, in validate_prepare_opts
cls._validate_vocab_opts(opt, build_vocab_only=build_vocab_only)
File “/usr/local/lib/python3.6/dist-packages/onmt/utils/”, line 98, in _validate_vocab_opts
cls._validate_file(opt.src_vocab, info=‘src vocab’)
File “/usr/local/lib/python3.6/dist-packages/onmt/utils/”, line 18, in _validate_file
raise IOError(f"Please check path of your {info} file!")
OSError: Please check path of your src vocab file!

How can I fix this

There probably is an issue with some path. Hard to say more without more details.
Anyways I just tested and it seems ok:

You must use should create a “run” folder, and create two blank files in run, namely example.vocab.src and example.vocab.tgt