-
Notifications
You must be signed in to change notification settings - Fork 0
/
nle_eval_prompt.py
33 lines (20 loc) · 1.46 KB
/
nle_eval_prompt.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
FEEDBACK_EVAL = '''Your task is decide whether the hypothesis entails the premise or not given a context. The premise will consist "original caption" of a video, "candidate caption" of the video, "ground-truth misalignment" between the "original caption" and "candidate caption" which summarizes how the original caption is different from the candidate caption. Hypothesis will be the predicted misalignment between the "original caption" and "candidate caption". You need to output 1 if hypothesis entails the premise for the given context otherwise 0.
Premise:
Original Caption: the fountain sprays top to bottom after the video turns sideways
Candidate Caption: the fountain sprays bottom to top after the video turns sideways
Ground-truth Misalignment: ,"the fountain sprays top to bottom, not bottom to top
Hypothesis: the fountain sprays bottom to top before the video turns sideways, not after the video turns sideways
Entailment: 0
Premise:
Original Caption: a single bush on the screen then the camera pans to the zebras on the right
Candidate Caption: A single bush on the screen then the camera pans to the zebras on the left
Ground-truth Misalignment: The camera pans to the zebras on the right, not the left
Hypothesis: A single bush on the screen, then the camera pans to the zebras on the right, not on the left
Entailment: 1
Now it's your turn.
Premise:
Original Caption: <c1>
Candidate Caption: <c2>
Ground-truth Misalignment: <c3>
Hypothesis: <c4>
Entailment: '''