Skip to content

Commit

Permalink
Fixed bug with embeddings
Browse files Browse the repository at this point in the history
  • Loading branch information
x-tabdeveloping committed Aug 2, 2024
1 parent 7d98e12 commit 10d2711
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion turftopic/models/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,8 @@ def fit_predict(
if embeddings is None:
status.update("Encoding documents")
embeddings = self.encoder_.encode(raw_documents)
self.embeddings = embeddings
console.log("Encoding done.")
self.embeddings = embeddings
status.update("Extracting terms")
self.doc_term_matrix = self.vectorizer.fit_transform(raw_documents)
console.log("Term extraction done.")
Expand Down

0 comments on commit 10d2711

Please sign in to comment.