Set L1 penalty to 0 in tagger.

This commit is contained in:
Matthew Honnibal 2017-03-09 18:43:47 -06:00
parent c62da02344
commit 798450136d

View File

@ -152,6 +152,7 @@ cdef class Tagger:
model = TaggerModel(cfg.get('features', self.feature_templates))
self.vocab = vocab
self.model = model
self.model.l1_penalty = 0.0
# TODO: Move this to tag map
self.freqs = {TAG: defaultdict(int)}
for tag in self.tag_names: