Alexander Junge commited on
Commit
1847363
·
1 Parent(s): 60f4e93

Add title, description, article

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py CHANGED
@@ -31,6 +31,12 @@ iface = gr.Interface(
31
  outputs=sim_output,
32
  examples=examples,
33
  theme="grass",
 
 
 
 
 
 
34
  )
35
 
36
  if __name__ == "__main__":
 
31
  outputs=sim_output,
32
  examples=examples,
33
  theme="grass",
34
+ title="Demo: U.S. Patent Phrase to Phrase Matching",
35
+ description="Scores phrases from U.S. patents according to their similarity. "
36
+ "Similarity scores are between 0 and 1, higher scores mean higher similarrity and scores "
37
+ "are computes as the cosine similarity of embeddings produced by the AI-Growth-Lab/PatentSBERTa SentenceTransformer model.",
38
+ article="Examples are taken from the *Google Patent Phrase Similarity Dataset* used in the "
39
+ "['U.S. Patent Phrase to Phrase Matching' Kaggle competition](https://www.kaggle.com/competitions/us-patent-phrase-to-phrase-matching/overview).",
40
  )
41
 
42
  if __name__ == "__main__":