Instructions to use vancevo/my-bertopic-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- BERTopic
How to use vancevo/my-bertopic-model with BERTopic:
from bertopic import BERTopic model = BERTopic.load("vancevo/my-bertopic-model") - Notebooks
- Google Colab
- Kaggle
| tags: | |
| - bertopic | |
| library_name: bertopic | |
| pipeline_tag: text-classification | |
| # my-bertopic-model | |
| This is a [BERTopic](https://github.com/MaartenGr/BERTopic) model. | |
| BERTopic is a flexible and modular topic modeling framework that allows for the generation of easily interpretable topics from large datasets. | |
| ## Usage | |
| To use this model, please install BERTopic: | |
| ``` | |
| pip install -U bertopic | |
| ``` | |
| You can use the model as follows: | |
| ```python | |
| from bertopic import BERTopic | |
| topic_model = BERTopic.load("vancevo/my-bertopic-model") | |
| topic_model.get_topic_info() | |
| ``` | |
| ## Topic overview | |
| * Number of topics: 77 | |
| * Number of training documents: 1000 | |
| <details> | |
| <summary>Click here for an overview of all topics.</summary> | |
| | Topic ID | Topic Keywords | Topic Frequency | Label | | |
| |----------|----------------|-----------------|-------| | |
| | -1 | misunderstanding - common - points - activity - direction | 11 | -1_misunderstanding_common_points_activity | | |
| | 0 | measured - mass - chemical - system - conservation | 8 | 0_measured_mass_chemical_system | | |
| | 1 | green - photosynthesis - plants - energy - light | 37 | 1_green_photosynthesis_plants_energy | | |
| | 2 | activity - enzyme - occur - cells - as | 23 | 2_activity_enzyme_occur_cells | | |
| | 3 | temperature - scale - ph - strength - different | 19 | 3_temperature_scale_ph_strength | | |
| | 4 | misunderstanding - common - about - division - mitosis | 16 | 4_misunderstanding_common_about_division | | |
| | 5 | affect - conditions - strongly - most - change | 14 | 5_affect_conditions_strongly_most | | |
| | 6 | observed - lead - can - enzyme - activity | 13 | 6_observed_lead_can_enzyme | | |
| | 7 | slows - extreme - important - heat - down | 13 | 7_slows_extreme_important_heat | | |
| | 8 | copied - chromosomes - then - separated - correctly | 13 | 8_copied_chromosomes_then_separated | | |
| | 9 | leaf - enough - help - sugar - cannot | 13 | 9_leaf_enough_help_sugar | | |
| | 10 | affect - conditions - strongly - most - change | 13 | 10_affect_conditions_strongly_most | | |
| | 11 | ph - strength - base - work - acid | 13 | 11_ph_strength_base_work | | |
| | 12 | whether - acidic - or - important - base | 13 | 12_whether_acidic_or_important | | |
| | 13 | lead - can - strength - ph - base | 13 | 13_lead_can_strength_ph | | |
| | 14 | solution - changes - ph - happen - if | 13 | 14_solution_changes_ph_happen | | |
| | 15 | than - ph - larger - acidic - number | 13 | 15_than_ph_larger_acidic | | |
| | 16 | strength - base - acid - explanation - ph | 13 | 16_strength_base_acid_explanation | | |
| | 17 | happens - container - produces - gas - closed | 13 | 17_happens_container_produces_gas | | |
| | 18 | conservation - behind - chemical - mass - main | 13 | 18_conservation_behind_chemical_mass | | |
| | 19 | you - ideas - using - classmate - mitosis | 13 | 19_you_ideas_using_classmate | | |
| | 20 | matter - disappearing - different - forms - gas | 13 | 20_matter_disappearing_different_forms | | |
| | 21 | meiosis - reduces - different - chromosome - number | 13 | 21_meiosis_reduces_different_chromosome | | |
| | 22 | occur - expected - problem - division - appears | 13 | 22_occur_expected_problem_division | | |
| | 23 | outputs - do - inputs - key - relate | 13 | 23_outputs_do_inputs_key | | |
| | 24 | you - ideas - explain - using - chemical | 13 | 24_you_ideas_explain_using | | |
| | 25 | outputs - do - inputs - key - mass | 13 | 25_outputs_do_inputs_key | | |
| | 26 | classmate - you - ideas - using - selection | 13 | 26_classmate_you_ideas_using | | |
| | 27 | body - important - growth - repair - for | 13 | 27_body_important_growth_repair | | |
| | 28 | mitosis - division - during - behind - cell | 13 | 28_mitosis_division_during_behind | | |
| | 29 | half - four - makes - chromosome - number | 13 | 29_half_four_makes_chromosome | | |
| | 30 | lead - can - chemical - conservation - result | 13 | 30_lead_can_chemical_conservation | | |
| | 31 | gas - decreases - forms - count - because | 13 | 31_gas_decreases_forms_count | | |
| | 32 | explanation - chemical - conservation - best - support | 13 | 32_explanation_chemical_conservation_best | | |
| | 33 | explanation - evidence - support - best - division | 13 | 33_explanation_evidence_support_best | | |
| | 34 | occur - expected - problem - chemical - appears | 13 | 34_occur_expected_problem_chemical | | |
| | 35 | misunderstanding - common - about - chemical - mass | 13 | 35_misunderstanding_common_about_chemical | | |
| | 36 | acidic - or - help - whether - solution | 13 | 36_acidic_or_help_whether | | |
| | 37 | help - growth - repair - body - for | 13 | 37_help_growth_repair_body | | |
| | 38 | cellular - respiration - different - green - plants | 13 | 38_cellular_respiration_different_green | | |
| | 39 | cannot - leaf - enough - important - sugar | 12 | 39_cannot_leaf_enough_important | | |
| | 40 | receives - no - plant - carbon - light | 12 | 40_receives_no_plant_carbon | | |
| | 41 | misunderstanding - common - green - plants - photosynthesis | 12 | 41_misunderstanding_common_green_plants | | |
| | 42 | observed - lead - can - green - plants | 12 | 42_observed_lead_can_green | | |
| | 43 | explanation - plants - green - photosynthesis - best | 12 | 43_explanation_plants_green_photosynthesis | | |
| | 44 | break - process - down - use - energy | 12 | 44_break_process_down_use | | |
| | 45 | affect - conditions - strongly - most - change | 12 | 45_affect_conditions_strongly_most | | |
| | 46 | classmate - you - ideas - explain - using | 12 | 46_classmate_you_ideas_explain | | |
| | 47 | occur - expected - problem - as - appears | 12 | 47_occur_expected_problem_as | | |
| | 48 | outputs - do - inputs - key - green | 12 | 48_outputs_do_inputs_key | | |
| | 49 | explanation - evidence - best - support - populations | 12 | 49_explanation_evidence_best_support | | |
| | 50 | do - outputs - inputs - key - selection | 12 | 50_do_outputs_inputs_key | | |
| | 51 | occur - as - populations - selection - expected | 12 | 51_occur_as_populations_selection | | |
| | 52 | its - life - traits - organism - changes | 12 | 52_its_life_traits_organism | | |
| | 53 | shape - temperature - changes - becomes - high | 12 | 53_shape_temperature_changes_becomes | | |
| | 54 | permanent - caused - different - heat - by | 12 | 54_permanent_caused_different_heat | | |
| | 55 | help - extreme - slows - heat - down | 12 | 55_help_extreme_slows_heat | | |
| | 56 | work - division - during - mitosis - cell | 12 | 56_work_division_during_mitosis | | |
| | 57 | natural - work - populations - selection - variation | 12 | 57_natural_work_populations_selection | | |
| | 58 | helpful - generations - help - over - trait | 12 | 58_helpful_generations_help_over | | |
| | 59 | observed - lead - can - selection - populations | 12 | 59_observed_lead_can_selection | | |
| | 60 | misunderstanding - common - populations - selection - natural | 12 | 60_misunderstanding_common_populations_selection | | |
| | 61 | changing - lowers - reproduction - survival - environment | 12 | 61_changing_lowers_reproduction_survival | | |
| | 62 | random - every - equally - affects - change | 12 | 62_random_every_equally_affects | | |
| | 63 | helpful - trait - generations - important - over | 12 | 63_helpful_trait_generations_important | | |
| | 64 | explanation - activity - enzyme - evidence - best | 12 | 64_explanation_activity_enzyme_evidence | | |
| | 65 | disappear - after - enzymes - consumed - one | 12 | 65_disappear_after_enzymes_consumed | | |
| | 66 | selection - natural - populations - behind - main | 12 | 66_selection_natural_populations_behind | | |
| | 67 | affect - conditions - strongly - most - change | 12 | 67_affect_conditions_strongly_most | | |
| | 68 | classmate - you - ideas - activity - explain | 12 | 68_classmate_you_ideas_activity | | |
| | 69 | lead - can - division - during - mitosis | 12 | 69_lead_can_division_during | | |
| | 70 | strength - ph - base - acid - behind | 12 | 70_strength_ph_base_acid | | |
| | 71 | misunderstanding - common - base - strength - acid | 12 | 71_misunderstanding_common_base_strength | | |
| | 72 | do - outputs - inputs - each - other | 12 | 72_do_outputs_inputs_each | | |
| | 73 | do - outputs - inputs - key - acid | 12 | 73_do_outputs_inputs_key | | |
| | 74 | behind - activity - enzyme - main - idea | 12 | 74_behind_activity_enzyme_main | | |
| | 75 | work - enzyme - activity - cells - specific | 11 | 75_work_enzyme_activity_cells | | |
| </details> | |
| ## Training hyperparameters | |
| * calculate_probabilities: False | |
| * language: None | |
| * low_memory: False | |
| * min_topic_size: 10 | |
| * n_gram_range: (1, 1) | |
| * nr_topics: None | |
| * seed_topic_list: None | |
| * top_n_words: 10 | |
| * verbose: False | |
| * zeroshot_min_similarity: 0.7 | |
| * zeroshot_topic_list: None | |
| ## Framework versions | |
| * Numpy: 2.0.2 | |
| * HDBSCAN: 0.8.41 | |
| * UMAP: 0.5.11 | |
| * Pandas: 2.3.3 | |
| * Scikit-Learn: 1.6.1 | |
| * Sentence-transformers: 5.2.3 | |
| * Transformers: 5.0.0 | |
| * Numba: 0.60.0 | |
| * Plotly: 5.24.1 | |
| * Python: 3.12.12 | |