# Summarization on long documents

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fsummarization-on-long-documents%2F920%3E%5C
**Category:** 🤗Transformers\
**Created:** [August 29, 2020, 5:57pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fsummarization-on-long-documents%2F920 "2020-08-29T17:57:00Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![pratikbhavsar](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/pratikbhavsar/32/52544_2.png) [@pratikbhavsar](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fpratikbhavsar)%5C
**Post date:** [September 4, 2020, 6:38am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fsummarization-on-long-documents%2F920%2F2 "2020-09-04T06:38:45Z")

</div>

You can try extractive summarisation followed by abstractive. In the extractive step you choose top k sentences of which you choose top n allowed till model max length.

Another way is to use successive abstractive summarisation where you summarise in chunk of model max length and then again use it to summarise till the length you want. This method will be super expensive.

You can also combine first + second method.

---

_[View the full topic](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fsummarization-on-long-documents%2F920)._
