ethanlshen commited on
Commit
392e26d
1 Parent(s): 73e08ae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -90,8 +90,10 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
90
  """
91
  # Superposed Decoding
92
  Start typing below to see suggestions.\n
93
- Note: This demo only uses n=[2, 3, 4] n-grams as opposed to n=[2, 3, 4, 5, 6] in the paper.\n
94
- In addition, There may be significant latency at times because a GPU must be re-aquired after every change.
 
 
95
  """)
96
  slider = gr.Slider(minimum=1, maximum=10, step=1, label="Generation length", value=10)
97
  inp = gr.Textbox(placeholder="Type anything!", lines=3)
 
90
  """
91
  # Superposed Decoding
92
  Start typing below to see suggestions.\n
93
+ Note: This demo only uses $n=\{2, 3, 4\}$ $n$-grams as opposed to $n=\{2, 3, 4, 5, 6}\$ in the paper. In addition, there may be significant latency at times because a GPU must be re-aquired after every change.
94
+ \n
95
+ Paper: [https://arxiv.org/abs/2405.18400](https://arxiv.org/abs/2405.18400)\n
96
+ Code: [https://github.com/RAIVNLab/SuperposedDecoding](https://github.com/RAIVNLab/SuperposedDecoding)
97
  """)
98
  slider = gr.Slider(minimum=1, maximum=10, step=1, label="Generation length", value=10)
99
  inp = gr.Textbox(placeholder="Type anything!", lines=3)