mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 09:56:28 +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:
|
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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user