
# custom-moderation-metatopics-en

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("jaimevera1107/custom-moderation-metatopics-en")

topic_model.get_topic_info()
```

## Topic overview

* Number of topics: 40
* Number of training documents: 1606

<details>
  <summary>Click here for an overview of all topics.</summary>
  
  | Topic ID | Topic Keywords | Topic Frequency | Label | 
|----------|----------------|-----------------|-------| 
| 0 | explicit erotic - adult explicit - erotic - undressing - gratification | 155 | 0_explicit erotic_adult explicit_erotic_undressing | 
| 1 | hate - hateful - slur - degrading - slurs | 91 | 1_hate_hateful_slur_degrading | 
| 2 | traffic - artificial traffic - artificial - low - scary | 87 | 2_traffic_artificial traffic_artificial_low | 
| 3 | suicide - self harm - suicide self - self - eating | 85 | 3_suicide_self harm_suicide self_self | 
| 4 | nudity - adult nudity - nudity adult - nudity implied - nude | 63 | 4_nudity_adult nudity_nudity adult_nudity implied | 
| 5 | non consensual - consensual - involving minor - promotion non - consensual sexual | 60 | 5_non consensual_consensual_involving minor_promotion non | 
| 6 | animal - animals - slaughter - animals animal - animal mutilation | 58 | 6_animal_animals_slaughter_animals animal | 
| 7 | sexual harassment - trafficking - human trafficking - harassment - sexual exploitation | 57 | 7_sexual harassment_trafficking_human trafficking_harassment | 
| 8 | identifiable - identifiable information - personally - personally identifiable - personal | 56 | 8_identifiable_identifiable information_personally_personally identifiable | 
| 9 | dangerous - harm dangerous - promotion dangerous - stunts - lead | 52 | 9_dangerous_harm dangerous_promotion dangerous_stunts | 
| 10 | suspected - going live - going - age - live | 51 | 10_suspected_going live_going_age | 
| 11 | exploitation - child - endangerment - neglect - abuse | 51 | 11_exploitation_child_endangerment_neglect | 
| 12 | child pornography - toddlers - nudity minor - partial - explicit content | 46 | 12_child pornography_toddlers_nudity minor_partial | 
| 13 | terrorism - terrorist - nuclear - terrorist organizations - organizations | 46 | 13_terrorism_terrorist_nuclear_terrorist organizations | 
| 14 | destruction - property - firearms - destruction property - damage | 45 | 14_destruction_property_firearms_destruction property | 
| 15 | false - conspiracy - misinformation - political - claims | 43 | 15_false_conspiracy_misinformation_political | 
| 16 | drug - substances - drugs - controlled - drugs controlled | 41 | 16_drug_substances_drugs_controlled | 
| 17 | violent - violent fighting - violence - fighting - threat | 41 | 17_violent_violent fighting_violence_fighting | 
| 18 | intellectual property - intellectual - stolen - copyright - copyrighted | 41 | 18_intellectual property_intellectual_stolen_copyright | 
| 19 | gore - human body - shocking - mutilated human - blood | 38 | 19_gore_human body_shocking_mutilated human | 
| 20 | crime - criminal - criminal activities - theft - crimes | 37 | 20_crime_criminal_criminal activities_theft | 
| 21 | sexual language - language adult - sex education - terms - education | 37 | 21_sexual language_language adult_sex education_terms | 
| 22 | pornography - adult pornography - pornography promotion - links - generated pornography | 33 | 22_pornography_adult pornography_pornography promotion_links | 
| 23 | culturally - cultural - appropriate - culturally appropriate - clothing | 30 | 23_culturally_cultural_appropriate_culturally appropriate | 
| 24 | alcohol products - tobacco - alcohol - products - consumption | 27 | 24_alcohol products_tobacco_alcohol_products | 
| 25 | uninformative content - brand - uninformative - limited content - qr code | 25 | 25_uninformative content_brand_uninformative_limited content | 
| 26 | operations - homicide - death - torture - enforcement | 23 | 26_operations_homicide_death_torture | 
| 27 | consuming - minor tobacco - possession - drinking minor - drinking | 21 | 27_consuming_minor tobacco_possession_drinking minor | 
| 28 | controversial - social - opposing - content intended - political social | 19 | 28_controversial_social_opposing_content intended | 
| 29 | grooming - pedophilia - minors grooming - relationship - grooming behavior | 18 | 29_grooming_pedophilia_minors grooming_relationship | 
| 30 | platforms - ads - party platforms - direction - commercial | 17 | 30_platforms_ads_party platforms_direction | 
| 31 | bullying - bullying statements - statements - cyberbullying - statements targeting | 17 | 31_bullying_bullying statements_statements_cyberbullying | 
| 32 | scams - frauds scams - frauds - schemes - scams promotion | 16 | 32_scams_frauds scams_frauds_schemes | 
| 33 | hacking - malware - phishing - reported hacking - ransomware distribution | 15 | 33_hacking_malware_phishing_reported hacking | 
| 34 | harassment - threats harassment - threats - harassment proxy - disclosure harassment | 14 | 34_harassment_threats harassment_threats_harassment proxy | 
| 35 | fictional - violent torture - setting violence - violence fictional - fictional settings | 13 | 35_fictional_violent torture_setting violence_violence fictional | 
| 36 | gambling - gambling promotion - promotion gambling - promoting gambling - depiction gambling | 12 | 36_gambling_gambling promotion_promotion gambling_promoting gambling | 
| 37 | prostitution - adult prostitution - illegal sex - services - unsafe practices | 11 | 37_prostitution_adult prostitution_illegal sex_services | 
| 38 | kissing - erotic kissing - lip - kissing involving - lip kissing | 9 | 38_kissing_erotic kissing_lip_kissing involving | 
| 39 | incest - incestuous - incest incestuous - incest content - themes involving | 5 | 39_incest_incestuous_incest incestuous_incest content |
  
</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: True

## Framework versions

* Numpy: 1.23.5
* HDBSCAN: 0.8.33
* UMAP: 0.5.4
* Pandas: 1.5.3
* Scikit-Learn: 1.2.2
* Sentence-transformers: 2.2.2
* Transformers: 4.24.0
* Numba: 0.58.1
* Plotly: 5.15.0
* Python: 3.10.12

{"library_name": "bertopic", "tags": ["bertopic"], "pipeline_tag": "text-classification"}
bertopic text-classification has_space region:us