CCatalao commited on
Commit
d3ea2b8
1 Parent(s): db2f3da

Add BERTopic model

Browse files
Files changed (4) hide show
  1. README.md +179 -0
  2. config.json +15 -0
  3. topic_embeddings.safetensors +3 -0
  4. topics.json +0 -0
README.md ADDED
@@ -0,0 +1,179 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ tags:
4
+ - bertopic
5
+ library_name: bertopic
6
+ pipeline_tag: text-classification
7
+ ---
8
+
9
+ # respapers_topics
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("CCatalao/respapers_topics")
27
+
28
+ topic_model.get_topic_info()
29
+ ```
30
+
31
+ ## Topic overview
32
+
33
+ * Number of topics: 112
34
+ * Number of training documents: 29961
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 - model - paper - time - based | 20 | -1_data_model_paper_time |
42
+ | 0 | spin - magnetic - phase - quantum - temperature | 12937 | 0_spin_magnetic_phase_quantum |
43
+ | 1 | mass - star - stars - 10 - stellar | 3048 | 1_mass_star_stars_10 |
44
+ | 2 | reinforcement - reinforcement learning - learning - policy - robot | 2564 | 2_reinforcement_reinforcement learning_learning_policy |
45
+ | 3 | logic - semantics - programs - automata - languages | 556 | 3_logic_semantics_programs_automata |
46
+ | 4 | neural - networks - neural networks - deep - training | 478 | 4_neural_networks_neural networks_deep |
47
+ | 5 | networks - community - network - social - nodes | 405 | 5_networks_community_network_social |
48
+ | 6 | word - translation - language - words - sentence | 340 | 6_word_translation_language_words |
49
+ | 7 | object - 3d - camera - pose - localization | 298 | 7_object_3d_camera_pose |
50
+ | 8 | classification - label - classifier - learning - classifiers | 294 | 8_classification_label_classifier_learning |
51
+ | 9 | convex - gradient - stochastic - convergence - optimization | 287 | 9_convex_gradient_stochastic_convergence |
52
+ | 10 | graphs - graph - vertices - vertex - edge | 284 | 10_graphs_graph_vertices_vertex |
53
+ | 11 | brain - neurons - connectivity - neural - synaptic | 273 | 11_brain_neurons_connectivity_neural |
54
+ | 12 | robots - robot - planning - control - motion | 255 | 12_robots_robot_planning_control |
55
+ | 13 | prime - numbers - polynomials - integers - zeta | 245 | 13_prime_numbers_polynomials_integers |
56
+ | 14 | tensor - rank - matrix - low rank - pca | 226 | 14_tensor_rank_matrix_low rank |
57
+ | 15 | power - energy - grid - renewable - load | 222 | 15_power_energy_grid_renewable |
58
+ | 16 | channel - power - mimo - interference - wireless | 219 | 16_channel_power_mimo_interference |
59
+ | 17 | adversarial - attacks - adversarial examples - attack - examples | 208 | 17_adversarial_attacks_adversarial examples_attack |
60
+ | 18 | gan - gans - generative - generative adversarial - adversarial | 200 | 18_gan_gans_generative_generative adversarial |
61
+ | 19 | media - social - twitter - users - social media | 196 | 19_media_social_twitter_users |
62
+ | 20 | posterior - monte - monte carlo - carlo - bayesian | 190 | 20_posterior_monte_monte carlo_carlo |
63
+ | 21 | estimator - estimators - regression - quantile - estimation | 189 | 21_estimator_estimators_regression_quantile |
64
+ | 22 | software - code - developers - projects - development | 178 | 22_software_code_developers_projects |
65
+ | 23 | regret - bandit - armed - arm - multi armed | 177 | 23_regret_bandit_armed_arm |
66
+ | 24 | omega - mathbb - solutions - boundary - equation | 177 | 24_omega_mathbb_solutions_boundary |
67
+ | 25 | numerical - scheme - mesh - method - order | 175 | 25_numerical_scheme_mesh_method |
68
+ | 26 | causal - treatment - outcome - effects - causal inference | 174 | 26_causal_treatment_outcome_effects |
69
+ | 27 | curvature - mean curvature - riemannian - ricci - metric | 164 | 27_curvature_mean curvature_riemannian_ricci |
70
+ | 28 | control - distributed - systems - consensus - agents | 156 | 28_control_distributed_systems_consensus |
71
+ | 29 | groups - group - subgroup - subgroups - finite | 153 | 29_groups_group_subgroup_subgroups |
72
+ | 30 | segmentation - images - image - convolutional - medical | 148 | 30_segmentation_images_image_convolutional |
73
+ | 31 | market - portfolio - asset - price - volatility | 144 | 31_market_portfolio_asset_price |
74
+ | 32 | recommendation - user - item - items - recommender | 138 | 32_recommendation_user_item_items |
75
+ | 33 | algebra - algebras - lie - mathfrak - modules | 131 | 33_algebra_algebras_lie_mathfrak |
76
+ | 34 | quantum - classical - circuits - annealing - circuit | 121 | 34_quantum_classical_circuits_annealing |
77
+ | 35 | moduli - varieties - projective - curves - bundles | 119 | 35_moduli_varieties_projective_curves |
78
+ | 36 | graph - embedding - node - graphs - network | 117 | 36_graph_embedding_node_graphs |
79
+ | 37 | codes - decoding - channel - code - capacity | 113 | 37_codes_decoding_channel_code |
80
+ | 38 | sparse - signal - recovery - sensing - measurements | 107 | 38_sparse_signal_recovery_sensing |
81
+ | 39 | knot - knots - homology - invariants - link | 103 | 39_knot_knots_homology_invariants |
82
+ | 40 | spaces - hardy - operators - mathbb - boundedness | 95 | 40_spaces_hardy_operators_mathbb |
83
+ | 41 | blockchain - security - privacy - authentication - encryption | 90 | 41_blockchain_security_privacy_authentication |
84
+ | 42 | turbulence - turbulent - flow - flows - reynolds | 89 | 42_turbulence_turbulent_flow_flows |
85
+ | 43 | privacy - differential privacy - private - differential - data | 86 | 43_privacy_differential privacy_private_differential |
86
+ | 44 | epidemic - disease - infection - infected - infectious | 83 | 44_epidemic_disease_infection_infected |
87
+ | 45 | citation - scientific - research - journal - papers | 82 | 45_citation_scientific_research_journal |
88
+ | 46 | surface - droplet - fluid - liquid - droplets | 81 | 46_surface_droplet_fluid_liquid |
89
+ | 47 | chemical - molecules - molecular - protein - learning | 79 | 47_chemical_molecules_molecular_protein |
90
+ | 48 | kähler - manifolds - manifold - complex - metrics | 77 | 48_kähler_manifolds_manifold_complex |
91
+ | 49 | games - game - players - nash - player | 74 | 49_games_game_players_nash |
92
+ | 50 | patients - patient - clinical - ehr - care | 73 | 50_patients_patient_clinical_ehr |
93
+ | 51 | music - musical - audio - chord - note | 70 | 51_music_musical_audio_chord |
94
+ | 52 | visual - shot - image - cnns - learning | 70 | 52_visual_shot_image_cnns |
95
+ | 53 | speaker - speech - end - recognition - speech recognition | 70 | 53_speaker_speech_end_recognition |
96
+ | 54 | cell - cells - tissue - active - tumor | 69 | 54_cell_cells_tissue_active |
97
+ | 55 | eeg - brain - signals - sleep - subjects | 69 | 55_eeg_brain_signals_sleep |
98
+ | 56 | fairness - fair - discrimination - decision - algorithmic | 67 | 56_fairness_fair_discrimination_decision |
99
+ | 57 | clustering - clusters - data - based clustering - cluster | 66 | 57_clustering_clusters_data_based clustering |
100
+ | 58 | relativity - black - solutions - einstein - spacetime | 65 | 58_relativity_black_solutions_einstein |
101
+ | 59 | mathbb - curves - elliptic - conjecture - fields | 62 | 59_mathbb_curves_elliptic_conjecture |
102
+ | 60 | stokes - navier - navier stokes - equations - stokes equations | 61 | 60_stokes_navier_navier stokes_equations |
103
+ | 61 | species - population - dispersal - ecosystem - populations | 60 | 61_species_population_dispersal_ecosystem |
104
+ | 62 | reconstruction - ct - artifacts - image - images | 58 | 62_reconstruction_ct_artifacts_image |
105
+ | 63 | algebra - algebras - mathcal - alpha - crossed | 58 | 63_algebra_algebras_mathcal_alpha |
106
+ | 64 | tiling - polytopes - set - polygon - polytope | 58 | 64_tiling_polytopes_set_polygon |
107
+ | 65 | mobile - video - network - latency - computing | 57 | 65_mobile_video_network_latency |
108
+ | 66 | latent - variational - vae - generative - inference | 55 | 66_latent_variational_vae_generative |
109
+ | 67 | players - game - team - player - teams | 54 | 67_players_game_team_player |
110
+ | 68 | genes - gene - cancer - expression - sequencing | 53 | 68_genes_gene_cancer_expression |
111
+ | 69 | forcing - kappa - definable - cardinal - zfc | 51 | 69_forcing_kappa_definable_cardinal |
112
+ | 70 | dna - protein - folding - proteins - molecule | 50 | 70_dna_protein_folding_proteins |
113
+ | 71 | spaces - space - metric - metric spaces - topology | 49 | 71_spaces_space_metric_metric spaces |
114
+ | 72 | speech - separation - source separation - enhancement - speaker | 49 | 72_speech_separation_source separation_enhancement |
115
+ | 73 | imaging - resolution - light - diffraction - phase | 47 | 73_imaging_resolution_light_diffraction |
116
+ | 74 | traffic - traffic flow - prediction - temporal - transportation | 46 | 74_traffic_traffic flow_prediction_temporal |
117
+ | 75 | climate - precipitation - sea - flood - extreme | 45 | 75_climate_precipitation_sea_flood |
118
+ | 76 | audio - sound - event detection - event - bird | 43 | 76_audio_sound_event detection_event |
119
+ | 77 | memory - storage - cache - performance - write | 40 | 77_memory_storage_cache_performance |
120
+ | 78 | wishart - matrices - eigenvalue - free - smallest | 39 | 78_wishart_matrices_eigenvalue_free |
121
+ | 79 | domain - domain adaptation - adaptation - transfer - target | 39 | 79_domain_domain adaptation_adaptation_transfer |
122
+ | 80 | glass - glasses - glassy - amorphous - liquids | 39 | 80_glass_glasses_glassy_amorphous |
123
+ | 81 | gpu - gpus - nvidia - code - performance | 38 | 81_gpu_gpus_nvidia_code |
124
+ | 82 | face - face recognition - facial - recognition - faces | 38 | 82_face_face recognition_facial_recognition |
125
+ | 83 | stock - market - price - financial - stocks | 37 | 83_stock_market_price_financial |
126
+ | 84 | reaction - flux - metabolic - growth - biochemical | 34 | 84_reaction_flux_metabolic_growth |
127
+ | 85 | fleet - routing - vehicles - ride - traffic | 34 | 85_fleet_routing_vehicles_ride |
128
+ | 86 | cooperation - evolutionary - game - social - payoff | 33 | 86_cooperation_evolutionary_game_social |
129
+ | 87 | students - courses - student - course - education | 33 | 87_students_courses_student_course |
130
+ | 88 | action - temporal - video - recognition - videos | 33 | 88_action_temporal_video_recognition |
131
+ | 89 | irreducible - group - mathcal - representations - let | 32 | 89_irreducible_group_mathcal_representations |
132
+ | 90 | phylogenetic - tree - trees - species - gene | 32 | 90_phylogenetic_tree_trees_species |
133
+ | 91 | processes - drift - asymptotic - estimators - stationary | 31 | 91_processes_drift_asymptotic_estimators |
134
+ | 92 | wave - waves - water - free surface - shallow water | 30 | 92_wave_waves_water_free surface |
135
+ | 93 | distributed - gradient - byzantine - communication - sgd | 30 | 93_distributed_gradient_byzantine_communication |
136
+ | 94 | voters - voting - election - voter - winner | 30 | 94_voters_voting_election_voter |
137
+ | 95 | gaussian process - gaussian - gp - process - gaussian processes | 30 | 95_gaussian process_gaussian_gp_process |
138
+ | 96 | mathfrak - gorenstein - ring - rings - modules | 29 | 96_mathfrak_gorenstein_ring_rings |
139
+ | 97 | motivic - gw - cohomology - dm - category | 29 | 97_motivic_gw_cohomology_dm |
140
+ | 98 | recurrent - lstm - rnn - recurrent neural - memory | 28 | 98_recurrent_lstm_rnn_recurrent neural |
141
+ | 99 | semigroup - semigroups - xy - ordered - pt | 27 | 99_semigroup_semigroups_xy_ordered |
142
+ | 100 | robot - robots - human - human robot - children | 25 | 100_robot_robots_human_human robot |
143
+ | 101 | categories - category - homotopy - functor - grothendieck | 25 | 101_categories_category_homotopy_functor |
144
+ | 102 | queue - queues - server - scheduling - customer | 24 | 102_queue_queues_server_scheduling |
145
+ | 103 | topic - topics - topic modeling - lda - documents | 24 | 103_topic_topics_topic modeling_lda |
146
+ | 104 | synchronization - oscillators - chimera - coupling - coupled | 24 | 104_synchronization_oscillators_chimera_coupling |
147
+ | 105 | stochastic - existence - equation - solutions - uniqueness | 24 | 105_stochastic_existence_equation_solutions |
148
+ | 106 | fractional - derivative - derivatives - integral - psi | 23 | 106_fractional_derivative_derivatives_integral |
149
+ | 107 | lasso - regression - estimator - estimators - bootstrap | 23 | 107_lasso_regression_estimator_estimators |
150
+ | 108 | soil - moisture - machine - resolution - seismic | 22 | 108_soil_moisture_machine_resolution |
151
+ | 109 | bayesian optimization - optimization - acquisition - bayesian - bo | 21 | 109_bayesian optimization_optimization_acquisition_bayesian |
152
+ | 110 | urban - city - mobility - cities - social | 21 | 110_urban_city_mobility_cities |
153
+
154
+ </details>
155
+
156
+ ## Training hyperparameters
157
+
158
+ * calculate_probabilities: False
159
+ * language: None
160
+ * low_memory: False
161
+ * min_topic_size: 10
162
+ * n_gram_range: (1, 1)
163
+ * nr_topics: None
164
+ * seed_topic_list: None
165
+ * top_n_words: 10
166
+ * verbose: True
167
+
168
+ ## Framework versions
169
+
170
+ * Numpy: 1.22.4
171
+ * HDBSCAN: 0.8.33
172
+ * UMAP: 0.5.3
173
+ * Pandas: 1.5.3
174
+ * Scikit-Learn: 1.2.2
175
+ * Sentence-transformers: 2.2.2
176
+ * Transformers: 4.29.2
177
+ * Numba: 0.56.4
178
+ * Plotly: 5.13.1
179
+ * Python: 3.10.11
config.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "embedding_model": "sentence-transformers/all-MiniLM-L6-v2"
15
+ }
topic_embeddings.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a385e60ba20043e9956256f27c2bc9d3d7a20118ee8ef26a73ab0bccd52061ef
3
+ size 172120
topics.json ADDED
The diff for this file is too large to render. See raw diff