Instructions to use D0men1c0/ISSR_Dark_Web_Merged_Models_Content_Thread with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- BERTopic
How to use D0men1c0/ISSR_Dark_Web_Merged_Models_Content_Thread with BERTopic:
from bertopic import BERTopic model = BERTopic.load("D0men1c0/ISSR_Dark_Web_Merged_Models_Content_Thread") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -32,12 +32,7 @@ You can make predictions as follows:
|
|
| 32 |
```python
|
| 33 |
sentence = ["recently closed Samsara market"]
|
| 34 |
topic, _ = topic_model.transform(sentence)
|
| 35 |
-
topic_model.
|
| 36 |
-
```
|
| 37 |
-
|
| 38 |
-
To obtain the name of the topic:
|
| 39 |
-
```python
|
| 40 |
-
topic_model.custom_labels_[topic[0]+1]
|
| 41 |
```
|
| 42 |
|
| 43 |
## Topic overview
|
|
|
|
| 32 |
```python
|
| 33 |
sentence = ["recently closed Samsara market"]
|
| 34 |
topic, _ = topic_model.transform(sentence)
|
| 35 |
+
topic_model.get_topic_info(topic[0])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
```
|
| 37 |
|
| 38 |
## Topic overview
|