Unsupervised Multi-Topic Classification and Summarization with BART
pip install -r requirements.txt
Initial Classification (Clustering Algorithm)
For the unsupervised classification task we resort to clustering algorithms like GMM or Means Shift Clustering algorithms.
Reason being GMM and Mean Shift are better at classifying datapoints with an overlap than other algorithms such as Fuzzy K-Means.
- Testing:
-
Pretrained model: pretrained_50_epochs.pth
-
Place this model in
./pretrained
-
Place your text in the variable
text_input
-
Run the file
python3 main.py