Hi Sneha, Thanks for the questions

  • The main purpose of the threshold is to select the sentences for the final output. We are using the threshold as an average score. This will work even if we do not use any threshold multiplier, but the output will have more numbers of sentences in the given example.
  • You can try changing the values such as 1.5, 0.7, 1.0, 2.0 ,etc
  • Sometimes, even for a lower threshold, we will have less number of sentences as a summary, that time we reduce the threshold even more.
  • Here, we are summarizing an Article which are having many paragraphs. Thus, a paragraph is a document here.
  • And yes, A document can be a sentence if you are trying to summarize a paragraph.
  • A document can be a paragraph if you are trying to summarize an article or a web page.
  • A document can be an article/page if you are trying to summarize multiple articles/multiple page.

Hope this clears your doubt.

--

--

SDE 2 @Amazon. Here to share the knowledge and experiences. https://akashpanchal.com

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store