https://github.com/gatenlp/llms-for-topic-modeling
Topic Extraction via LLMs
https://github.com/gatenlp/llms-for-topic-modeling
Last synced: 7 months ago
JSON representation
Topic Extraction via LLMs
- Host: GitHub
- URL: https://github.com/gatenlp/llms-for-topic-modeling
- Owner: GateNLP
- License: mit
- Created: 2023-10-23T16:55:16.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-17T01:33:30.000Z (about 2 years ago)
- Last Synced: 2025-01-13T06:10:42.152Z (over 1 year ago)
- Language: Python
- Size: 2.96 MB
- Stars: 0
- Watchers: 10
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LLMs-for-Topic-Modeling
Topic Extraction via LLMs
Large Language Models Offer an Alternative to the Traditional Approach of Topic Modelling (LREC-COLING 2024)
# To extract topics via LLMs:
```bash
CUDA_VISIBLE_DEVICES = "Your_GPU" python3 topic_extraction.py
```
# To evaluate topics generated by LLMs:
```bash
CUDA_VISIBLE_DEVICES = "Your_GPU" python3 Topics_granularity.py
```
# Bibtex:
```bibtex
@article{mu2024large,
title={Large Language Models Offer an Alternative to the Traditional Approach of Topic Modelling},
author={Mu, Yida and Dong, Chun and Bontcheva, Kalina and Song, Xingyi},
journal={arXiv preprint arXiv:2403.16248},
year={2024}
}