Spaces:
Runtime error
Runtime error
Commit
·
0b8554b
1
Parent(s):
712bf5a
Update app.py
Browse files
app.py
CHANGED
@@ -2,8 +2,7 @@ import gradio as gr
|
|
2 |
import pickle
|
3 |
import pandas as pd
|
4 |
|
5 |
-
|
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"
|
|
|
2 |
import pickle
|
3 |
import pandas as pd
|
4 |
|
5 |
+
data = pickle.load(open("OOV_Train_2.pkl", "rb"))
|
|
|
6 |
|
7 |
|
8 |
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"
|