Commit 96c6033
authored
0.1.5 + minor fixes (#106)
* Modified parameter order of DecoderRNN.forward (#85)
* Updated TopKDecoder (#86)
* Fixed topk decoder.
* Use torchtext from pipy (#87)
* Use torchtext from pipe.
* Fixed torch text sorting order.
* attention is not required when only using teacher forcing in decoder (#90)
* attention is not required when only using teacher forcing in decoder
* Updated docs and version.
* Fixed code style.
* bugfix (#92)
Fixed field arguments validation.
* Removed `initial_lr` when resuming optimizer with scheduler. (#95)
* shuffle the training data (#97)
* 0.1.5 (#91)
* Modified parameter order of DecoderRNN.forward (#85)
* Updated TopKDecoder (#86)
* Fixed topk decoder.
* Use torchtext from pipy (#87)
* Use torchtext from pipe.
* Fixed torch text sorting order.
* attention is not required when only using teacher forcing in decoder (#90)
* attention is not required when only using teacher forcing in decoder
* Updated docs and version.
* Fixed code style.
* shuffle the training data
* fix example of inflate function in TopKDecoer.py (#98)
* fix example of inflate function in TopKDecoer.py
* Fix hidden_layer size for one-directional decoder (#99)
* Fix hidden_layer size for one-directional decoder
Hidden layer size of the decoder was given `hidden_size * 2 if bidirectional else 1`, resulting in a dimensionality error for non-bidirectional decoders.
Changed `1` to `hidden_size`.
* Adapt load to allow CPU loading of GPU models (#100)
* Adapt load to allow CPU loading of GPU models
Add storage parameter to torch.load to allow loading
models on a CPU that are trained on the GPU, depending
on availability of cuda.
* Fix wrong parameter use on DecoderRNN (#103)
* Fix wrong parameter use on DecoderRNN1 parent e8250fb commit 96c6033
File tree
7 files changed
+20
-15
lines changed- examples
- seq2seq
- dataset
- models
- trainer
- util
7 files changed
+20
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
| 23 | + | |
25 | 24 | | |
26 | | - | |
27 | | - | |
| 25 | + | |
| 26 | + | |
28 | 27 | | |
29 | | - | |
| 28 | + | |
30 | 29 | | |
31 | 30 | | |
32 | | - | |
33 | 31 | | |
| 32 | + | |
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
| 79 | + | |
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
| |||
166 | 167 | | |
167 | 168 | | |
168 | 169 | | |
| 170 | + | |
169 | 171 | | |
170 | 172 | | |
171 | 173 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
95 | | - | |
96 | | - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
97 | 101 | | |
98 | 102 | | |
99 | 103 | | |
| |||
0 commit comments