diff --git a/process_poleval.py b/process_poleval.py index b7a1e042c873ec9296425102fc188a5fb3d0fc5a..6afb03d0f06454b62ac8fce5dbfde4c4046bdbba 100644 --- a/process_poleval.py +++ b/process_poleval.py @@ -24,7 +24,6 @@ def main(model_path: str, input: str, output: str, device: str, do_merge_sentenc print("Loading the NER model ...") t0 = time.perf_counter() ner = PolDeepNer2(model_path, device=device, tokenizer=TokenizerFast()) - ner.model.config.sequence_generator = "context-window" time_load = time.perf_counter() - t0 time_preprocess, time_ner, data_size = 0, 0, 0 diff --git a/setup.py b/setup.py index 1353d184bfe78a9cddbde8862b4bf197c28e435d..d6782b3baabfc9b373f26cbf8f5ddb97f565cc3c 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ install_requires = [ setuptools.setup( name="poldeepner2", - version="0.8.1-wip", + version="0.8.0", author="Michał Marcińczuk", author_email="marcinczuk@gmail.com", description="PolDeepNer2 is a tool for sequence labeling tasks based on "