Update tagger serialization

This commit is contained in:
Matthew Honnibal 2017-08-18 23:12:05 +02:00
parent bae59bf92f
commit a7309a217d
1 changed files with 2 additions and 2 deletions

View File

@ -11,8 +11,8 @@ import pytest
def taggers(en_vocab):
tagger1 = Tagger(en_vocab)
tagger2 = Tagger(en_vocab)
tagger1.model = tagger1.Model(None, None)
tagger2.model = tagger2.Model(None, None)
tagger1.model = tagger1.Model(8, 8)
tagger2.model = tagger2.Model(8, 8)
return (tagger1, tagger2)