priceofdev commited on
Commit
a69b2d2
1 Parent(s): 418cbad
Files changed (1) hide show
  1. app.py +2 -8
app.py CHANGED
@@ -180,9 +180,6 @@ if __name__ == "__main__":
180
  with demo:
181
 
182
  gr.Markdown("# Long-Form Summarization: LED & BookSum")
183
- gr.Markdown(
184
- "LED models ([model card](https://huggingface.co/pszemraj/led-large-book-summary)) fine-tuned to summarize long-form text. A [space with other models can be found here](https://huggingface.co/spaces/pszemraj/document-summarization)"
185
- )
186
  with gr.Column():
187
 
188
  gr.Markdown("## Load Inputs & Select Parameters")
@@ -198,7 +195,7 @@ if __name__ == "__main__":
198
  label="Beam Search: # of Beams",
199
  value=2,
200
  )
201
- gr.Markdown("Load a a .txt - example or your own (_You may find [this OCR space](https://huggingface.co/spaces/pszemraj/pdf-ocr) useful_)")
202
  with gr.Row():
203
  example_name = gr.Dropdown(
204
  _examples,
@@ -279,14 +276,11 @@ if __name__ == "__main__":
279
  with gr.Column():
280
  gr.Markdown("### About the Model")
281
  gr.Markdown(
282
- "- [This model](https://huggingface.co/pszemraj/led-large-book-summary) is a fine-tuned checkpoint of [allenai/led-large-16384](https://huggingface.co/allenai/led-large-16384) on the [BookSum dataset](https://arxiv.org/abs/2105.08209).The goal was to create a model that can generalize well and is useful in summarizing lots of text in academic and daily usage."
283
  )
284
  gr.Markdown(
285
  "- The two most important parameters-empirically-are the `num_beams` and `token_batch_length`. "
286
  )
287
- gr.Markdown(
288
- "- The model can be used with tag [pszemraj/led-large-book-summary](https://huggingface.co/pszemraj/led-large-book-summary). See the model card for details on usage & a Colab notebook for a tutorial."
289
- )
290
  gr.Markdown("---")
291
 
292
  load_examples_button.click(
 
180
  with demo:
181
 
182
  gr.Markdown("# Long-Form Summarization: LED & BookSum")
 
 
 
183
  with gr.Column():
184
 
185
  gr.Markdown("## Load Inputs & Select Parameters")
 
195
  label="Beam Search: # of Beams",
196
  value=2,
197
  )
198
+ gr.Markdown("Load a a .txt - example or your own (_You may find [this OCR space](https://huggingface.co/spaces/aifanextreme/pdf-ocr) useful_)")
199
  with gr.Row():
200
  example_name = gr.Dropdown(
201
  _examples,
 
276
  with gr.Column():
277
  gr.Markdown("### About the Model")
278
  gr.Markdown(
279
+ "- This model is a fine-tuned checkpoint of [allenai/led-large-16384](https://huggingface.co/allenai/led-large-16384) on the [BookSum dataset](https://arxiv.org/abs/2105.08209).The goal was to create a model that can generalize well and is useful in summarizing lots of text in academic and daily usage."
280
  )
281
  gr.Markdown(
282
  "- The two most important parameters-empirically-are the `num_beams` and `token_batch_length`. "
283
  )
 
 
 
284
  gr.Markdown("---")
285
 
286
  load_examples_button.click(