spaCy/website/docs/api/architectures.md

1.2 KiB

title teaser source
Model Architectures Pre-defined model architectures included with the core library spacy/ml/models

TODO: intro and how architectures work, link to registry, custom models usage etc.

Parser architectures

spacy.TransitionBasedParser.v1

Example Config

[model]
@architectures = "spacy.TransitionBasedParser.v1"
nr_feature_tokens = 6
hidden_width = 64
maxout_pieces = 2

[model.tok2vec]
# ...
Name Type Description
tok2vec Model
nr_feature_tokens int
hidden_width int
maxout_pieces int
use_upper bool
nO int