Enxin commited on
Commit
c40266a
·
verified ·
1 Parent(s): a4a04d1
Files changed (1) hide show
  1. code/prompt.md +21 -12
code/prompt.md CHANGED
@@ -1,22 +1,31 @@
1
- # Protocols (identical to the paper's meta-benchmark runs; exp/analysis/meta/meta_runner.py)
2
 
3
- ## VIDEO (video1fps)
4
- Frames: one frame per second of the timeline, at most 512 frames per item (uniform subsample beyond; the normalized
5
- store holds at most 1,024 frames per video), each frame resized to short side 224. When a model's context or memory
6
- rejects the request the frame count is halved and the request retried; the frames actually sent are recorded per item.
 
7
 
8
  Prompt (frames first, then the text):
9
- These are {n} frames sampled from a video, in order. Answer the multiple-choice question about the video.
 
 
10
  Question: {question}
11
- Options:
12
  A. ...
13
  B. ...
14
- Answer with the option's letter from the given choices directly.
15
 
16
  ## BLIND
17
- Question and options only, no frames; four option permutations per item (seed 42, exp/analysis/meta/meta_runner.py
18
- permutations_for); the blind score is the mean over the four permutations.
 
 
 
 
 
 
 
19
 
20
  ## Scoring
21
- The rule scorer of the paper (exp/pipeline/scoring.py, mode "list"): the first option letter in the reply, or the option
22
- whose text the reply repeats; a reply that names no option is wrong. Gain = VIDEO - BLIND on the same items.
 
1
+ # Protocols (identical to the runs of the paper; code: https://github.com/Espere-1119-Song/Video-Index)
2
 
3
+ ## VIDEO
4
+ Frames: one frame per second of the timeline, at most 512 frames per item (uniform thinning beyond; the videos are
5
+ stored at no more than 2 frames per second and 1,024 frames), each frame resized to short side 224. When a model
6
+ rejects the request for its size the frame count is halved and the request repeated; the number of frames sent is
7
+ recorded per item.
8
 
9
  Prompt (frames first, then the text):
10
+
11
+ You are given {n} frame(s) sampled from a video. Answer the question based on these frames.
12
+
13
  Question: {question}
 
14
  A. ...
15
  B. ...
16
+ Reply with ONLY the option letter (or the exact short answer if no options).
17
 
18
  ## BLIND
19
+ Question and options only, no frames; four option permutations per item, fixed by
20
+ random.Random("42|<item_id>").sample(range(k), k); the blind score is the mean over the four permutations.
21
+
22
+ You are given NO frames from the video. Answer the question from the text alone.
23
+
24
+ Question: {question}
25
+ A. ...
26
+ B. ...
27
+ Reply with ONLY the option letter (or the exact short answer if no options).
28
 
29
  ## Scoring
30
+ Rule scorer (video_index/scoring.py): the leading option letter of the reply, a stated answer ("the answer is B"),
31
+ or the option whose text the reply repeats; a reply that names no option is wrong. Gain = VIDEO - BLIND on the same items.