diff --git a/website/docs/api/architectures.mdx b/website/docs/api/architectures.mdx index d11e64479..afe265c9d 100644 --- a/website/docs/api/architectures.mdx +++ b/website/docs/api/architectures.mdx @@ -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 diff --git a/website/docs/api/cli.mdx b/website/docs/api/cli.mdx index 7df99ca2c..e3ac08bc6 100644 --- a/website/docs/api/cli.mdx +++ b/website/docs/api/cli.mdx @@ -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. diff --git a/website/docs/api/curated-transformer.mdx b/website/docs/api/curatedtransformer.mdx similarity index 99% rename from website/docs/api/curated-transformer.mdx rename to website/docs/api/curatedtransformer.mdx index 0f7caed91..304a2324f 100644 --- a/website/docs/api/curated-transformer.mdx +++ b/website/docs/api/curatedtransformer.mdx @@ -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