Add BERTopic model
Browse files- README.md +105 -0
- config.json +14 -0
- topic_embeddings.safetensors +3 -0
- topics.json +0 -0
README.md
ADDED
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
---
|
3 |
+
tags:
|
4 |
+
- bertopic
|
5 |
+
library_name: bertopic
|
6 |
+
pipeline_tag: text-classification
|
7 |
+
---
|
8 |
+
|
9 |
+
# short-arxiv-bertopic
|
10 |
+
|
11 |
+
This is a [BERTopic](https://github.com/MaartenGr/BERTopic) model.
|
12 |
+
BERTopic is a flexible and modular topic modeling framework that allows for the generation of easily interpretable topics from large datasets.
|
13 |
+
|
14 |
+
## Usage
|
15 |
+
|
16 |
+
To use this model, please install BERTopic:
|
17 |
+
|
18 |
+
```
|
19 |
+
pip install -U bertopic
|
20 |
+
```
|
21 |
+
|
22 |
+
You can use the model as follows:
|
23 |
+
|
24 |
+
```python
|
25 |
+
from bertopic import BERTopic
|
26 |
+
topic_model = BERTopic.load("etanios/short-arxiv-bertopic")
|
27 |
+
|
28 |
+
topic_model.get_topic_info()
|
29 |
+
```
|
30 |
+
|
31 |
+
## Topic overview
|
32 |
+
|
33 |
+
* Number of topics: 38
|
34 |
+
* Number of training documents: 9999
|
35 |
+
|
36 |
+
<details>
|
37 |
+
<summary>Click here for an overview of all topics.</summary>
|
38 |
+
|
39 |
+
| Topic ID | Topic Keywords | Topic Frequency | Label |
|
40 |
+
|----------|----------------|-----------------|-------|
|
41 |
+
| -1 | data - learning - model - based - algorithm | 50 | Machine Learning and Data Analysis |
|
42 |
+
| 0 | deep - networks - neural - training - network | 2896 | Advances in Deep Neural Networks for Computer Vision |
|
43 |
+
| 1 | neural - word - model - language - models | 1036 | Neural Language Models |
|
44 |
+
| 2 | regret - bandit - online - algorithm - problem | 755 | Optimization of regret in multi-armed bandit problems |
|
45 |
+
| 3 | policy - reinforcement - reinforcement learning - learning - control | 552 | Reinforcement Learning Policies |
|
46 |
+
| 4 | clustering - clusters - data - means - cluster | 504 | Clustering algorithms and techniques |
|
47 |
+
| 5 | classification - classifiers - class - classifier - ensemble | 463 | Machine Learning Ensembles |
|
48 |
+
| 6 | gradient - stochastic - convex - convergence - optimization | 293 | Optimization techniques for non-convex problems |
|
49 |
+
| 7 | learning - epsilon - distribution - complexity - bounds | 271 | Machine Learning and Complexity |
|
50 |
+
| 8 | matrix - rank - low rank - low - completion | 257 | Matrix Completion and Robust Matrix Completion |
|
51 |
+
| 9 | sparse - dictionary - signal - signals - sensing | 218 | Sparse Coding and Dictionary Learning |
|
52 |
+
| 10 | kernel - kernels - learning - kernel learning - mkl | 185 | Kernel Learning and Multiple Kernels |
|
53 |
+
| 11 | topic - topics - lda - model - topic models | 173 | Topic Modeling and LDA |
|
54 |
+
| 12 | bayesian - structure - bayesian networks - bayesian network - network | 163 | Structure learning of Bayesian networks |
|
55 |
+
| 13 | users - user - recommendation - items - collaborative | 162 | Recommendation Systems: Collaborative Filtering |
|
56 |
+
| 14 | inference - posterior - variational - mcmc - carlo | 157 | Bayesian Inference Techniques |
|
57 |
+
| 15 | feature - selection - feature selection - data - classification | 145 | Data Preparation for Cancer Classification |
|
58 |
+
| 16 | active - active learning - learning - optimization - bayesian optimization | 144 | Active Learning and Optimization |
|
59 |
+
| 17 | lasso - sparse - group - sparsity - regression | 137 | High-dimensional regression with sparsity |
|
60 |
+
| 18 | distributed - ml - communication - machine - data | 126 | Distributed Machine Learning |
|
61 |
+
| 19 | privacy - private - differential privacy - differential - differentially | 117 | Privacy and Data Mining |
|
62 |
+
| 20 | anomaly - detection - anomaly detection - data - anomalies | 99 | Anomaly Detection in Data Sets |
|
63 |
+
| 21 | ranking - rank - items - pairwise - comparisons | 92 | Ranking and Preference Learning |
|
64 |
+
| 22 | metric - metric learning - distance - learning - similarity | 87 | Metric Learning |
|
65 |
+
| 23 | svm - support - support vector - svms - vector | 79 | Efficient and Fast SVM Algorithms |
|
66 |
+
| 24 | hashing - hash - binary - codes - bit | 76 | Large-scale search and indexing using hashing methods |
|
67 |
+
| 25 | graph - graphs - nodes - relational - kernels | 75 | Graph-based Semi-supervised Learning |
|
68 |
+
| 26 | manifold - dimensional - data - manifold learning - embedding | 74 | Manifold Learning and Dimensionality Reduction |
|
69 |
+
| 27 | tensor - decomposition - tensors - rank - tensor decomposition | 74 | Tensor Decomposition and Rank |
|
70 |
+
| 28 | bethe - belief propagation - belief - propagation - bp | 73 | Inference in Graphical Models |
|
71 |
+
| 29 | image - semantic - images - visual - shot | 65 | Zero-shot learning for image recognition |
|
72 |
+
| 30 | gp - gaussian - gaussian process - process - covariance | 65 | Gaussian Processes for Large Data |
|
73 |
+
| 31 | domain - adaptation - domain adaptation - target - source | 64 | Domain Adaptation |
|
74 |
+
| 32 | crowdsourcing - workers - labels - crowd - worker | 56 | Crowdsourced Labeling and Task Assignment |
|
75 |
+
| 33 | causal - variables - data - discovery - cause | 55 | Causal Discovery and Inference |
|
76 |
+
| 34 | label - multi label - multi - labels - multi label classification | 55 | Multi-Label Classification |
|
77 |
+
| 35 | protein - proteins - prediction - structure - amino | 54 | Protein structure prediction and sequence analysis |
|
78 |
+
| 36 | nmf - nonnegative - matrix - nonnegative matrix - factorization | 52 | Nonnegative Matrix Factorization (NMF) |
|
79 |
+
|
80 |
+
</details>
|
81 |
+
|
82 |
+
## Training hyperparameters
|
83 |
+
|
84 |
+
* calculate_probabilities: False
|
85 |
+
* language: None
|
86 |
+
* low_memory: False
|
87 |
+
* min_topic_size: 10
|
88 |
+
* n_gram_range: (1, 1)
|
89 |
+
* nr_topics: None
|
90 |
+
* seed_topic_list: None
|
91 |
+
* top_n_words: 10
|
92 |
+
* verbose: True
|
93 |
+
|
94 |
+
## Framework versions
|
95 |
+
|
96 |
+
* Numpy: 1.23.5
|
97 |
+
* HDBSCAN: 0.8.33
|
98 |
+
* UMAP: 0.5.4
|
99 |
+
* Pandas: 1.5.3
|
100 |
+
* Scikit-Learn: 1.2.2
|
101 |
+
* Sentence-transformers: 2.2.2
|
102 |
+
* Transformers: 4.33.2
|
103 |
+
* Numba: 0.56.4
|
104 |
+
* Plotly: 5.15.0
|
105 |
+
* Python: 3.10.12
|
config.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"calculate_probabilities": false,
|
3 |
+
"language": null,
|
4 |
+
"low_memory": false,
|
5 |
+
"min_topic_size": 10,
|
6 |
+
"n_gram_range": [
|
7 |
+
1,
|
8 |
+
1
|
9 |
+
],
|
10 |
+
"nr_topics": null,
|
11 |
+
"seed_topic_list": null,
|
12 |
+
"top_n_words": 10,
|
13 |
+
"verbose": true
|
14 |
+
}
|
topic_embeddings.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:06c49bccfaf2a27c79887001cab7a5c2d4ed5e99c6bb2b6d224bd25dcb7092e2
|
3 |
+
size 58456
|
topics.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|