Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Peter
commited on
Commit
·
2ad1768
1
Parent(s):
3caa9fd
formatting pt2
Browse files
app.py
CHANGED
@@ -102,8 +102,11 @@ if __name__ == "__main__":
|
|
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(
|
|
|
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 |
+
|
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(
|