Clarify hyperparameters and alias usage in spacy train (resolves #1838) [ci skip]

This commit is contained in:
ines 2018-01-14 14:32:50 +01:00
parent 4daba3abda
commit bbee48080d
1 changed files with 6 additions and 2 deletions

View File

@ -341,8 +341,12 @@ p
| for your custom #[code train] command while still being able to easily | for your custom #[code train] command while still being able to easily
| tweak the hyperparameters. For example: | tweak the hyperparameters. For example:
+code(false, "bash"). +code(false, "bash", "$").
parser_hidden_depth=2 parser_maxout_pieces=1 train-parser 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"]) +table(["Name", "Description", "Default"])
+row +row