mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-10 16:22:29 +03:00
Fix transformer listener naming
This commit is contained in:
parent
0d2be9e96c
commit
0a0476cbfd
|
@ -259,7 +259,7 @@ layers.
|
||||||
The `CuratedTransformer` component therefore does not perform a weight update
|
The `CuratedTransformer` component therefore does not perform a weight update
|
||||||
during its own `update` method. Instead, it runs its transformer model and
|
during its own `update` method. Instead, it runs its transformer model and
|
||||||
communicates the output and the backpropagation callback to any downstream
|
communicates the output and the backpropagation callback to any downstream
|
||||||
components that have been connected to it via the TransformerListener sublayer.
|
components that have been connected to it via the transformer listener sublayer.
|
||||||
If there are multiple listeners, the last layer will actually backprop to the
|
If there are multiple listeners, the last layer will actually backprop to the
|
||||||
transformer and call the optimizer, while the others simply increment the
|
transformer and call the optimizer, while the others simply increment the
|
||||||
gradients.
|
gradients.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user