mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-12 02:06:31 +03:00
Fix training with vectors
This commit is contained in:
parent
a927b3a21e
commit
b1505380ff
|
@ -360,7 +360,7 @@ def Tok2Vec(width, embed_size, **kwargs):
|
||||||
"config": {
|
"config": {
|
||||||
"vectors_name": pretrained_vectors,
|
"vectors_name": pretrained_vectors,
|
||||||
"width": width,
|
"width": width,
|
||||||
"column": cols.index(ID),
|
"column": cols.index("ID")
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
if cnn_maxout_pieces >= 2:
|
if cnn_maxout_pieces >= 2:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user