From 301603b5810c037da93dba67a6cf77a7fa686589 Mon Sep 17 00:00:00 2001 From: Tom Aarsen <37621491+tomaarsen@users.noreply.github.com> Date: Mon, 13 Jan 2025 11:21:51 +0100 Subject: [PATCH] [`fix`] Prevent report_to="none" from being ignored (#570) --- src/setfit/training_args.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/setfit/training_args.py b/src/setfit/training_args.py index 421b9e5e..d6a3aa41 100644 --- a/src/setfit/training_args.py +++ b/src/setfit/training_args.py @@ -243,8 +243,6 @@ def __post_init__(self) -> None: if self.report_to in (None, "all", ["all"]): self.report_to = get_available_reporting_integrations() - elif self.report_to in ("none", ["none"]): - self.report_to = [] elif not isinstance(self.report_to, list): self.report_to = [self.report_to]