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.

Sign up or log in to comment