Update README.md
Browse files
README.md
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
| 1 |
Usage
|
|
|
|
| 2 |
To use this model, please install BERTopic:
|
| 3 |
|
| 4 |
pip install -U bertopic
|
|
@@ -12,33 +16,56 @@ topic_model = BERTopic.load("kdot/BERTopicTelegramAnalysis")
|
|
| 12 |
topic_model.get_topic_info()
|
| 13 |
|
| 14 |
Topic overview
|
|
|
|
| 15 |
Number of topics: 30
|
|
|
|
| 16 |
Number of training documents: 339650
|
| 17 |
|
| 18 |
Training hyperparameters
|
|
|
|
| 19 |
calculate_probabilities: False
|
|
|
|
| 20 |
language: multilingual
|
|
|
|
| 21 |
low_memory: False
|
|
|
|
| 22 |
min_topic_size: 10
|
|
|
|
| 23 |
n_gram_range: (1, 1)
|
|
|
|
| 24 |
nr_topics: 30
|
|
|
|
| 25 |
seed_topic_list: None
|
|
|
|
| 26 |
top_n_words: 10
|
|
|
|
| 27 |
verbose: True
|
| 28 |
|
| 29 |
Note: When saving the model, make sure to also keep track of the versions of dependencies and Python used.
|
| 30 |
Loading and saving the model should be done using the same dependencies and Python.
|
|
|
|
| 31 |
Moreover, models saved in one version of BERTopic are not guaranteed to load in other versions.
|
| 32 |
|
| 33 |
Framework versions
|
|
|
|
| 34 |
bertopic 0.15.0
|
|
|
|
| 35 |
Numpy: 1.24.4
|
|
|
|
| 36 |
HDBSCAN: 0.8.33
|
|
|
|
| 37 |
UMAP: 0.5.4
|
|
|
|
| 38 |
Pandas: 2.0.3
|
|
|
|
| 39 |
Scikit-Learn: 1.0.2
|
|
|
|
| 40 |
Sentence-transformers: 2.2.2
|
|
|
|
| 41 |
Transformers: 4.33.2
|
|
|
|
| 42 |
Numba: 0.58.0
|
|
|
|
| 43 |
Plotly: 5.17.0
|
|
|
|
| 44 |
Python: 3.8.10
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pipeline_tag: text-classification
|
| 3 |
+
---
|
| 4 |
Usage
|
| 5 |
+
|
| 6 |
To use this model, please install BERTopic:
|
| 7 |
|
| 8 |
pip install -U bertopic
|
|
|
|
| 16 |
topic_model.get_topic_info()
|
| 17 |
|
| 18 |
Topic overview
|
| 19 |
+
|
| 20 |
Number of topics: 30
|
| 21 |
+
|
| 22 |
Number of training documents: 339650
|
| 23 |
|
| 24 |
Training hyperparameters
|
| 25 |
+
|
| 26 |
calculate_probabilities: False
|
| 27 |
+
|
| 28 |
language: multilingual
|
| 29 |
+
|
| 30 |
low_memory: False
|
| 31 |
+
|
| 32 |
min_topic_size: 10
|
| 33 |
+
|
| 34 |
n_gram_range: (1, 1)
|
| 35 |
+
|
| 36 |
nr_topics: 30
|
| 37 |
+
|
| 38 |
seed_topic_list: None
|
| 39 |
+
|
| 40 |
top_n_words: 10
|
| 41 |
+
|
| 42 |
verbose: True
|
| 43 |
|
| 44 |
Note: When saving the model, make sure to also keep track of the versions of dependencies and Python used.
|
| 45 |
Loading and saving the model should be done using the same dependencies and Python.
|
| 46 |
+
|
| 47 |
Moreover, models saved in one version of BERTopic are not guaranteed to load in other versions.
|
| 48 |
|
| 49 |
Framework versions
|
| 50 |
+
|
| 51 |
bertopic 0.15.0
|
| 52 |
+
|
| 53 |
Numpy: 1.24.4
|
| 54 |
+
|
| 55 |
HDBSCAN: 0.8.33
|
| 56 |
+
|
| 57 |
UMAP: 0.5.4
|
| 58 |
+
|
| 59 |
Pandas: 2.0.3
|
| 60 |
+
|
| 61 |
Scikit-Learn: 1.0.2
|
| 62 |
+
|
| 63 |
Sentence-transformers: 2.2.2
|
| 64 |
+
|
| 65 |
Transformers: 4.33.2
|
| 66 |
+
|
| 67 |
Numba: 0.58.0
|
| 68 |
+
|
| 69 |
Plotly: 5.17.0
|
| 70 |
+
|
| 71 |
Python: 3.8.10
|