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 fefd4aa commit bdd7cf3Copy full SHA for bdd7cf3
neuralmonkey/decoders/sequence_labeler.py
@@ -11,7 +11,16 @@
11
12
13
class SequenceLabeler(ModelPart):
14
- """Classifier assing a label to each encoder's state."""
+ """Classifier assigning a label to each input state.
15
+
16
+ If the labeler output has an input sequence with embeddings, these are used
17
+ as additional input to the labeler.
18
19
+ Note that when the labeler is stacked on an autoregressive decoder, it
20
+ labels the symbol that is currently generated by the decoder, i.e., the
21
+ decoder's state has not yet been updated by putting the decoded symbol on
22
+ its input.
23
+ """
24
25
# pylint: disable=too-many-arguments
26
def __init__(self,
0 commit comments