CoolFace
Modelpublic

AIDA-UPM/MARTINI_enrich_BERTopic_Middle_East_Spectator

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes8downloads
Model Card

tags:

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

MARTINIenrichBERTopicMiddleEast_Spectator

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("AIDA-UPM/MARTINI_enrich_BERTopic_Middle_East_Spectator")

topic_model.get_topic_info()

Topic overview

  • —Number of topics: 34
  • —Number of training documents: 3345

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

Topic IDTopic KeywordsTopic FrequencyLabel
-1hezbollah - khamenei - gaza - jerusalem - missiles20-1hezbollahkhameneigazajerusalem
0iraqi - assad - airstrikes - faction - ismael15430iraqiassadairstrikesfaction
1palestine - nasrallah - jihad - martyrs - victory1941palestinenasrallahjihadmartyrs
2channel - news - subscribers - censored - unbiased1662channelnewssubscriberscensored
3gaza - israelis - egyptians - suez - libyan1263gazaisraelisegyptianssuez
4netanyahu - hezbollah - galilee - yoav - threatens1034netanyahuhezbollahgalileeyoav
5karabakh - nakhchivan - azerbaijani - armenians - yerevan985karabakhnakhchivanazerbaijaniarmenians
6yemen - warship - missiles - maersk - gulf926yemenwarshipmissilesmaersk
7saudi - khamenei - bahrain - faisal - zayed867saudikhameneibahrainfaisal
8gaza - civilians - bombed - younis - tunnels838gazaciviliansbombedyounis
9iran - abdollahian - ambassador - doha - sanctioned749iranabdollahianambassadordoha
10missiles - iran - hypersonic - baikonur - launched6910missilesiranhypersonicbaikonur
11kadyrov - voronezh - gerasimov - regiment - massacre5411kadyrovvoronezhgerasimovregiment
12hezbollah - drone - haifa - launched - zabdin4712hezbollahdronehaifalaunched
13soleimani - mousavi - terrorists - damascus - martyred4413soleimanimousaviterroristsdamascus
14iranians - hamedan - allahu - كير - الاحرار4314iranianshamedanallahuكير
15hezbollah - khirbet - ramyeh - ambush - sites4115hezbollahkhirbetramyehambush
16sukhoi - drone - turbojet - squadrons - tatarstan3516sukhoidroneturbojetsquadrons
17belgorod - zaporizhia - volodymyr - sevastopol - reinforcements3317belgorodzaporizhiavolodymyrsevastopol
18hezbollah - mujahid - hassan - haidar - martyrs3118hezbollahmujahidhassanhaidar
19gaza - airstrikes - ashkelon - merkava - update3119gazaairstrikesashkelonmerkava
20biden - netanyahu - cnn - ayatollahs - interviewed3120bidennetanyahucnnayatollahs
21jew - אילן - kanye - musk - goddamn2821jewאילןkanyemusk
22khuzestan - khorramabad - taliban - armored - irgc2822khuzestankhorramabadtalibanarmored
23intifada - qassam - hamza - spokesman - obeida2823intifadaqassamhamzaspokesman
24iran - balochistan - terrorists - chabahar - mashhad2724iranbalochistanterroristschabahar
25iran - nuclear - cnn - retaliate - notified2625irannuclearcnnretaliate
26hezbollah - katyusha - missiles - barrage - baalbek2626hezbollahkatyushamissilesbarrage
27donald - democrats - newsom - ballot - dumbest2527donalddemocratsnewsomballot
28lebanon - gunfire - outposts - idf - tanks2428lebanongunfireoutpostsidf
29russia - attackers - bryansk - kiev - terrorist2429russiaattackersbryanskkiev
30hormuz - tankers - strait - submarine - seized2330hormuztankersstraitsubmarine
31gaza - donate - inshaallah - subscribers - delivered2131gazadonateinshaallahsubscribers
32palestinian - ashkelon - gunfights - infiltrators - rohovot2132palestinianashkelongunfightsinfiltrators

</details>

Training hyperparameters

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

Framework versions

  • —Numpy: 1.26.4
  • —HDBSCAN: 0.8.40
  • —UMAP: 0.5.7
  • —Pandas: 2.2.3
  • —Scikit-Learn: 1.5.2
  • —Sentence-transformers: 3.3.1
  • —Transformers: 4.46.3
  • —Numba: 0.60.0
  • —Plotly: 5.24.1
  • —Python: 3.10.12