Spaces:
Sleeping
Sleeping
Peter
commited on
Commit
•
e59ac21
1
Parent(s):
dd63c17
give up trying to format
Browse files
app.py
CHANGED
@@ -101,14 +101,7 @@ if __name__ == "__main__":
|
|
101 |
model, tokenizer = load_model_and_tokenizer("pszemraj/led-large-book-summary")
|
102 |
model_sm, tokenizer_sm = load_model_and_tokenizer("pszemraj/led-base-book-summary")
|
103 |
title = "Long-Form Summarization: LED & BookSum"
|
104 |
-
description = "
|
105 |
-
|
106 |
-
- [This model](https://huggingface.co/pszemraj/led-large-book-summary) is a fine-tuned version of [allenai/led-large-16384](https://huggingface.co/allenai/led-large-16384) on the [BookSum dataset](https://arxiv.org/abs/2105.08209).
|
107 |
-
|
108 |
-
- The goal was to create a model that can generalize well and is useful in summarizing lots of text in academic and daily usage.
|
109 |
-
|
110 |
-
- See [model card](https://huggingface.co/pszemraj/led-large-book-summary) for a notebook with GPU inference (much faster) on Colab.
|
111 |
-
"""
|
112 |
gr.Interface(
|
113 |
proc_submission,
|
114 |
inputs=[
|
|
|
101 |
model, tokenizer = load_model_and_tokenizer("pszemraj/led-large-book-summary")
|
102 |
model_sm, tokenizer_sm = load_model_and_tokenizer("pszemraj/led-base-book-summary")
|
103 |
title = "Long-Form Summarization: LED & BookSum"
|
104 |
+
description = "A simple demo of how to use a fine-tuned LED model to summarize long-form text. [This model](https://huggingface.co/pszemraj/led-large-book-summary) is a fine-tuned version 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. See [model card](https://huggingface.co/pszemraj/led-large-book-summary) for a notebook with GPU inference (much faster) on Colab."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
gr.Interface(
|
106 |
proc_submission,
|
107 |
inputs=[
|