Problems due to the model having no predefined "max_length".
#3
by
singlewaver
- opened
representation_model = ZeroShotClassification(candidate_topics,model="BSC-LT/sciroshot")
topic_model = BERTopic(verbose=True,representation_model=representation_model)
topics, probabilities = topic_model.fit_transform(abstracts)
traceback:Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.