Instructions to use Ah7med/BERTopic_ArXiv with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- BERTopic
How to use Ah7med/BERTopic_ArXiv with BERTopic:
from bertopic import BERTopic model = BERTopic.load("Ah7med/BERTopic_ArXiv") - Notebooks
- Google Colab
- Kaggle
How to fine-tune this model?
#1
by nian0v0 - opened
Hello,I used this model to model the news and the model's classification results were poor and I want to fine-tune the model. How shall I prepare datasets and use the model files? Thanks for your help!
My codes:
my_model = "BERTopic_ArXiv"
topic_model = BERTopic.load(my_model)
topics, probs = topic_model.fit_transform(df['cleaned_content'].values)
in function topic_model.fit_transform(), errors generates when "Start clustering the reduced embeddings", which says "TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'" at last.