File size: 1,787 Bytes
9f7d5ae
 
 
 
 
 
 
 
 
 
 
 
 
 
 
733896a
9f7d5ae
 
 
 
 
 
 
733896a
9f7d5ae
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
---
license: mit
task_categories:
  - video-text-to-text
language:
  - en
pretty_name: "QVHighlights - 25 Frames - 3 Frame Variations"
configs:
  - config_name: p1
    data_files:
      - split: train
        path: p1/train_v1.json
      - split: val
        path: p1/val_v1.json
      - split: test
        path: p1/test.json
  - config_name: p2
    data_files:
      - split: train
        path: p2/train_v1.json
      - split: val
        path: p2/val_v1.json
      - split: test
        path: p2/test.json
---

# QVHighlights 

- Sets: train and val. Test set will be available soon.
- Number of frames per video: 25 frames.
- Frame variations: 3
- Answer format: 25 frame segmentation mask (e.g. 1010100101100101011110011)
- Images are in videos.tar.gz (no inside folders).
- Each image is noted by `{video name}_frame{frame:03d}_var{var:d}.jpg` where var2 is the middle one. The variations are separated 0.125 seconds or around 7 frames for 30fps videos (most are 30fps).
- The subset name `p{n}` is the n^th prompt style. So, p1 = prompt style 1, p2 = prompt style 2, etc.
- The suffix name v1 means the original. In v2, the scores that is 0.0 are re-weighted using nearby tokens with small weight so the scores turns to be around 0.0 to 0.2 (less harsh for the soft losses). This change does not really change the overall distribution as they are only a handful of corrections.

## To Download

### Install dependencies

```bash
pip install huggingface-hub[cli]
hf auth login
```

### Download

```bash
hf download jwnt4/qvhighlights-25frames \
  --repo-type dataset \
  --local-dir qvhighlights-25frames
```

### Extract

Set the amount of thread with `pigz -p`

```bash
apt install pigz pv
cd qvhighlights-25frames
pv videos.tar.gz | pigz -dc -p 2 | tar -x
rm videos.tar.gz
```