MaartenGr / MaartenGr/BERTopic

Bertopic and Huggingface

Open
#1,672 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
7.8k
Forks
920
Avg merge
22h 24m
Merged PRs (30d)
5

Description

Hello Support Team,

I used Bertopic in almost 17K text of the information access law of Brazil.

The model is save at https://huggingface.co/rodrigomoreirasilva/bertopic_lai_recursos_CGU.

Almost 8k texts are marked with topic -1.

When I download and use the model in these texts, which has topic -1, I find a different topic.

I don't know why. May someone help me?

Regards

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the saved model at https://huggingface.co/rodrigomoreirasilva/bertopic_lai_recursos_CGU and the reported texts assigned topic -1. Compare the original and downloaded model's topic assignments, then document a reproducible cause and the expected behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
huggingface, python
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.