Skip to content

Commit 3f349db

Browse files
Fixed refit docs
1 parent 583e58d commit 3f349db

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/finetuning.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ print(type(model))
4949
print(len(model.topic_names))
5050
# 10
5151

52-
model.refit(n_components=20, random_seed=42)
52+
model.refit(corpus, embeddings=embeddings, n_components=20, random_seed=42)
5353
print(len(model.topic_names))
5454
# 20
5555
```

docs/s3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ model.fit(corpus)
128128
print(len(model.topic_names))
129129
# 5
130130

131-
model.refit(n_components=10, random_state=30)
131+
model.refit(corpus, n_components=10, random_state=30)
132132
print(len(model.topic_names))
133133
# 10
134134
```

0 commit comments

Comments
 (0)