From bbee48080d7dbc7a8c4531d6b01949dfd8d3bc00 Mon Sep 17 00:00:00 2001 From: ines Date: Sun, 14 Jan 2018 14:32:50 +0100 Subject: [PATCH] Clarify hyperparameters and alias usage in spacy train (resolves #1838) [ci skip] --- website/api/cli.jade | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/website/api/cli.jade b/website/api/cli.jade index 412a43cbf..85a13c3c0 100644 --- a/website/api/cli.jade +++ b/website/api/cli.jade @@ -341,8 +341,12 @@ p | for your custom #[code train] command while still being able to easily | tweak the hyperparameters. For example: -+code(false, "bash"). - parser_hidden_depth=2 parser_maxout_pieces=1 train-parser ++code(false, "bash", "$"). + parser_hidden_depth=2 parser_maxout_pieces=1 spacy train [...] + ++code("Usage with alias", "bash", "$"). + alias train-parser="spacy train en /output /data /train /dev -n 1000" + parser_maxout_pieces=1 train-parser +table(["Name", "Description", "Default"]) +row