HMNet-End-to-End-Abstractive-Summarization-for-Meetings icon indicating copy to clipboard operation
HMNet-End-to-End-Abstractive-Summarization-for-Meetings copied to clipboard

Implementation of inference on custom input.

Open hemangr8 opened this issue 4 years ago • 1 comments

Thanks a lot for the implementation of the paper. Could you please let me know how I can generate the train_corpus for my own data. It seems to be a torch model of some kind and since no explanation is given I am a little stuck on how to use this model to predict for a custom text input of a meeting transcript.

hemangr8 avatar Aug 22 '20 18:08 hemangr8

The 'xx_corpus' files under data directory are all dict and saved by torch module. You can use a = torch.load('data/test_corpus') to get its format. If you want to build your own dataset, you can follow the format to build dict and save it by torch.save(d, 'data/xxx_corpus')

zjxs1997 avatar Sep 16 '20 01:09 zjxs1997