MCPcopy Create free account
hub / github.com/pytorch/tutorials / seq2seq_translation_tutorial.py

File seq2seq_translation_tutorial.py

intermediate_source/seq2seq_translation_tutorial.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1# -*- coding: utf-8 -*-
2"""
3NLP From Scratch: Translation with a Sequence to Sequence Network and Attention
4*******************************************************************************

Callers

nothing calls this directly

Calls 7

prepareDataFunction · 0.85
get_dataloaderFunction · 0.85
AttnDecoderRNNClass · 0.85
evaluateRandomlyFunction · 0.85
evaluateAndShowAttentionFunction · 0.85
EncoderRNNClass · 0.70
trainFunction · 0.70

Tested by

no test coverage detected