Spaces:
Build error
Build error
jiangjiechen
commited on
Commit
•
0d63b55
1
Parent(s):
964af23
add missing param
Browse files
app.py
CHANGED
@@ -24,7 +24,8 @@ config = {
|
|
24 |
"cand_k": 3,
|
25 |
"max_seq2_length": 256,
|
26 |
"max_seq1_length": 128,
|
27 |
-
"max_num_questions": 8
|
|
|
28 |
}
|
29 |
|
30 |
model_dir = snapshot_download('Jiangjie/loren')
|
@@ -96,6 +97,7 @@ iface = gr.Interface(
|
|
96 |
description="LOREN is an interpretable Fact Verification model against Wikipedia. "
|
97 |
"This is a demo system for \"LOREN: Logic-Regularized Reasoning for Interpretable Fact Verification\". "
|
98 |
"See the paper for technical details. You can add FLAG on the bottom to record interesting or bad cases!",
|
|
|
99 |
allow_flagging=True,
|
100 |
flagging_options=['Good Case!', 'Error: MRC', 'Error: Parsing',
|
101 |
'Error: Commonsense', 'Error: Evidence', 'Error: Other'],
|
|
|
24 |
"cand_k": 3,
|
25 |
"max_seq2_length": 256,
|
26 |
"max_seq1_length": 128,
|
27 |
+
"max_num_questions": 8,
|
28 |
+
"do_lower_case": False
|
29 |
}
|
30 |
|
31 |
model_dir = snapshot_download('Jiangjie/loren')
|
|
|
97 |
description="LOREN is an interpretable Fact Verification model against Wikipedia. "
|
98 |
"This is a demo system for \"LOREN: Logic-Regularized Reasoning for Interpretable Fact Verification\". "
|
99 |
"See the paper for technical details. You can add FLAG on the bottom to record interesting or bad cases!",
|
100 |
+
flagging_dir='results/flagged/',
|
101 |
allow_flagging=True,
|
102 |
flagging_options=['Good Case!', 'Error: MRC', 'Error: Parsing',
|
103 |
'Error: Commonsense', 'Error: Evidence', 'Error: Other'],
|