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 bd0402f commit 806f6a2Copy full SHA for 806f6a2
neuralmonkey/encoders/attentive.py renamed to neuralmonkey/encoders/structured.py
@@ -10,7 +10,7 @@
10
get_attention_states, get_attention_mask, Attendable)
11
12
13
-class AttentiveEncoder(ModelPart, TemporalStatefulWithOutput):
+class StructuredEncoder(ModelPart, TemporalStatefulWithOutput):
14
"""An encoder with attention over the input and a fixed-dimension output.
15
16
Based on "A Structured Self-attentive Sentence Embedding",
tests/classifier.ini
@@ -46,7 +46,7 @@ data_id="source"
46
vocabulary=<encoder_vocabulary>
47
48
[encoder_attentive]
49
-class=encoders.attentive.AttentiveEncoder
+class=encoders.attentive.StructuredEncoder
50
name="attentive_encoder"
51
input_sequence=<encoder_rnn>
52
hidden_size=9
0 commit comments