Skip to content
Merged

v0.14 #977

Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Improved testing
  • Loading branch information
MaartenGr committed Feb 3, 2023
commit b8042542080ba7aff89c9414e4cfdbf53701d879
3 changes: 2 additions & 1 deletion tests/test_bertopic.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ def test_full_model(model, documents, request):
original_topic = topic_model.get_topic(1)[:10]

assert topic != updated_topic
assert topic == original_topic
if topic_model.representation_model is not None:
assert topic != original_topic

# Test updating topic labels
topic_labels = topic_model.generate_topic_labels(nr_words=3, topic_prefix=False, word_length=10, separator=", ")
Expand Down