diff --git a/website/docs/api/architectures.mdx b/website/docs/api/architectures.mdx index afe265c9d..d31f130c2 100644 --- a/website/docs/api/architectures.mdx +++ b/website/docs/api/architectures.mdx @@ -481,7 +481,7 @@ The other arguments are shared between all versions. -## Curated transformer architectures {id="curated-trf",source="https://github.com/explosion/spacy-curated-transformers/blob/main/spacy_curated_transformers/models/architectures.py"} +## Curated Transformer architectures {id="curated-trf",source="https://github.com/explosion/spacy-curated-transformers/blob/main/spacy_curated_transformers/models/architectures.py"} The following architectures are provided by the package [`spacy-curated-transformers`](https://github.com/explosion/spacy-curated-transformers). diff --git a/website/docs/api/cli.mdx b/website/docs/api/cli.mdx index e3ac08bc6..43e608e48 100644 --- a/website/docs/api/cli.mdx +++ b/website/docs/api/cli.mdx @@ -205,7 +205,7 @@ TODO: update | `output_file` | Path to output `.cfg` file or "-" to write to stdout so you can pipe it to a file. Defaults to "-" (stdout). ~~Path (positional)~~ | | `--model-name`, `-m` | Name of the Hugging Face model. Defaults to the model name in from the encoder loader config. ~~Optional[str] (option)~~ | | `--model-revision`, `-r` | Revision of the Hugging Face model. Defaults to `main`. ~~Optional[str] (option)~~ | -| `--pipe-name`, `-n` | Name of the curated transformer pipe whose config is to be filled. Defaults to the first transformer pipe. ~~Optional[str] (option)~~ | +| `--pipe-name`, `-n` | Name of the Curated Transformer pipe whose config is to be filled. Defaults to the first transformer pipe. ~~Optional[str] (option)~~ | | `--code`, `-c` | Path to Python file with additional code to be imported. Allows [registering custom functions](/usage/training#custom-functions) for new architectures. ~~Optional[Path] \(option)~~ | | **CREATES** | Complete and auto-filled config file for training. | @@ -1054,7 +1054,7 @@ $ python -m spacy debug pieces [config_path] [--code] [--name] [overrides] | -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `config_path` | Path to config file. ~~Union[Path, str] (positional)~~ | | `--code`, `-c` | Path to Python file with additional code to be imported. Allows [registering custom functions](/usage/training#custom-functions) for new architectures. ~~Optional[Path] \(option)~~ | -| `--name`, `-n` | Name of the curated transformer pipe whose config is to be filled. Defaults to the first transformer pipe. ~~Optional[str] (option)~~ | +| `--name`, `-n` | Name of the Curated Transformer pipe whose config is to be filled. Defaults to the first transformer pipe. ~~Optional[str] (option)~~ | | overrides | Config parameters to override. Should be options starting with `--` that correspond to the config section and value to override, e.g. `--paths.train ./train.spacy`. ~~Any (option/flag)~~ | | **PRINTS** | Debugging information. |