Team Ai
Modelpublic

shaistaDev7/topic_modeling_on_UNTM

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

tags:

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

urdunewstopic_modeling

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("shaistaDev7/urdu_news_topic_modeling")

topic_model.get_topic_info()

Topic overview

  • —Number of topics: 7
  • —Number of training documents: 7991

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

Topic IDTopic KeywordsTopic FrequencyLabel
0پولیو - ڈاکٹر - مہم - بتایا - صحت16260پولیوڈاکٹرمہمبتایا
1فلم - اداکارہ - اداکار - شادی - بالی12901فلماداکارہاداکارشادی
2عمران - خان - تحریک - حکومت - لیگ12632عمرانخانتحریکحکومت
3روپے - مالی - ملین - سال - ڈالر10623روپےمالیملینسال
4فون - صارفین - ویوو - موبائل - بک9284فونصارفینویووموبائل
5ٹیم - میچ - کرکٹ - رنز - ٹورنامنٹ9165ٹیممیچکرکٹرنز
6کورونا - وائرس - کیسز - مریض - ہزار9066کوروناوائرسکیسزمریض

</details>

Training hyperparameters

  • —calculate_probabilities: True
  • —language: urdu
  • —low_memory: True
  • —mintopicsize: 10
  • —ngramrange: (1, 1)
  • —nr_topics: None
  • —seedtopiclist: None
  • —topnwords: 10
  • —verbose: True
  • —zeroshotminsimilarity: 0.7
  • —zeroshottopiclist: None

Framework versions

  • —Numpy: 1.23.5
  • —HDBSCAN: 0.8.33
  • —UMAP: 0.5.5
  • —Pandas: 1.5.3
  • —Scikit-Learn: 1.2.2
  • —Sentence-transformers: 2.2.2
  • —Transformers: 4.35.2
  • —Numba: 0.58.1
  • —Plotly: 5.15.0
  • —Python: 3.10.12