We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aef261b commit 5eb31caCopy full SHA for 5eb31ca
nlp_class3/attention.py
@@ -65,7 +65,7 @@ def softmax_over_time(x):
65
continue
66
67
# split up the input and translation
68
- input_text, translation = line.rstrip().split('\t')
+ input_text, translation, *rest = line.rstrip().split('\t')
69
70
# make the target input and output
71
# recall we'll be using teacher forcing
nlp_class3/wseq2seq.py
@@ -49,7 +49,7 @@
49
50
51
52
53
54
55
0 commit comments