From cdab341a75b5932002b56689b88681f38b391fa3 Mon Sep 17 00:00:00 2001 From: Paul O'Leary McCann Date: Tue, 23 Mar 2021 11:50:35 +0900 Subject: [PATCH] Remove mention of -1 for early stopping (fix #7535) Maybe this used to work differently, but currently a negative patience just causes immediate termination. --- spacy/default_config.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/default_config.cfg b/spacy/default_config.cfg index 0f7226083..42081f410 100644 --- a/spacy/default_config.cfg +++ b/spacy/default_config.cfg @@ -68,7 +68,7 @@ seed = ${system.seed} gpu_allocator = ${system.gpu_allocator} dropout = 0.1 accumulate_gradient = 1 -# Controls early-stopping. 0 or -1 mean unlimited. +# Controls early-stopping. 0 disables early stopping. patience = 1600 max_epochs = 0 max_steps = 20000