abae-pytorch
abae-pytorch copied to clipboard
how to get the aspects from the trained model and domain dataset?
I used the trained model ,which was saved during training. The code is
model = torch.load("xxxxx/xxxxx.bin") aspects = model.get_aspect_words(w2v_model, logger,topn=10)
Is this the right way to get the aspects ? thank you very much.