|
|
--- |
|
|
title: Topic Modeling LDA |
|
|
emoji: ๐ |
|
|
colorFrom: yellow |
|
|
colorTo: blue |
|
|
sdk: gradio |
|
|
sdk_version: 5.32.0 |
|
|
app_file: app.py |
|
|
pinned: false |
|
|
short_description: 20 Newsgroups Topic Modeling with LDA |
|
|
--- |
|
|
Topic Modeling App with LDA |
|
|
This app performs topic modeling on text input using Latent Dirichlet Allocation (LDA). You can paste text or upload a .txt file, and the app predicts the dominant topic, shows a summary, keywords, and a visualization of the topic distribution. |
|
|
|
|
|
Features |
|
|
Upload or paste text input |
|
|
|
|
|
Preprocessing with tokenization and lemmatization |
|
|
|
|
|
Topic prediction using a pre-trained LDA model |
|
|
|
|
|
Interactive bar chart of topic probabilities |
|
|
|
|
|
Download prediction results as .txt |
|
|
|
|
|
Feedback option for prediction quality |
|
|
|
|
|
Auto-cleanup of old prediction files |
|
|
|
|
|
Download zipped logs of past predictions |
|
|
|
|
|
How to Use |
|
|
Paste your text or upload a .txt file |
|
|
|
|
|
Click Predict Topic |
|
|
|
|
|
View the predicted topic, summary, keywords, and chart |
|
|
|
|
|
Download the prediction result if needed |
|
|
|
|
|
Provide feedback about the prediction accuracy |
|
|
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference |
|
|
|