mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 09:26:27 +03:00
Change vector width
This commit is contained in:
parent
a66a4a4d0f
commit
66252f3e71
|
@ -133,7 +133,7 @@ def main(lang_name, train_loc, dev_loc, model_dir, clusters_loc=None):
|
|||
for tag in tags:
|
||||
assert tag in vocab.morphology.tag_map, repr(tag)
|
||||
tagger = Tagger(vocab)
|
||||
encoder = TokenVectorEncoder(vocab)
|
||||
encoder = TokenVectorEncoder(vocab, width=128)
|
||||
parser = DependencyParser(vocab, actions=actions, features=features, L1=0.0)
|
||||
|
||||
Xs, ys = organize_data(vocab, train_sents)
|
||||
|
|
Loading…
Reference in New Issue
Block a user