File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 11
11
12
12
13
13
class SequenceLabeler (ModelPart ):
14
- """Classifier assing a label to each encoder's state."""
14
+ """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. The label is thus the label of a symbol is generated, not the
23
+ one has been already generated and put on decoders input as in case of
24
+ standard sequence labeling.
25
+ """
15
26
16
27
# pylint: disable=too-many-arguments
17
28
def __init__ (self ,
You can’t perform that action at this time.
0 commit comments