From 949c36b87616d1a95c871ceb217847fb1c1c38aa Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sat, 12 Sep 2020 17:00:37 +0200 Subject: [PATCH] Fix typo --- spacy/pipeline/tagger.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/pipeline/tagger.pyx b/spacy/pipeline/tagger.pyx index 9baf83958..356e15eb1 100644 --- a/spacy/pipeline/tagger.pyx +++ b/spacy/pipeline/tagger.pyx @@ -255,7 +255,7 @@ class Tagger(Pipe): """ validate_examples(examples, "Tagger.get_loss") loss_func = SequenceCategoricalCrossentropy( - names=self.label, + names=self.labels, normalize=False, missing_value="" )