CoolFace
Modelpublic

KingKazma/xsum_123_3000_1500_validation

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

tags:

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

xsum12330001500validation

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

topic_model.get_topic_info()

Topic overview

  • Number of topics: 27
  • Number of training documents: 1500

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

Topic IDTopic KeywordsTopic FrequencyLabel
-1said - mr - would - also - year5-1saidmrwouldalso
0police - said - court - mr - found6540policesaidcourtmr
1said - council - site - would - development1011saidcouncilsitewould
2attack - killed - taliban - syria - government682attackkilledtalibansyria
3gold - world - race - sport - olympic573goldworldracesport
4price - bank - rate - share - company534pricebankrateshare
5party - vote - labour - mr - ukip525partyvotelabourmr
6league - season - player - premier - club496leagueseasonplayerpremier
7cricket - england - wicket - game - test457cricketenglandwicketgame
8crash - car - road - accident - said428crashcarroadaccident
9wales - game - rugby - davies - hes409walesgamerugbydavies
10patient - health - hospital - service - ambulance3410patienthealthhospitalservice
11foul - corner - half - box - kick3211foulcornerhalfbox
12trump - clinton - mr - mrs - us3012trumpclintonmrmrs
13president - mr - africa - south - mugabe3013presidentmrafricasouth
14animal - dog - bird - said - rspca2814animaldogbirdsaid
15school - education - teacher - child - pupil2615schooleducationteacherchild
16world - round - number - murray - court2516worldroundnumbermurray
17northern - ireland - party - dup - sinn2317northernirelandpartydup
18album - song - like - music - band1718albumsonglikemusic
19fire - building - police - blaze - service1619firebuildingpoliceblaze
20fossil - brontosaurus - dinosaur - found - animal1620fossilbrontosaurusdinosaurfound
21film - star - artist - novel - photograph1621filmstarartistnovel
22wage - income - living - tax - uk1122wageincomelivingtax
23gang - guerrero - prison - state - police1123gangguerreroprisonstate
24albion - brighton - hove - burton - wigan1124albionbrightonhoveburton
253d - space - kelly - cmdr - flight8253dspacekellycmdr

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