Change vector width

This commit is contained in:
Matthew Honnibal 2017-05-08 14:47:11 +02:00
parent a66a4a4d0f
commit 66252f3e71

View File

@ -133,7 +133,7 @@ def main(lang_name, train_loc, dev_loc, model_dir, clusters_loc=None):
for tag in tags: for tag in tags:
assert tag in vocab.morphology.tag_map, repr(tag) assert tag in vocab.morphology.tag_map, repr(tag)
tagger = Tagger(vocab) tagger = Tagger(vocab)
encoder = TokenVectorEncoder(vocab) encoder = TokenVectorEncoder(vocab, width=128)
parser = DependencyParser(vocab, actions=actions, features=features, L1=0.0) parser = DependencyParser(vocab, actions=actions, features=features, L1=0.0)
Xs, ys = organize_data(vocab, train_sents) Xs, ys = organize_data(vocab, train_sents)