Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
""
"
3
NLP From Scratch: Translation
with
a Sequence to Sequence Network and Attention
4
*******************************************************************************
Callers
nothing calls this directly
Calls
7
prepareData
Function · 0.85
get_dataloader
Function · 0.85
AttnDecoderRNN
Class · 0.85
evaluateRandomly
Function · 0.85
evaluateAndShowAttention
Function · 0.85
EncoderRNN
Class · 0.70
train
Function · 0.70
Tested by
no test coverage detected