Spaces:
Runtime error
Runtime error
amandakonet
commited on
Commit
•
985935c
1
Parent(s):
bbe40df
try model
Browse files
app.py
CHANGED
@@ -204,7 +204,7 @@ with torch.no_grad():
|
|
204 |
scores = model(**features).logits
|
205 |
label_mapping = ['contradiction', 'entailment', 'neutral']
|
206 |
labels = [label_mapping[score_max] for score_max in scores.argmax(dim=1)]
|
207 |
-
print("The claim: ", option_claim, "is ", labels "
|
208 |
|
209 |
# section 6: analysis
|
210 |
st.markdown("## Critical Analysis")
|
|
|
204 |
scores = model(**features).logits
|
205 |
label_mapping = ['contradiction', 'entailment', 'neutral']
|
206 |
labels = [label_mapping[score_max] for score_max in scores.argmax(dim=1)]
|
207 |
+
print("The claim: ", option_claim, "is ", labels, " by ", option_evidence)
|
208 |
|
209 |
# section 6: analysis
|
210 |
st.markdown("## Critical Analysis")
|