From 7137a16df8a864bb219969829824a7ab450a49d5 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Thu, 2 Jul 2020 22:31:55 +0200 Subject: [PATCH] Mention characters loss option in pretrain --- spacy/cli/pretrain.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/cli/pretrain.py b/spacy/cli/pretrain.py index 9d86404e2..6d6c65161 100644 --- a/spacy/cli/pretrain.py +++ b/spacy/cli/pretrain.py @@ -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,