Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/hunkim/PyTorchZeroToAll
/ 14_2_seq2seq_att.py
File
14_2_seq2seq_att.py
14_2_seq2seq_att.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
# Original code from
2
# https://github.com/spro/practical-pytorch/blob/master/seq2seq-translation/seq2seq-translation.ipynb
3
4
#import matplotlib.pyplot as plt
Callers
nothing calls this directly
Calls
3
TextDataset
Class · 0.90
train
Function · 0.70
translate
Function · 0.70
Tested by
no test coverage detected