Update README.md
Browse files
README.md
CHANGED
|
@@ -6,20 +6,16 @@ pipeline_tag: text-classification
|
|
| 6 |
|
| 7 |
To use this model, please install BERTopic:
|
| 8 |
|
| 9 |
-
```
|
| 10 |
-
|
| 11 |
-
|
| 12 |
You can use the model as follows:
|
| 13 |
|
| 14 |
-
```
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
```
|
| 18 |
-
topic_model
|
| 19 |
-
|
| 20 |
-
```bash
|
| 21 |
-
topic_model.get_topic_info()
|
| 22 |
-
|
| 23 |
Topic overview
|
| 24 |
|
| 25 |
Number of topics: 30
|
|
|
|
| 6 |
|
| 7 |
To use this model, please install BERTopic:
|
| 8 |
|
| 9 |
+
```pip install bertopic
|
| 10 |
+
```
|
|
|
|
| 11 |
You can use the model as follows:
|
| 12 |
|
| 13 |
+
```from bertopic import BERTopic
|
| 14 |
+
```
|
| 15 |
+
```topic_model = BERTopic.load("Alprocco/semi_supervised_bertopic")
|
| 16 |
+
```
|
| 17 |
+
```topic_model.get_topic_info()
|
| 18 |
+
```
|
|
|
|
|
|
|
|
|
|
| 19 |
Topic overview
|
| 20 |
|
| 21 |
Number of topics: 30
|