mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 04:08:09 +03:00
fix link to shape inference section
This commit is contained in:
parent
a25bb50e36
commit
9073d99fc9
|
@ -297,7 +297,8 @@ Add a new label to the pipe. Note that you don't have to call this method if you
|
||||||
provide a **representative data sample** to the
|
provide a **representative data sample** to the
|
||||||
[`begin_training`](#begin_training) method. In this case, all labels found in
|
[`begin_training`](#begin_training) method. In this case, all labels found in
|
||||||
the sample will be automatically added to the model, and the output dimension
|
the sample will be automatically added to the model, and the output dimension
|
||||||
will be [inferred](/usage/layers-architectures#shape-inference) automatically.
|
will be [inferred](/usage/layers-architectures#thinc-shape-inference)
|
||||||
|
automatically.
|
||||||
|
|
||||||
> #### Example
|
> #### Example
|
||||||
>
|
>
|
||||||
|
|
|
@ -285,7 +285,8 @@ Add a new label to the pipe. Note that you don't have to call this method if you
|
||||||
provide a **representative data sample** to the
|
provide a **representative data sample** to the
|
||||||
[`begin_training`](#begin_training) method. In this case, all labels found in
|
[`begin_training`](#begin_training) method. In this case, all labels found in
|
||||||
the sample will be automatically added to the model, and the output dimension
|
the sample will be automatically added to the model, and the output dimension
|
||||||
will be [inferred](/usage/layers-architectures#shape-inference) automatically.
|
will be [inferred](/usage/layers-architectures#thinc-shape-inference)
|
||||||
|
automatically.
|
||||||
|
|
||||||
> #### Example
|
> #### Example
|
||||||
>
|
>
|
||||||
|
|
|
@ -205,8 +205,8 @@ examples can either be the full training data or a representative sample. They
|
||||||
are used to **initialize the models** of trainable pipeline components and are
|
are used to **initialize the models** of trainable pipeline components and are
|
||||||
passed each component's [`begin_training`](/api/pipe#begin_training) method, if
|
passed each component's [`begin_training`](/api/pipe#begin_training) method, if
|
||||||
available. Initialization includes validating the network,
|
available. Initialization includes validating the network,
|
||||||
[inferring missing shapes](/usage/layers-architectures#shape-inference) and
|
[inferring missing shapes](/usage/layers-architectures#thinc-shape-inference)
|
||||||
setting up the label scheme based on the data.
|
and setting up the label scheme based on the data.
|
||||||
|
|
||||||
If no `get_examples` function is provided when calling `nlp.begin_training`, the
|
If no `get_examples` function is provided when calling `nlp.begin_training`, the
|
||||||
pipeline components will be initialized with generic data. In this case, it is
|
pipeline components will be initialized with generic data. In this case, it is
|
||||||
|
|
|
@ -263,7 +263,8 @@ already been fully [initialized](#begin_training). Note that you don't have to
|
||||||
call this method if you provide a **representative data sample** to the
|
call this method if you provide a **representative data sample** to the
|
||||||
[`begin_training`](#begin_training) method. In this case, all labels found in
|
[`begin_training`](#begin_training) method. In this case, all labels found in
|
||||||
the sample will be automatically added to the model, and the output dimension
|
the sample will be automatically added to the model, and the output dimension
|
||||||
will be [inferred](/usage/layers-architectures#shape-inference) automatically.
|
will be [inferred](/usage/layers-architectures#thinc-shape-inference)
|
||||||
|
automatically.
|
||||||
|
|
||||||
> #### Example
|
> #### Example
|
||||||
>
|
>
|
||||||
|
|
|
@ -317,7 +317,7 @@ Note that in general, you don't have to call `pipe.add_label` if you provide a
|
||||||
representative data sample to the [`begin_training`](#begin_training) method. In
|
representative data sample to the [`begin_training`](#begin_training) method. In
|
||||||
this case, all labels found in the sample will be automatically added to the
|
this case, all labels found in the sample will be automatically added to the
|
||||||
model, and the output dimension will be
|
model, and the output dimension will be
|
||||||
[inferred](/usage/layers-architectures#shape-inference) automatically.
|
[inferred](/usage/layers-architectures#thinc-shape-inference) automatically.
|
||||||
|
|
||||||
## Pipe.is_resizable {#is_resizable tag="method"}
|
## Pipe.is_resizable {#is_resizable tag="method"}
|
||||||
|
|
||||||
|
|
|
@ -293,8 +293,8 @@ set, or if the model has already been fully [initialized](#begin_training). Note
|
||||||
that you don't have to call this method if you provide a **representative data
|
that you don't have to call this method if you provide a **representative data
|
||||||
sample** to the [`begin_training`](#begin_training) method. In this case, all
|
sample** to the [`begin_training`](#begin_training) method. In this case, all
|
||||||
labels found in the sample will be automatically added to the model, and the
|
labels found in the sample will be automatically added to the model, and the
|
||||||
output dimension will be [inferred](/usage/layers-architectures#shape-inference)
|
output dimension will be
|
||||||
automatically.
|
[inferred](/usage/layers-architectures#thinc-shape-inference) automatically.
|
||||||
|
|
||||||
> #### Example
|
> #### Example
|
||||||
>
|
>
|
||||||
|
|
|
@ -302,8 +302,8 @@ set, or if the model has already been fully [initialized](#begin_training). Note
|
||||||
that you don't have to call this method if you provide a **representative data
|
that you don't have to call this method if you provide a **representative data
|
||||||
sample** to the [`begin_training`](#begin_training) method. In this case, all
|
sample** to the [`begin_training`](#begin_training) method. In this case, all
|
||||||
labels found in the sample will be automatically added to the model, and the
|
labels found in the sample will be automatically added to the model, and the
|
||||||
output dimension will be [inferred](/usage/layers-architectures#shape-inference)
|
output dimension will be
|
||||||
automatically.
|
[inferred](/usage/layers-architectures#thinc-shape-inference) automatically.
|
||||||
|
|
||||||
> #### Example
|
> #### Example
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user