Hello there,
I have successfully completed data preparation using the command :
onmt_build_vocab -config toy_en_de.yaml -n_sample 10000
for training , my config file looks like
toy_en_de.yaml
#…
Vocabulary files that were just created
src_vocab: run/example.vocab.src
tgt_vocab: run/example.vocab.tgt
Train on a single GPU
world_size: 1
gpu_ranks: [0]
Where to save the checkpoints
save_model: run/model
save_checkpoint_steps: 500
train_steps: 1000
valid_steps: 500
Note : my current directory is “/home/dhar/toy-ende”
run folde contains the following
1)example.vocab.src
2)example.vocab.tgt
3)sample(folder)
–corpus_1.sample.src
—corpus_1.sample.tgt
now i run the following command for training
onmt_train -config toy_en_de.yaml
then i got the following error
onmt_train: error: the following arguments are required: -data/–data
I think i can clearly explain where i am facing problem !!
Thanks beforehand !!