usuwam breakpoint

This commit is contained in:
s495727 2024-05-10 18:26:24 +02:00
parent 4e763a459d
commit f0c7b481d1

View File

@ -20,7 +20,6 @@ def train_model(label_type, field_parsers = {}):
with open('data/test_dialog_46.conllu', encoding='utf-8') as f: with open('data/test_dialog_46.conllu', encoding='utf-8') as f:
testset = list(parse_incr(f, fields=['id', 'form', 'frame', 'slot'], field_parsers=field_parsers)) testset = list(parse_incr(f, fields=['id', 'form', 'frame', 'slot'], field_parsers=field_parsers))
breakpoint()
corpus = Corpus(train=conllu2flair(trainset, label_type), test=conllu2flair(testset, label_type)) corpus = Corpus(train=conllu2flair(trainset, label_type), test=conllu2flair(testset, label_type))
label_dictionary = corpus.make_label_dictionary(label_type=label_type) label_dictionary = corpus.make_label_dictionary(label_type=label_type)