From 798450136dc30068f81ffb88bbd947596a931b32 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Thu, 9 Mar 2017 18:43:47 -0600 Subject: [PATCH] Set L1 penalty to 0 in tagger. --- spacy/tagger.pyx | 1 + 1 file changed, 1 insertion(+) diff --git a/spacy/tagger.pyx b/spacy/tagger.pyx index 954bced53..eab0d1126 100644 --- a/spacy/tagger.pyx +++ b/spacy/tagger.pyx @@ -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: