move example

This commit is contained in:
svlandeg 2020-12-29 14:46:03 +01:00
parent 20113b8063
commit 1d0ef98873
1 changed files with 4 additions and 4 deletions

View File

@ -783,16 +783,16 @@ in the section `[paths]`.
</Infobox> </Infobox>
```cli
$ python -m spacy train [config_path] [--output] [--code] [--verbose] [--gpu-id] [overrides]
```
> #### Example > #### Example
> >
> ```cli > ```cli
> $ python -m spacy train config.cfg --paths.train="./train" --paths.dev="./dev" --output output_dir > $ python -m spacy train config.cfg --paths.train="./train" --paths.dev="./dev" --output output_dir
> ``` > ```
```cli
$ python -m spacy train [config_path] [--output] [--code] [--verbose] [--gpu-id] [overrides]
```
| Name | Description | | Name | Description |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `config_path` | Path to [training config](/api/data-formats#config) file containing all settings and hyperparameters. If `-`, the data will be [read from stdin](/usage/training#config-stdin). ~~Union[Path, str] \(positional)~~ | | `config_path` | Path to [training config](/api/data-formats#config) file containing all settings and hyperparameters. If `-`, the data will be [read from stdin](/usage/training#config-stdin). ~~Union[Path, str] \(positional)~~ |