Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Peter
commited on
Commit
·
3caa9fd
1
Parent(s):
b1e0e58
try to fix markdown
Browse files
app.py
CHANGED
@@ -101,14 +101,10 @@ 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 |
-
A simple demo of how to use a fine-tuned LED model to summarize long-form text.
|
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 |
- The goal was to create a model that can generalize well and is useful in summarizing lots of text in academic and daily usage.
|
108 |
- See [model card](https://huggingface.co/pszemraj/led-large-book-summary) for a notebook with GPU inference (much faster) on Colab.
|
109 |
-
|
110 |
-
---
|
111 |
-
|
112 |
"""
|
113 |
gr.Interface(
|
114 |
proc_submission,
|
|
|
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.
|
|
|
105 |
- [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).
|
106 |
- The goal was to create a model that can generalize well and is useful in summarizing lots of text in academic and daily usage.
|
107 |
- See [model card](https://huggingface.co/pszemraj/led-large-book-summary) for a notebook with GPU inference (much faster) on Colab.
|
|
|
|
|
|
|
108 |
"""
|
109 |
gr.Interface(
|
110 |
proc_submission,
|