mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-10 19:57:17 +03:00
add pooling to NEL's TransformerListener
This commit is contained in:
parent
085a1c8e2b
commit
556f3e4652
|
@ -107,6 +107,9 @@ nO = null
|
|||
[components.entity_linker.model.tok2vec]
|
||||
@architectures = "spacy-transformers.TransformerListener.v1"
|
||||
grad_factor = 1.0
|
||||
|
||||
[components.entity_linker.model.tok2vec.pooling]
|
||||
@layers = "reduce_mean.v1"
|
||||
{% endif -%}
|
||||
|
||||
{% if "textcat" in components %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user