Remove hyphen from the curated-transformers.mdx filename

This commit is contained in:
shadeMe 2023-08-14 13:05:47 +02:00
parent 979b723993
commit 74b029d45e
No known key found for this signature in database
GPG Key ID: 6FCA9FC635B2A402
3 changed files with 4 additions and 4 deletions

View File

@ -489,7 +489,7 @@ See the [usage documentation](/usage/embeddings-transformers#transformers) for
how to integrate the architectures into your training config.
When loading the model
[from the Hugging Face Hub](/api/curated-transformer#hf_trfencoder_loader), the
[from the Hugging Face Hub](/api/curatedtransformer#hf_trfencoder_loader), the
model config's parameters must be same as the hyperparameters used by the
pre-trained model. The
[`init fill-curated-transformer`](/api/cli#init-fill-curated-transformer) CLI

View File

@ -188,7 +188,7 @@ $ python -m spacy init fill-config [base_path] [output_file] [--diff]
### init fill-curated-transformer {id="init-fill-curated-transformer",version="3.7",tag="command"}
Auto-fill the Hugging Face model hyperpameters and loader parameters of a
[Curated Transformer](/api/curated-transformer) pipeline component in a
[Curated Transformer](/api/curatedtransformer) pipeline component in a
[.cfg file](/usage/training#config). The name and revision of the Hugging Face
can either be passed as command-line arguments or read from the
`initialize.components.transformer.encoder_loader` config section.

View File

@ -224,8 +224,8 @@ modifying them.
## CuratedTransformer.set_annotations {id="set_annotations",tag="method"}
Assign the extracted features to the `Doc` objects. By default, the
[`DocTransformerOutput`](/api/curated-transformer#doctransformeroutput) object
is written to the [`Doc._.trf_data`](#assigned-attributes) attribute. Your
[`DocTransformerOutput`](/api/curatedtransformer#doctransformeroutput) object is
written to the [`Doc._.trf_data`](#assigned-attributes) attribute. Your
`set_extra_annotations` callback is then called, if provided.
> #### Example