Skip to content

Commit 2dd7945

Browse files
committed
Update docs
1 parent 39aabf5 commit 2dd7945

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

website/docs/usage/embeddings-transformers.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -514,17 +514,17 @@ Many neural network models are able to use word vector tables as additional
514514
features, which sometimes results in significant improvements in accuracy.
515515
spaCy's built-in embedding layer,
516516
[MultiHashEmbed](/api/architectures#MultiHashEmbed), can be configured to use
517-
word vector tables using the `also_use_static_vectors` flag. This setting is
517+
word vector tables using the `include_static_vectors` flag. This setting is
518518
also available on the [MultiHashEmbedCNN](/api/architectures#MultiHashEmbedCNN)
519519
layer, which builds the default token-to-vector encoding architecture.
520520

521521
```ini
522522
[tagger.model.tok2vec.embed]
523523
@architectures = "spacy.MultiHashEmbed.v1"
524524
width = 128
525-
rows = 7000
526-
also_embed_subwords = true
527-
also_use_static_vectors = true
525+
attrs = ["LOWER","PREFIX","SUFFIX","SHAPE"]
526+
rows = [5000,2500,2500,2500]
527+
include_static_vectors = true
528528
```
529529

530530
<Infobox title="How it works" emoji="💡">

0 commit comments

Comments
 (0)