Skip to content

Commit

Permalink
🎨 Format Python code with psf/black
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions authored and dsia-dev committed Feb 24, 2025
1 parent 1a5d6fa commit 6872e6a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion bertrend/BERTrend.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6872e6a

Please sign in to comment.