From 2bba2a35362cbe00449f6f452dd6166620cb92d6 Mon Sep 17 00:00:00 2001 From: intrafind <2115805+intrafindBreno@users.noreply.github.com> Date: Mon, 3 Jun 2019 18:32:47 +0200 Subject: [PATCH] Fix for #3811 (#3815) Corrected type of seed parameter. --- 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 b2c22d929..3b2981f0d 100644 --- a/spacy/cli/pretrain.py +++ b/spacy/cli/pretrain.py @@ -33,7 +33,7 @@ from .. import util batch_size=("Number of words per training batch", "option", "bs", int), max_length=("Max words per example.", "option", "xw", int), min_length=("Min words per example.", "option", "nw", int), - seed=("Seed for random number generators", "option", "s", float), + seed=("Seed for random number generators", "option", "s", int), n_iter=("Number of iterations to pretrain", "option", "i", int), n_save_every=("Save model every X batches.", "option", "se", int), )