lorenzoscottb commited on
Commit
6f20762
1 Parent(s): 7262a1f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py CHANGED
@@ -1,4 +1,10 @@
1
  import gradio as gr
 
 
 
 
 
 
2
 
3
  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"
4
  title = "BERT on a PLANE"
 
1
  import gradio as gr
2
+ import pickle
3
+ import pandas as pd
4
+
5
+ file = open("https://github.com/lorenzoscottb/PLANE/blob/main/supervised_learning/OoD/OOV_Train_2.pkl","rb")
6
+ data = pickle.load(file)
7
+
8
 
9
  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"
10
  title = "BERT on a PLANE"