danseith commited on
Commit
b7321ed
1 Parent(s): f51fca8

Added link to Google's patent BERT github.

Browse files
Files changed (1) hide show
  1. app.py +8 -2
app.py CHANGED
@@ -203,12 +203,18 @@ temp_slider2 = gr.Slider(1.0, 3.0, value=1.0, label='Creativity')
203
  edit_slider2 = gr.Slider(1, 20, step=1, value=1.0, label='Number of edits')
204
 
205
  title1 = "Patent-BERT Sentence Remix-er: Single Edit"
206
- description1 = """<p>Try inserting a '_' where you want the model to generate a list of likely words.
 
 
 
 
207
  <strong>Note:</strong> You can only add one '_' per submission.
208
  <br/>
209
  <p/>"""
210
  title2 = "Patent-BERT Sentence Remix-er: Multiple Edits"
211
- description2 = """<p>Try typing in a sentence for the model to remix. Adjust the 'creativity' scale bar to change the
 
 
212
  the model's confidence in its likely substitutions and the 'number of edits' for the number of edits you want
213
  the model to attempt to make. The words substituted in the output sentence will be enclosed in asterisks (e.g., *word*).
214
  <br/> <p/> """
 
203
  edit_slider2 = gr.Slider(1, 20, step=1, value=1.0, label='Number of edits')
204
 
205
  title1 = "Patent-BERT Sentence Remix-er: Single Edit"
206
+ description1 = """<p>
207
+ This is a model based on
208
+ <a href= "https://github.com/google/patents-public-data/blob/master/models/BERT%20for%20Patents.md">Patent BERT</a> created by Google.
209
+ <br/>
210
+ Try inserting a '_' where you want the model to generate a list of likely words.
211
  <strong>Note:</strong> You can only add one '_' per submission.
212
  <br/>
213
  <p/>"""
214
  title2 = "Patent-BERT Sentence Remix-er: Multiple Edits"
215
+ description2 = """<p>
216
+
217
+ Try typing in a sentence for the model to remix. Adjust the 'creativity' scale bar to change the
218
  the model's confidence in its likely substitutions and the 'number of edits' for the number of edits you want
219
  the model to attempt to make. The words substituted in the output sentence will be enclosed in asterisks (e.g., *word*).
220
  <br/> <p/> """