CoolFace
Modelpublic

KingKazma/cnn_dailymail_22457_3000_1500_train

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

tags:

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

cnndailymail2245730001500_train

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("KingKazma/cnn_dailymail_22457_3000_1500_train")

topic_model.get_topic_info()

Topic overview

  • —Number of topics: 49
  • —Number of training documents: 3000

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

Topic IDTopic KeywordsTopic FrequencyLabel
-1said - one - year - people - police10-1saidoneyearpeople
0league - player - club - game - cup10500leagueplayerclubgame
1said - syria - government - iraq - islamic3171saidsyriagovernmentiraq
2obama - president - house - state - republican1402obamapresidenthousestate
3cancer - hospital - baby - treatment - child1223cancerhospitalbabytreatment
4google - apple - tablet - car - device844googleappletabletcar
5fashion - dress - hair - look - woman785fashiondresshairlook
6police - officer - shooting - said - shot666policeofficershootingsaid
7film - movie - show - actor - comedy657filmmovieshowactor
8murder - death - said - home - police558murderdeathsaidhome
9mr - labour - minister - mp - blair529mrlabourministermp
10storm - water - weather - ice - rain5110stormwaterweatherice
11shark - bear - turtle - crocodile - bird5011sharkbearturtlecrocodile
12flight - plane - passenger - airport - pilot4912flightplanepassengerairport
13house - property - home - per - room4913housepropertyhomeper
14drug - police - court - stealing - robbery4014drugpolicecourtstealing
15police - murder - mr - court - clavell3615policemurdermrcourt
16games - gold - olympic - race - sport3416gamesgoldolympicrace
17student - school - teacher - said - cardosa3417studentschoolteachersaid
18country - minister - energy - cent - greece3218countryministerenergycent
19golf - mcilroy - course - round - ryder3119golfmcilroycourseround
20police - harris - abuse - allegation - officer3020policeharrisabuseallegation
21ebola - virus - africa - health - liberia2921ebolavirusafricahealth
22chinese - china - cable - bo - beijing2822chinesechinacablebo
23federer - tennis - murray - wimbledon - match2823federertennismurraywimbledon
24dog - animal - dogs - owner - simmons2624doganimaldogsowner
25cent - per - woman - men - pickens2325centperwomanmen
26ship - boat - rescue - water - sea2326shipboatrescuewater
27hamilton - race - rosberg - mercedes - formula2227hamiltonracerosbergmercedes
28galaxy - planet - universe - earth - telescope2228galaxyplanetuniverseearth
29russian - russia - putin - ukraine - moscow2229russianrussiaputinukraine
30pakistan - pakistani - karachi - taliban - anwar2230pakistanpakistanikarachitaliban
31korea - north - korean - south - kim2131koreanorthkoreansouth
32car - driver - train - accident - cope2132cardrivertrainaccident
33food - fruit - taste - cake - cream2033foodfruittastecake
34painting - art - auction - artist - gallery2034paintingartauctionartist
35base - drone - soldier - afghan - us1935basedronesoldierafghan
36weight - fat - eating - healthy - size1836weightfateatinghealthy
37mafia - wine - money - fraud - court1837mafiawinemoneyfraud
38aguilar - bravo - brewer - rambold - court1838aguilarbravobrewerrambold
39missing - search - found - family - disappeared1739missingsearchfoundfamily
40juarez - quezada - mexico - mexican - cartel1540juarezquezadamexicomexican
41knicks - lin - chicago - blackhawks - game1541knickslinchicagoblackhawks
42duchess - prince - kate - royal - william1542duchessprincekateroyal
43price - supermarket - asda - shop - food1443pricesupermarketasdashop
44school - child - pupil - teacher - xxx1444schoolchildpupilteacher
45nhs - patient - ae - hospital - staff1345nhspatientaehospital
46zsa - francesca - rhodes - vongtau - gabor1246zsafrancescarhodesvongtau
47medal - war - bomb - graf - vc1047medalwarbombgraf

</details>

Training hyperparameters

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

Framework versions

  • —Numpy: 1.22.4
  • —HDBSCAN: 0.8.33
  • —UMAP: 0.5.3
  • —Pandas: 1.5.3
  • —Scikit-Learn: 1.2.2
  • —Sentence-transformers: 2.2.2
  • —Transformers: 4.31.0
  • —Numba: 0.56.4
  • —Plotly: 5.13.1
  • —Python: 3.10.6