From cdee3c0a22cfe5d8eae214e867aa708b0b042d52 Mon Sep 17 00:00:00 2001 From: Hongbo <12580159+ya0guang@users.noreply.github.com> Date: Wed, 28 Feb 2024 14:28:03 -0500 Subject: [PATCH] bugfix in test: double `data_folder` --- flair/datasets/text_text.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flair/datasets/text_text.py b/flair/datasets/text_text.py index e96a5317e..4c2280088 100644 --- a/flair/datasets/text_text.py +++ b/flair/datasets/text_text.py @@ -991,8 +991,8 @@ def __init__( # rename test file to eval_dataset, since it has no labels os.rename( - str(data_folder / data_folder / "STS-B" / "test.tsv"), - str(data_folder / data_folder / "STS-B" / "eval_dataset.tsv"), + str(data_folder / "STS-B" / "test.tsv"), + str(data_folder / "STS-B" / "eval_dataset.tsv"), ) super().__init__(