Add a note to the architectures section about the init fill-config-transformer CLI command

This commit is contained in:
shadeMe 2023-08-09 12:40:28 +02:00
parent 1d0604939b
commit ca14547803
No known key found for this signature in database
GPG Key ID: 6FCA9FC635B2A402

View File

@ -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.