mirror of https://github.com/explosion/spaCy.git
add pretrain example
This commit is contained in:
parent
1d0ef98873
commit
543073bf9d
|
@ -786,7 +786,7 @@ in the section `[paths]`.
|
||||||
> #### 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 --output output_dir --paths.train="./train" --paths.dev="./dev"
|
||||||
> ```
|
> ```
|
||||||
|
|
||||||
```cli
|
```cli
|
||||||
|
@ -829,6 +829,13 @@ auto-generated by setting `--pretraining` on
|
||||||
|
|
||||||
</Infobox>
|
</Infobox>
|
||||||
|
|
||||||
|
> #### Example
|
||||||
|
>
|
||||||
|
> ```cli
|
||||||
|
> $ python -m spacy pretrain config.cfg output_pretrain --paths.raw_text="data.jsonl"
|
||||||
|
> ```
|
||||||
|
|
||||||
|
|
||||||
```cli
|
```cli
|
||||||
$ python -m spacy pretrain [config_path] [output_dir] [--code] [--resume-path] [--epoch-resume] [--gpu-id] [overrides]
|
$ python -m spacy pretrain [config_path] [output_dir] [--code] [--resume-path] [--epoch-resume] [--gpu-id] [overrides]
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue