Translation of abstracts, scientific papers and textbooks using general-purpose MT models.
Progress:
- Manually translate (with PE) to Czech & German and see how well the algorithm works to translation to English
Decoder stacktrace:
model.translator
ofGeneratorHubInterface
infairseq/hub_utils.py
callssample
sample
ofGeneratorHubInterface
infairseq/hub_utils.py
callsgenerate
generate
ofGeneratorHubInterface
infairseq/hub_utils.py
callsself.task.build_generator
build_generator
ofFairseqTask
infairseq/tasks/fairseq_task.py
buildssearch.BeamSearch
step
ofBeamSearch
infairseq/search.py
does the search
Pipeline:
translate_synth.py
translate_contrast.py