From 1c7de299f523c8819010fe5fdac345b5878c8658 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20Marci=C5=84czuk?= <marcinczuk@gmail.com>
Date: Mon, 3 Apr 2023 11:39:01 +0200
Subject: [PATCH] Poleval model with default merged sequence generator. Version
 bump to 0.8.0.

---
 process_poleval.py | 1 -
 setup.py           | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/process_poleval.py b/process_poleval.py
index b7a1e04..6afb03d 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 1353d18..d6782b3 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 "
-- 
GitLab