mirror of
https://github.com/explosion/spaCy.git
synced 2025-06-27 16:33:18 +03:00
Add HashEmbedCNN to list of tok2vec architectures
This commit is contained in:
parent
836fd87b1e
commit
dab7894cf3
|
@ -10,7 +10,11 @@ from spacy.language import Language
|
||||||
from ._util import configure_cli, Arg, Opt
|
from ._util import configure_cli, Arg, Opt
|
||||||
|
|
||||||
# These are the architectures that are recognized as tok2vec/feature sources.
|
# These are the architectures that are recognized as tok2vec/feature sources.
|
||||||
TOK2VEC_ARCHS = [("spacy", "Tok2Vec"), ("spacy-transformers", "TransformerModel")]
|
TOK2VEC_ARCHS = [
|
||||||
|
("spacy", "Tok2Vec"),
|
||||||
|
("spacy", "HashEmbedCNN"),
|
||||||
|
("spacy-transformers", "TransformerModel"),
|
||||||
|
]
|
||||||
# These are the listeners.
|
# These are the listeners.
|
||||||
LISTENER_ARCHS = [
|
LISTENER_ARCHS = [
|
||||||
("spacy", "Tok2VecListener"),
|
("spacy", "Tok2VecListener"),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user