mirror of https://github.com/explosion/spaCy.git
Clarify hyperparameters and alias usage in spacy train (resolves #1838) [ci skip]
This commit is contained in:
parent
4daba3abda
commit
bbee48080d
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue