bertopic text-classification region:us
---
library_name: bertopic
pipeline_tag: text-classification
tags:
- bertopic
---

# MARTINI_enrich_BERTopic_AlternatyviosNaujienos

This is a [BERTopic](https://github.com/MaartenGr/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("AIDA-UPM/MARTINI_enrich_BERTopic_AlternatyviosNaujienos")

topic_model.get_topic_info()
```

## Topic overview

* Number of topics: 14
* Number of training documents: 2238

<details>
  <summary>Click here for an overview of all topics.</summary>
  
  | Topic ID | Topic Keywords | Topic Frequency | Label | 
|----------|----------------|-----------------|-------| 
| -1 | covid - все - доктор - против - lietuva | 26 | -1_covid_все_доктор_против | 
| 0 | revoliucijos - lietuviu - ideologija - klausas - platono | 1097 | 0_revoliucijos_lietuviu_ideologija_klausas | 
| 1 | ukrainoje - putina - invazija - rusijoje - amerikieciai | 191 | 1_ukrainoje_putina_invazija_rusijoje | 
| 2 | vakcinacija - imunoprofilaktikos - koronaviruso - pfizer - veiksmingumas | 179 | 2_vakcinacija_imunoprofilaktikos_koronaviruso_pfizer | 
| 3 | konstitucijos - prokuroras - likviduoti - iniciatyva - referendumo | 158 | 3_konstitucijos_prokuroras_likviduoti_iniciatyva | 
| 4 | hamas - netanyahu - palestinieciu - izraelyje - bombed | 93 | 4_hamas_netanyahu_palestinieciu_izraelyje | 
| 5 | pandemic - globalists - masks - we - drosten | 86 | 5_pandemic_globalists_masks_we | 
| 6 | zenkliai - naujienu - lietuva - energijos - numeris | 86 | 6_zenkliai_naujienu_lietuva_energijos | 
| 7 | vaccinated - vaers - pfizer - myocarditis - clots | 75 | 7_vaccinated_vaers_pfizer_myocarditis | 
| 8 | pandemija - koronaviruso - lietuvos - reiskia - mediku | 74 | 8_pandemija_koronaviruso_lietuvos_reiskia | 
| 9 | россию - украинских - лукашенко - военнои - днр | 62 | 9_россию_украинских_лукашенко_военнои | 
| 10 | homoseksualiu - lgbtq - bendradarbiai - diskriminacija - ideologijos | 45 | 10_homoseksualiu_lgbtq_bendradarbiai_diskriminacija | 
| 11 | сознания - жизни - общества - иерархии - инфантильная | 37 | 11_сознания_жизни_общества_иерархии | 
| 12 | virologists - pcr - sars - isolate - sequenced | 29 | 12_virologists_pcr_sars_isolate |
  
</details>

## Training hyperparameters

* calculate_probabilities: True
* language: None
* low_memory: False
* min_topic_size: 10
* n_gram_range: (1, 1)
* nr_topics: None
* seed_topic_list: None
* top_n_words: 10
* verbose: False
* zeroshot_min_similarity: 0.7
* zeroshot_topic_list: None

## Framework versions

* Numpy: 1.26.4
* HDBSCAN: 0.8.40
* UMAP: 0.5.7
* Pandas: 2.2.3
* Scikit-Learn: 1.5.2
* Sentence-transformers: 3.3.1
* Transformers: 4.46.3
* Numba: 0.60.0
* Plotly: 5.24.1
* Python: 3.10.12
