Update README.md
Browse files
README.md
CHANGED
@@ -26,7 +26,7 @@ Hierarchy of topics:
|
|
26 |
To use this model, please install BERTopic:
|
27 |
|
28 |
```
|
29 |
-
pip install -U bertopic
|
30 |
```
|
31 |
|
32 |
You can use the model as follows:
|
@@ -35,7 +35,10 @@ You can use the model as follows:
|
|
35 |
from bertopic import BERTopic
|
36 |
topic_model = BERTopic.load("pszemraj/BERTopic-summcomparer-gauntlet-v0p1-sentence-t5-xl-summary")
|
37 |
|
38 |
-
topic_model.
|
|
|
|
|
|
|
39 |
```
|
40 |
|
41 |
## Topic overview
|
|
|
26 |
To use this model, please install BERTopic:
|
27 |
|
28 |
```
|
29 |
+
pip install -U -q bertopic safetensors
|
30 |
```
|
31 |
|
32 |
You can use the model as follows:
|
|
|
35 |
from bertopic import BERTopic
|
36 |
topic_model = BERTopic.load("pszemraj/BERTopic-summcomparer-gauntlet-v0p1-sentence-t5-xl-summary")
|
37 |
|
38 |
+
topic_model.visualize_topics()
|
39 |
+
|
40 |
+
# for dataframe:
|
41 |
+
# topic_model.get_topic_info()
|
42 |
```
|
43 |
|
44 |
## Topic overview
|