mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-13 18:56:36 +03:00
Add tip about --gpu-id to training quickstart
This commit is contained in:
parent
4188beda87
commit
7198be0f4b
|
@ -95,6 +95,14 @@ spaCy's binary `.spacy` format. You can either include the data paths in the
|
||||||
$ python -m spacy train config.cfg --output ./output --paths.train ./train.spacy --paths.dev ./dev.spacy
|
$ python -m spacy train config.cfg --output ./output --paths.train ./train.spacy --paths.dev ./dev.spacy
|
||||||
```
|
```
|
||||||
|
|
||||||
|
> #### Tip: Enable your GPU
|
||||||
|
>
|
||||||
|
> Use the `--gpu-id` option to select the GPU:
|
||||||
|
>
|
||||||
|
> ```cli
|
||||||
|
> $ python -m spacy train config.cfg --gpu-id 0
|
||||||
|
> ```
|
||||||
|
|
||||||
<Accordion title="How are the config recommendations generated?" id="quickstart-source" spaced>
|
<Accordion title="How are the config recommendations generated?" id="quickstart-source" spaced>
|
||||||
|
|
||||||
The recommended config settings generated by the quickstart widget and the
|
The recommended config settings generated by the quickstart widget and the
|
||||||
|
|
Loading…
Reference in New Issue
Block a user