Skip to content

Commit

Permalink
Merge pull request #3412 from ya0guang/patch-1
Browse files Browse the repository at this point in the history
bugfix in test: double `data_folder`
  • Loading branch information
alanakbik authored Mar 6, 2024
2 parents 950bfa2 + cdee3c0 commit 595d94a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flair/datasets/text_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__(
Expand Down

0 comments on commit 595d94a

Please sign in to comment.