From 543073bf9d998e5efaa1065a36c4eecef2f86668 Mon Sep 17 00:00:00 2001 From: svlandeg Date: Tue, 29 Dec 2020 14:51:23 +0100 Subject: [PATCH] add pretrain example --- website/docs/api/cli.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/website/docs/api/cli.md b/website/docs/api/cli.md index f6fb4d538..018105065 100644 --- a/website/docs/api/cli.md +++ b/website/docs/api/cli.md @@ -786,7 +786,7 @@ in the section `[paths]`. > #### Example > > ```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 @@ -829,6 +829,13 @@ auto-generated by setting `--pretraining` on +> #### Example +> +> ```cli +> $ python -m spacy pretrain config.cfg output_pretrain --paths.raw_text="data.jsonl" +> ``` + + ```cli $ python -m spacy pretrain [config_path] [output_dir] [--code] [--resume-path] [--epoch-resume] [--gpu-id] [overrides] ```