Skip to content

Commit 7edda65

Browse files
pmbaumgartnersvlandeg
authored andcommitted
MultiHashEmbed vector docs correction (explosion#9918)
1 parent 3d7955d commit 7edda65

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

spacy/ml/models/tok2vec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def MultiHashEmbed(
123123
attributes are NORM, PREFIX, SUFFIX and SHAPE. This lets the model take into
124124
account some subword information, without constructing a fully character-based
125125
representation. If pretrained vectors are available, they can be included in
126-
the representation as well, with the vectors table will be kept static
126+
the representation as well, with the vectors table kept static
127127
(i.e. it's not updated).
128128
129129
The `width` parameter specifies the output width of the layer and the widths

website/docs/api/architectures.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ be configured with the `attrs` argument. The suggested attributes are `NORM`,
158158
`PREFIX`, `SUFFIX` and `SHAPE`. This lets the model take into account some
159159
subword information, without construction a fully character-based
160160
representation. If pretrained vectors are available, they can be included in the
161-
representation as well, with the vectors table will be kept static (i.e. it's
161+
representation as well, with the vectors table kept static (i.e. it's
162162
not updated).
163163
164164
| Name | Description |
@@ -296,7 +296,7 @@ learned linear projection to control the dimensionality. Unknown tokens are
296296
mapped to a zero vector. See the documentation on
297297
[static vectors](/usage/embeddings-transformers#static-vectors) for details.
298298
299-
| Name |  Description |
299+
| Name | Description |
300300
| ----------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
301301
| `nO` | The output width of the layer, after the linear projection. ~~Optional[int]~~ |
302302
| `nM` | The width of the static vectors. ~~Optional[int]~~ |
@@ -318,7 +318,7 @@ mapped to a zero vector. See the documentation on
318318
Extract arrays of input features from [`Doc`](/api/doc) objects. Expects a list
319319
of feature names to extract, which should refer to token attributes.
320320
321-
| Name |  Description |
321+
| Name | Description |
322322
| ----------- | ------------------------------------------------------------------------ |
323323
| `columns` | The token attributes to extract. ~~List[Union[int, str]]~~ |
324324
| **CREATES** | The created feature extraction layer. ~~Model[List[Doc], List[Ints2d]]~~ |

0 commit comments

Comments
 (0)