From 6872e6a60572c684413288b7b1161b891abf40e5 Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 18 Feb 2025 16:12:59 +0000 Subject: [PATCH] :art: Format Python code with psf/black --- bertrend/BERTrend.py | 1 - 1 file changed, 1 deletion(-) diff --git a/bertrend/BERTrend.py b/bertrend/BERTrend.py index 8e1083b..bef78fb 100644 --- a/bertrend/BERTrend.py +++ b/bertrend/BERTrend.py @@ -629,7 +629,6 @@ def save_models(self, models_path: Path = MODELS_DIR): topic_model.doc_info_df.to_pickle(model_dir / DOC_INFO_DF_FILE) topic_model.topic_info_df.to_pickle(model_dir / TOPIC_INFO_DF_FILE) - # Serialize BERTrend (excluding topic models for separate reuse if needed) topic_models_bak = copy.deepcopy(self.topic_models) # FIXME: the code above introduced a too-heavy memory overhead, to be improved; the idea is to serialize