CoolFace
Modelpublic

KingKazma/xsum_55555_3000_1500_test

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

tags:

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

xsum5555530001500test

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

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 - mr - also - would - people5-1saidmralsowould
0police - said - mr - court - heard7160policesaidmrcourt
1syria - turkey - syrian - military - said1121syriaturkeysyrianmilitary
2foul - win - kick - half - shot722foulwinkickhalf
3growth - year - bank - business - economy683growthyearbankbusiness
4council - said - building - development - new634councilsaidbuildingdevelopment
5england - cricket - captain - test - wicket485englandcricketcaptaintest
6league - club - season - loan - transfer426leagueclubseasonloan
7sport - gold - world - athlete - olympic387sportgoldworldathlete
8film - music - best - star - song368filmmusicbeststar
9party - labour - mr - leader - said339partylabourmrleader
10ireland - wales - leinster - rugby - player3210irelandwalesleinsterrugby
11care - nhs - hospital - patient - said2711carenhshospitalpatient
12road - crash - police - collision - car2612roadcrashpolicecollision
13dog - animal - greyhound - racing - owner2313doganimalgreyhoundracing
14ship - beach - said - lifeguard - rnli2214shipbeachsaidlifeguard
15school - education - child - council - said2015schooleducationchildcouncil
16wales - bill - welsh - labour - assembly1916walesbillwelshlabour
17eu - uk - european - europe - referendum1817euukeuropeaneurope
18fire - blaze - bus - flame - said1818fireblazebusflame
19mr - president - besigye - maduro - election1619mrpresidentbesigyemaduro
20race - froome - stage - second - lap1320racefroomestagesecond
21rail - train - rmt - scotrail - transport1021railtrainrmtscotrail
22planet - earth - electron - theory - mars1022planetearthelectrontheory
23ryder - cup - tour - pga - mcilroy723rydercuptourpga
24email - lazar - fbi - guccifer - ferizi624emaillazarfbiguccifer

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