I downloaded the Contextualized Topic model package which works on a 20000 doc dataset.
when I try this with a custom dataset, I get a 'Expected more than 1 value per channel when training, got input size torch.Size([1, 15]) error;
from contextualized_topic_models.models.ctm import CombinedTM
ctm = CombinedTM(input_size=len(qt.vocab), bert_input_size=768, n_components=15, num_epochs=15)
how do I set this to eval mode, so that batch norm doesn’t create an issue?