Skip to content

Instantly share code, notes, and snippets.

@HeenaR17
Created December 21, 2020 17:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HeenaR17/2efcb2afef2e6e5a1e3b37456728b566 to your computer and use it in GitHub Desktop.
Save HeenaR17/2efcb2afef2e6e5a1e3b37456728b566 to your computer and use it in GitHub Desktop.
english_to_german = torch.hub.load('pytorch/fairseq', 'transformer.wmt19.en-de.single_model', tokenizer='moses', bpe='fastbpe')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment