amielle commited on
Commit
53719a8
β€’
1 Parent(s): 85e8ccf

chore: Add notes for app usage

Browse files
Files changed (1) hide show
  1. app.py +7 -1
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