HMNet-End-to-End-Abstractive-Summarization-for-Meetings
HMNet-End-to-End-Abstractive-Summarization-for-Meetings copied to clipboard
Implementation of inference on custom input.
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.
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')