I’m trying to initialize a Translator class object.
onmt.translate.Translator(model, fields, src_reader, tgt_reader)
I cannot figure out how to correctly define the fields dictionary.
Additionally I’ve seen that there exists a build_translator function within the onmt.translate.translator.py file, is that an alternative method of building a translator object? and if so what does the opt argument refer to?