Skip to content

Commit 2436dfb

Browse files
Update docs/tutorial/tutorial-training/how-to-train-span-classifier.md
Co-authored-by: Stefan Schweter <stefan@schweter.it>
1 parent 018c39d commit 2436dfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tutorial/tutorial-training/how-to-train-span-classifier.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ nel_label_dict = nel_corpus.make_label_dictionary("ner", add_unk=True)
176176
nel_model = SpanClassifier(
177177
embeddings=shared_embeddings,
178178
label_dictionary=nel_label_dict,
179-
tag_type="ner",
179+
label_type="ner",
180180
decoder=PrototypicalDecoder(
181181
num_prototypes=len(nel_label_dict),
182182
embeddings_size=shared_embeddings.embedding_length * 2, # we use "first_last" encoding for spans

0 commit comments

Comments
 (0)