From ca14547803e008fa84e9ed3665dd92b6d205b655 Mon Sep 17 00:00:00 2001 From: shadeMe Date: Wed, 9 Aug 2023 12:40:28 +0200 Subject: [PATCH] Add a note to the architectures section about the `init fill-config-transformer` CLI command --- website/docs/api/architectures.mdx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/website/docs/api/architectures.mdx b/website/docs/api/architectures.mdx index d74cd26f3..1f5ec56d9 100644 --- a/website/docs/api/architectures.mdx +++ b/website/docs/api/architectures.mdx @@ -488,6 +488,13 @@ The following architectures are provided by the package 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 +model config's parameters must be same as the hyperparameters used by the +pre-trained model. The +[`init fill-config-transformer`](/api/cli#init-fill-config-transformer) CLI +command can be used to automatically fill in these values. + ### spacy-curated-transformers.AlbertTransformer.v1 Construct an ALBERT transformer model.