Skip to content

the-deep-nlp/topic-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

installation

pip install git+https://github.com/the-deep-nlp/topic-generator

Usage

simple topic modeling utils based on BertTopic

from topic_generator import TopicGenerator

text = [YOUR TEXT EXCERPTS LIST]
embeddings = [YOUR CORRESPONDING VECTORS LIST]

topic_model = TopicGenerator(text, embeddings)
topic_model.get_total_topics()

topic_model.general_topics_df

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages