CoolFace
Modelpublic

KingKazma/xsum_55555_3000_1500_train

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

tags:

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

xsum5555530001500train

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/xsum_55555_3000_1500_train")

topic_model.get_topic_info()

Topic overview

  • Number of topics: 54
  • Number of training documents: 3000

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

Topic IDTopic KeywordsTopic FrequencyLabel
-1said - people - would - mr - year6-1saidpeoplewouldmr
0party - eu - labour - vote - brexit14650partyeulabourvote
1trump - mr - president - republican - russia1291trumpmrpresidentrepublican
2care - health - nhs - patient - hospital762carehealthnhspatient
3syria - syrian - attack - killed - force753syriasyrianattackkilled
4cricket - wicket - england - test - ball644cricketwicketenglandtest
5club - league - season - appearance - loan595clubleagueseasonappearance
6wales - rugby - england - game - player586walesrugbyenglandgame
7film - show - actor - actress - star557filmshowactoractress
8medal - sport - olympic - gold - world548medalsportolympicgold
9driving - driver - crash - car - road489drivingdrivercrashcar
10chelsea - arsenal - city - goal - tottenham4410chelseaarsenalcitygoal
11president - mr - petrobras - odebrecht - government4311presidentmrpetrobrasodebrecht
12lifeboat - sea - rnli - ship - boat4112lifeboatsearnliship
13crime - police - child - force - abuse3713crimepolicechildforce
14man - police - men - wearing - arrested3514manpolicemenwearing
15murray - seed - match - slam - set3415murrayseedmatchslam
16dog - mountain - animal - avalanche - said3416dogmountainanimalavalanche
17court - sexual - assault - trial - woman3117courtsexualassaulttrial
18school - education - teacher - academy - pupil3018schooleducationteacheracademy
19fifa - ghana - burkina - african - cup2919fifaghanaburkinaafrican
20music - album - song - like - im2820musicalbumsonglike
21fire - blaze - rescue - said - building2821fireblazerescuesaid
22energy - gas - shale - project - power2722energygasshaleproject
23train - rail - bridge - scotrail - strike2723trainrailbridgescotrail
24growth - rate - oil - market - us2624growthrateoilmarket
25town - foul - box - footed - half2625townfoulboxfooted
26open - round - golf - par - birdie2626openroundgolfpar
27china - north - chinese - xi - taiwan2227chinanorthchinesexi
28bond - bank - greek - greece - eurozone2228bondbankgreekgreece
29race - lap - second - honda - driver2129racelapsecondhonda
30president - mr - congolese - africa - african2130presidentmrcongoleseafrica
31barcelona - fc - madrid - de - bayern1931barcelonafcmadridde
32murder - man - postmortem - court - found1832murdermanpostmortemcourt
33welsh - wales - government - assembly - labour1733welshwalesgovernmentassembly
34celtic - game - season - rangers - team1734celticgameseasonrangers
35heritage - castle - house - orkney - building1735heritagecastlehouseorkney
36tax - deficit - debt - economy - financial1636taxdeficitdebteconomy
37stream - jet - weather - wind - flood1537streamjetweatherwind
38software - security - data - hacker - router1538softwaresecuritydatahacker
39painting - portrait - art - collection - artist1439paintingportraitartcollection
40apple - tablet - hp - firm - android1440appletablethpfirm
41robertson - mr - court - knife - murder1241robertsonmrcourtknife
42unsupported - device - updated - playback - media1242unsupporteddeviceupdatedplayback
43iaaf - doping - athlete - athletics - antidoping1143iaafdopingathleteathletics
44stolen - theft - burglary - thief - store1144stolentheftburglarythief
45yn - ar - mae - bod - ei1145ynarmaebod
46flight - plane - airport - aircraft - passenger1146flightplaneairportaircraft
47baby - child - infant - mcelhinney - church1047babychildinfantmcelhinney
48party - fillon - mr - socialist - macron1048partyfillonmrsocialist
49serbia - scotland - celtic - throwin - kick949serbiascotlandcelticthrowin
50child - childcare - families - mental - nurse850childchildcarefamiliesmental
51turkey - migrant - eu - visa - greece651turkeymigranteuvisa
52supermarket - store - price - sale - tyrrells652supermarketstorepricesale

</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.57.1
  • Plotly: 5.13.1
  • Python: 3.10.12