CoolFace
Modelpublic

KingKazma/xsum_22457_3000_1500_validation

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

tags:

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

xsum2245730001500validation

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

topic_model.get_topic_info()

Topic overview

  • —Number of topics: 26
  • —Number of training documents: 1500

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

Topic IDTopic KeywordsTopic FrequencyLabel
-1said - people - would - one - year5-1saidpeoplewouldone
0said - police - court - mr - heard6460saidpolicecourtmr
1labour - party - mr - scotland - vote2421labourpartymrscotland
2race - olympic - gold - team - medal562raceolympicgoldteam
3president - un - mr - south - said513presidentunmrsouth
4united - foul - half - kick - win484unitedfoulhalfkick
5price - bank - rose - share - said445pricebankroseshare
6attack - taliban - militant - killed - said416attacktalibanmilitantkilled
7care - health - nhs - hospital - patient327carehealthnhshospital
8england - cricket - wicket - test - ball278englandcricketwickettest
9specie - tiger - bird - said - breeding279specietigerbirdsaid
10rugby - wales - player - coach - world2710rugbywalesplayercoach
11celtic - league - season - game - rangers2611celticleagueseasongame
12album - music - song - show - singer2612albummusicsongshow
13open - round - world - play - american2513openroundworldplay
14school - education - schools - said - child2414schooleducationschoolssaid
15film - best - actor - star - actress2115filmbestactorstar
16eu - uk - brexit - trade - would2116euukbrexittrade
17data - us - internet - said - information2117datausinternetsaid
18league - transfer - season - club - appearance2018leaguetransferseasonclub
19parking - council - said - road - ringgo1919parkingcouncilsaidroad
20trump - mr - clinton - republican - president1520trumpmrclintonrepublican
21water - supply - affected - flooding - customer1221watersupplyaffectedflooding
22fifa - corruption - scala - also - president1222fifacorruptionscalaalso
23testimonial - match - tevez - united - player623testimonialmatchtevezunited
24hiv - outbreak - disease - kong - hong624hivoutbreakdiseasekong

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