File size: 1,124 Bytes
aa28148
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---
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