Spaces:
Runtime error
Runtime error
chore: Add notes for app usage
Browse files
app.py
CHANGED
|
@@ -31,7 +31,7 @@ iface = gr.Interface(
|
|
| 31 |
default=summarizer.model_names[2],
|
| 32 |
label="Claims Model"),
|
| 33 |
gr.inputs.Checkbox(default=True,
|
| 34 |
-
label="Collate Claims",
|
| 35 |
optional=False),
|
| 36 |
gr.inputs.Slider(minimum=250,
|
| 37 |
maximum=1000,
|
|
@@ -61,6 +61,12 @@ iface = gr.Interface(
|
|
| 61 |
π Retrieves and parses the document from Patents Google based on the given patent information
|
| 62 |
π Returns summaries for the abstract, background, and/or claims.
|
| 63 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 64 |
Models explored:
|
| 65 |
π€ Big Bird: Transformers for Longer Sequences
|
| 66 |
https://arxiv.org/abs/2007.14062 , https://huggingface.co/google/bigbird-pegasus-large-bigpatent
|
|
|
|
| 31 |
default=summarizer.model_names[2],
|
| 32 |
label="Claims Model"),
|
| 33 |
gr.inputs.Checkbox(default=True,
|
| 34 |
+
label="Collate Claims (NOTE: Setting to False will take a longer time)",
|
| 35 |
optional=False),
|
| 36 |
gr.inputs.Slider(minimum=250,
|
| 37 |
maximum=1000,
|
|
|
|
| 61 |
π Retrieves and parses the document from Patents Google based on the given patent information
|
| 62 |
π Returns summaries for the abstract, background, and/or claims.
|
| 63 |
|
| 64 |
+
Notes:
|
| 65 |
+
- Increasing 'Input Document Word Limit' may improve results but will
|
| 66 |
+
cause inference time to increase
|
| 67 |
+
- Setting 'Collate Claims' to False will apply summarization across
|
| 68 |
+
individual claims. Doing so will greatly increase inference time.
|
| 69 |
+
|
| 70 |
Models explored:
|
| 71 |
π€ Big Bird: Transformers for Longer Sequences
|
| 72 |
https://arxiv.org/abs/2007.14062 , https://huggingface.co/google/bigbird-pegasus-large-bigpatent
|