lorenzoscottb commited on
Commit
1c23950
·
1 Parent(s): fc58fd6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -1
app.py CHANGED
@@ -33,10 +33,20 @@ def test_input(words):
33
  # )
34
 
35
 
36
- description = "Did you know that, logically speaking, a small cat is not a small animal, and that a fake smile is not a smile. \n Learn more testing our BERT model is tuned to perform phrase-level adjective-noun entailment, via the [PLANE](https://aclanthology.org/2022.coling-1.359/) dataset. \n The current model achieves an accuracy of 90% on out-of-distribution evaluation. Coming soon: check if words were in training data!"
37
  title = "BERT on a PLANE"
 
 
 
 
 
 
 
 
 
 
38
  examples = [["A red car is a vehicle"], ["A fake smile is a smile"], ["A small cat is a small animal"]]
39
 
 
40
  interface_model = gr.Interface.load(
41
  "huggingface/lorenzoscottb/bert-base-cased-PLANE-ood-2",
42
  description=description,
 
33
  # )
34
 
35
 
 
36
  title = "BERT on a PLANE"
37
+
38
+ description="""Did you know that, logically speaking, a small cat is not a small animal, and that a fake smile is not a smile.
39
+
40
+ Learn more testing our BERT model is tuned to perform phrase-level adjective-noun entailment, via the [PLANE](https://aclanthology.org/2022.coling-1.359/) dataset.
41
+
42
+ The current model achieves an accuracy of 90% on out-of-distribution evaluation
43
+
44
+ Coming soon: check if words were in training data!"""
45
+
46
+
47
  examples = [["A red car is a vehicle"], ["A fake smile is a smile"], ["A small cat is a small animal"]]
48
 
49
+
50
  interface_model = gr.Interface.load(
51
  "huggingface/lorenzoscottb/bert-base-cased-PLANE-ood-2",
52
  description=description,