From b1505380ff9234232d3f4dfe2237a437c20d36e0 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Mon, 28 Oct 2019 18:06:38 +0100 Subject: [PATCH] Fix training with vectors --- spacy/_ml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/_ml.py b/spacy/_ml.py index 5d388913b..3db28ced5 100644 --- a/spacy/_ml.py +++ b/spacy/_ml.py @@ -360,7 +360,7 @@ def Tok2Vec(width, embed_size, **kwargs): "config": { "vectors_name": pretrained_vectors, "width": width, - "column": cols.index(ID), + "column": cols.index("ID") }, } if cnn_maxout_pieces >= 2: