CoolFace
Modelpublic

Kamaljp/topic_docs5000

sourceHugging Faceupdated 3y agoView on Hugging Face
0likes11downloads
Model Card

tags:

  • bertopic libraryname: bertopic pipelinetag: text-classification ---

topic_docs5000

This is a 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("Kamaljp/topic_docs5000")

topic_model.get_topic_info()

Topic overview

  • Number of topics: 30
  • Number of training documents: 5000

<details> <summary>Click here for an overview of all topics.</summary>

Topic IDTopic KeywordsTopic FrequencyLabel
-1the - to - of - and - is12-1thetoofand
0the - in - to - he - game16060theintohe
1the - drive - to - with - for4501thedrivetowith
2the - to - that - of - and3442thetothatof
3the - of - and - in - to2463theofandin
4of - to - the - is - and2204oftotheis
5the - car - and - it - for2035thecarandit
6the - of - that - to - is1866theofthatto
7call - three - bittrolff - uhhhh - test1727callthreebittrolffuhhhh
8the - to - be - of - key1728thetobeof
9the - space - of - and - to1699thespaceofand
10the - openwindows - to - window - and16910theopenwindowstowindow
11for - and - 100 - to - the14611forand100to
12windows - dos - the - and - to13212windowsdostheand
13the - bike - to - my - was10513thebiketomy
14you - that - to - of - your10014youthattoof
15for - and - to - mail - send10015forandtomail
16to - that - homosexual - of - is9416tothathomosexualof
17is - that - objective - of - science6617isthatobjectiveof
18printer - fonts - deskjet - hp - the5618printerfontsdeskjethp
19jpeg - image - gif - file - format4519jpegimagegiffile
20points - graeme - polygon - the - lines4420pointsgraemepolygonthe
21radar - detector - detectors - is - the2821radardetectordetectorsis
22hotel - dj - for - ticket - price2722hoteldjforticket
23insurance - health - private - the - and2623insurancehealthprivatethe
24water - battery - temperature - the - discharge2124waterbatterytemperaturethe
25oil - paint - it - wax - and1725oilpaintitwax
26drugs - cocaine - lsd - drug - license1626drugscocainelsddrug
27motif - toolkit - cosecomplient - api - mean1527motiftoolkitcosecomplientapi
28maxaxaxaxaxaxaxaxaxaxaxaxaxaxax - entry - entries - rules - we1328maxaxaxaxaxaxaxaxaxaxaxaxaxaxaxentryentriesrules

</details>

Training hyperparameters

  • calculate_probabilities: True
  • language: english
  • low_memory: False
  • mintopicsize: 10
  • ngramrange: (1, 1)
  • nr_topics: 30
  • seedtopiclist: None
  • topnwords: 10
  • verbose: True

Framework versions

  • Numpy: 1.22.4
  • HDBSCAN: 0.8.29
  • UMAP: 0.5.3
  • Pandas: 1.5.3
  • Scikit-Learn: 1.2.2
  • Sentence-transformers: 2.2.2
  • Transformers: 4.30.2
  • Numba: 0.56.4
  • Plotly: 5.13.1
  • Python: 3.10.12