Mention characters loss option in pretrain

This commit is contained in:
Matthew Honnibal 2020-07-02 22:31:55 +02:00
parent f85e41ca3e
commit 7137a16df8
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ from .train import _load_pretrained_tok2vec
bilstm_depth=("Depth of BiLSTM layers (requires PyTorch)", "option", "lstm", int),
embed_rows=("Number of embedding rows", "option", "er", int),
loss_func=(
"Loss function to use for the objective. Either 'L2' or 'cosine'",
"Loss function to use for the objective. Either 'characters', 'L2' or 'cosine'",
"option",
"L",
str,