Upload folder using huggingface_hub
Browse files- .gitattributes +4 -0
- README.md +64 -3
- p1/test.json +0 -0
- p1/train_v1.json +3 -0
- p1/train_v2.json +3 -0
- p1/val_v1.json +0 -0
- p1/val_v2.json +0 -0
- p2/test.json +0 -0
- p2/train_v1.json +3 -0
- p2/train_v2.json +3 -0
- p2/val_v1.json +0 -0
- p2/val_v2.json +0 -0
- videos.tar.gz +3 -0
.gitattributes
CHANGED
|
@@ -57,3 +57,7 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 57 |
# Video files - compressed
|
| 58 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 59 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
# Video files - compressed
|
| 58 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 59 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
p1/train_v1.json filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
p1/train_v2.json filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
p2/train_v1.json filter=lfs diff=lfs merge=lfs -text
|
| 63 |
+
p2/train_v2.json filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -1,3 +1,64 @@
|
|
| 1 |
-
---
|
| 2 |
-
license:
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- video-text-to-text
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
pretty_name: "QVHighlights - 25 Frames - 3 Frame Variations"
|
| 8 |
+
configs:
|
| 9 |
+
- config_name: p1
|
| 10 |
+
data_files:
|
| 11 |
+
- split: train
|
| 12 |
+
path: p1/train_v1.json
|
| 13 |
+
- split: val
|
| 14 |
+
path: p1/val_v1.json
|
| 15 |
+
- split: test
|
| 16 |
+
path: p1/test_v1.json
|
| 17 |
+
- config_name: p2
|
| 18 |
+
data_files:
|
| 19 |
+
- split: train
|
| 20 |
+
path: p2/train_v1.json
|
| 21 |
+
- split: val
|
| 22 |
+
path: p2/val_v1.json
|
| 23 |
+
- split: test
|
| 24 |
+
path: p2/test_v1.json
|
| 25 |
+
---
|
| 26 |
+
|
| 27 |
+
# QVHighlights
|
| 28 |
+
|
| 29 |
+
- Sets: train and val. Test set will be available soon.
|
| 30 |
+
- Number of frames per video: 25 frames.
|
| 31 |
+
- Frame variations: 3
|
| 32 |
+
- Answer format: 25 frame segmentation mask (e.g. 1010100101100101011110011)
|
| 33 |
+
- Images are in videos.tar.gz (no inside folders).
|
| 34 |
+
- 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).
|
| 35 |
+
- The subset name `p{n}` is the n^th prompt style. So, p1 = prompt style 1, p2 = prompt style 2, etc.
|
| 36 |
+
- 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.
|
| 37 |
+
|
| 38 |
+
## To Download
|
| 39 |
+
|
| 40 |
+
### Install dependencies
|
| 41 |
+
|
| 42 |
+
```bash
|
| 43 |
+
pip install huggingface-hub[cli]
|
| 44 |
+
hf auth login
|
| 45 |
+
```
|
| 46 |
+
|
| 47 |
+
### Download
|
| 48 |
+
|
| 49 |
+
```bash
|
| 50 |
+
hf download jwnt4/qvhighlights-25frames \
|
| 51 |
+
--repo-type dataset \
|
| 52 |
+
--local-dir qvhighlights-25frames
|
| 53 |
+
```
|
| 54 |
+
|
| 55 |
+
### Extract
|
| 56 |
+
|
| 57 |
+
Set the amount of thread with `pigz -p`
|
| 58 |
+
|
| 59 |
+
```bash
|
| 60 |
+
apt install pigz pv
|
| 61 |
+
cd qvhighlights-25frames
|
| 62 |
+
pv videos.tar.gz | pigz -dc -p 2 | tar -x
|
| 63 |
+
rm videos.tar.gz
|
| 64 |
+
```
|
p1/test.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
p1/train_v1.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fde45f42c85413d7d5513c2f7b63d5322ca44778d8bdeb45b879c6deef2005b4
|
| 3 |
+
size 12755281
|
p1/train_v2.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1f2d395177ab580bd5c002d70d5173774bf75f82b953a47c1919d9ba75eef261
|
| 3 |
+
size 12954401
|
p1/val_v1.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
p1/val_v2.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
p2/test.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
p2/train_v1.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:411779363e56bd295623f9cac46487b142b01619adba37a525f8828a40f9d04b
|
| 3 |
+
size 14660833
|
p2/train_v2.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b62427225f81dac6e146b932aa34a9ecf31669bb4d061a19da441006b98525ca
|
| 3 |
+
size 14859953
|
p2/val_v1.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
p2/val_v2.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
videos.tar.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ed5b163d334d0546092b9cddbfcbd870a9105ee2d130da174a3a682451ea5818
|
| 3 |
+
size 15274884299
|