qvhighlights-videos / README.md
ayushsdev's picture
Add files using upload-large-folder tool
391746a verified
---
license: cc-by-nc-sa-4.0
task_categories:
- video-classification
- video-text-to-text
language:
- en
tags:
- video
- qvhighlights
- moment-retrieval
- highlight-detection
size_categories:
- 10K<n<100K
---
# QVHighlights Videos
All 25124 videos from the QVHighlights benchmark (train + val + test splits).
Total size: 135.3 GB.
## Layout
Files are sharded into subdirectories by the first character of the filename
(HuggingFace caps each directory at 10,000 files):
```
<first-char>/<youtube-id>_<start>_<end>.mp4
```
## Source
Lei et al., "QVHighlights: Detecting Moments and Highlights in Videos via Natural
Language Queries" (NeurIPS 2021).
Original archive: https://nlp.cs.unc.edu/data/jielei/qvh/qvhilights_videos.tar.gz
## Usage
```python
from huggingface_hub import hf_hub_download
# Filename starts with 'h', so it lives in the 'h/' subdirectory
video = hf_hub_download(
repo_id="ayushsdev/qvhighlights-videos", repo_type="dataset",
filename="V/VLHkdrM2NAg_210.0_360.0.mp4",
)
```
To download the full dataset:
```python
from huggingface_hub import snapshot_download
snapshot_download(repo_id="ayushsdev/qvhighlights-videos", repo_type="dataset")
```