Yale-LILY / SummerTime

An open-source text summarization toolkit for non-experts. EMNLP'2021 Demo
https://arxiv.org/abs/2108.12738
Apache License 2.0
268 stars 30 forks source link

Documentation for HMNetModel #76

Closed ismu closed 3 years ago

ismu commented 3 years ago

HI :)

I would like know how to use HMNetModel for dialogues.

I have code:

from model import HMNetModel

hmn = HMNetModel()
print(hmn.summarize(dial))

How should dial looks like? Can I get dial from CNN/DM(3.0.0) dataset?

Thanks in advance for your help :)

niansong1996 commented 3 years ago

Hi, more documentation and optimization for HMNet is added in #79.

More specifically, you can refer to tests/model_test.py or here for more detailed usage of HMNet.

ismu commented 3 years ago

All clear :)