Gabriel commited on
Commit
7b9fa2e
1 Parent(s): 806daa0

Update text.py

Browse files
Files changed (1) hide show
  1. text.py +4 -0
text.py CHANGED
@@ -2,6 +2,10 @@ sum_app_text_tab_1= """
2
  ## The Summarization Task
3
 
4
  The goal of text summarization is to extract or generate concise and accurate summaries of a given text document while maintaining key information found within the original text document. Text summarization methods can either be used as an extractive or abstractive model. An Extractive method does what it sounds like, it concatenates different important sentences or paragraphs without understanding the meaning of those parts. Extractive summarization does not create any new word phrases. For instance, if you presented a page of text to an extractive model, it would just act as a text “highlighter”. However, Abstractive summarization generates text in a fashion that tries to guess the meaning in a summarised way of the page of text it is presented. It would put words together in a meaningful way and add the most important fact found in the text.
 
 
 
 
5
  """
6
 
7
  sum_app_text_tab_2= """
 
2
  ## The Summarization Task
3
 
4
  The goal of text summarization is to extract or generate concise and accurate summaries of a given text document while maintaining key information found within the original text document. Text summarization methods can either be used as an extractive or abstractive model. An Extractive method does what it sounds like, it concatenates different important sentences or paragraphs without understanding the meaning of those parts. Extractive summarization does not create any new word phrases. For instance, if you presented a page of text to an extractive model, it would just act as a text “highlighter”. However, Abstractive summarization generates text in a fashion that tries to guess the meaning in a summarised way of the page of text it is presented. It would put words together in a meaningful way and add the most important fact found in the text.
5
+
6
+ <center><src="https://huggingface.co/spaces/Gabriel/Swe_summarizer/blob/main/EX_VS_ABS.png"></center>
7
+
8
+
9
  """
10
 
11
  sum_app_text_tab_2= """