CoolFace
Modelpublic

KingKazma/xsum_123_3000_1500_train

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

tags:

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

xsum12330001500train

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_123_3000_1500_train")

topic_model.get_topic_info()

Topic overview

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

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

Topic IDTopic KeywordsTopic FrequencyLabel
-1said - mr - police - people - would5-1saidmrpolicepeople
0win - game - half - foul - league11320wingamehalffoul
1eu - labour - party - would - uk5911eulabourpartywould
2athlete - sport - gold - olympic - medal1492athletesportgoldolympic
3nhs - health - care - patient - hospital1043nhshealthcarepatient
4growth - price - market - sale - economy844growthpricemarketsale
5president - mr - government - maduro - rousseff715presidentmrgovernmentmaduro
6crash - police - hospital - road - driver586crashpolicehospitalroad
7murray - match - set - tennis - seed467murraymatchsettennis
8syrian - us - syria - rebel - force458syrianussyriarebel
9school - education - pupil - schools - child419schooleducationpupilschools
10animal - zoo - wildlife - bird - specie4010animalzoowildlifebird
11film - actor - star - series - drama3811filmactorstarseries
12abuse - court - sexual - police - victim3812abusecourtsexualpolice
13trump - mr - clinton - republican - president3113trumpmrclintonrepublican
14fire - blaze - building - service - firefighters3114fireblazebuildingservice
15suu - party - mr - government - election2915suupartymrgovernment
16china - korea - chinese - south - north2916chinakoreachinesesouth
17album - band - song - music - best2517albumbandsongmusic
18ms - heard - court - death - said2418msheardcourtdeath
19wales - welsh - said - train - government2319waleswelshsaidtrain
20road - police - death - seen - found2320roadpolicedeathseen
21passenger - crew - sea - boat - aircraft2321passengercrewseaboat
22russian - ukraine - russia - mr - ukrainian2222russianukrainerussiamr
23fight - joshua - title - khan - boxing2223fightjoshuatitlekhan
24samsung - phone - app - android - user2024samsungphoneappandroid
25earthquake - particle - nepal - building - mars1925earthquakeparticlenepalbuilding
26highways - traffic - dartford - council - road1826highwaystrafficdartfordcouncil
27vettel - hamilton - lap - race - alonso1827vettelhamiltonlaprace
28park - building - visitor - festival - visitscotland1628parkbuildingvisitorfestival
29site - council - street - project - plan1529sitecouncilstreetproject
30abdeslam - paris - attack - belgian - salah1530abdeslamparisattackbelgian
31virus - ebola - disease - hiv - sierra1431viruseboladiseasehiv
32security - data - attack - cyber - malware1432securitydataattackcyber
33dog - dogs - stray - pet - owner1433dogdogsstraypet
34birdie - pga - bogey - woods - open1334birdiepgabogeywoods
35man - police - wearing - incident - anyone1335manpolicewearingincident
36energy - pipeline - waste - renewables - electricity1336energypipelinewasterenewables
37silence - bishop - belfast - people - attended1137silencebishopbelfastpeople
38painting - art - work - artist - exhibition1138paintingartworkartist
39eyre - gaunt - lyttle - peter - court1039eyregauntlyttlepeter
40crime - police - force - constable - chief940crimepoliceforceconstable
41flood - river - rain - louisiana - flooded941floodriverrainlouisiana
42charity - abuse - yentob - porn - batmanghelidjh742charityabuseyentobporn
43india - nidar - gun - yrf - film643indianidargunyrf
44driving - stirling - winn - fraser - road644drivingstirlingwinnfraser
45boko - haram - shekau - militant - monguno545bokoharamshekaumilitant

</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