kkail8 commited on
Commit
048fd03
·
verified ·
1 Parent(s): e34a173

Add files using upload-large-folder tool

Browse files
.gitattributes CHANGED
@@ -1,60 +1,2 @@
1
- *.7z filter=lfs diff=lfs merge=lfs -text
2
- *.arrow filter=lfs diff=lfs merge=lfs -text
3
- *.avro filter=lfs diff=lfs merge=lfs -text
4
- *.bin filter=lfs diff=lfs merge=lfs -text
5
- *.bz2 filter=lfs diff=lfs merge=lfs -text
6
- *.ckpt filter=lfs diff=lfs merge=lfs -text
7
- *.ftz filter=lfs diff=lfs merge=lfs -text
8
- *.gz filter=lfs diff=lfs merge=lfs -text
9
- *.h5 filter=lfs diff=lfs merge=lfs -text
10
- *.joblib filter=lfs diff=lfs merge=lfs -text
11
- *.lfs.* filter=lfs diff=lfs merge=lfs -text
12
- *.lz4 filter=lfs diff=lfs merge=lfs -text
13
- *.mds filter=lfs diff=lfs merge=lfs -text
14
- *.mlmodel filter=lfs diff=lfs merge=lfs -text
15
- *.model filter=lfs diff=lfs merge=lfs -text
16
- *.msgpack filter=lfs diff=lfs merge=lfs -text
17
- *.npy filter=lfs diff=lfs merge=lfs -text
18
- *.npz filter=lfs diff=lfs merge=lfs -text
19
- *.onnx filter=lfs diff=lfs merge=lfs -text
20
- *.ot filter=lfs diff=lfs merge=lfs -text
21
- *.parquet filter=lfs diff=lfs merge=lfs -text
22
- *.pb filter=lfs diff=lfs merge=lfs -text
23
- *.pickle filter=lfs diff=lfs merge=lfs -text
24
- *.pkl filter=lfs diff=lfs merge=lfs -text
25
- *.pt filter=lfs diff=lfs merge=lfs -text
26
- *.pth filter=lfs diff=lfs merge=lfs -text
27
- *.rar filter=lfs diff=lfs merge=lfs -text
28
- *.safetensors filter=lfs diff=lfs merge=lfs -text
29
- saved_model/**/* filter=lfs diff=lfs merge=lfs -text
30
- *.tar.* filter=lfs diff=lfs merge=lfs -text
31
- *.tar filter=lfs diff=lfs merge=lfs -text
32
- *.tflite filter=lfs diff=lfs merge=lfs -text
33
- *.tgz filter=lfs diff=lfs merge=lfs -text
34
- *.wasm filter=lfs diff=lfs merge=lfs -text
35
- *.xz filter=lfs diff=lfs merge=lfs -text
36
  *.zip filter=lfs diff=lfs merge=lfs -text
37
- *.zst filter=lfs diff=lfs merge=lfs -text
38
- *tfevents* filter=lfs diff=lfs merge=lfs -text
39
- # Audio files - uncompressed
40
- *.pcm filter=lfs diff=lfs merge=lfs -text
41
- *.sam filter=lfs diff=lfs merge=lfs -text
42
- *.raw filter=lfs diff=lfs merge=lfs -text
43
- # Audio files - compressed
44
- *.aac filter=lfs diff=lfs merge=lfs -text
45
- *.flac filter=lfs diff=lfs merge=lfs -text
46
- *.mp3 filter=lfs diff=lfs merge=lfs -text
47
- *.ogg filter=lfs diff=lfs merge=lfs -text
48
- *.wav filter=lfs diff=lfs merge=lfs -text
49
- # Image files - uncompressed
50
- *.bmp filter=lfs diff=lfs merge=lfs -text
51
- *.gif filter=lfs diff=lfs merge=lfs -text
52
- *.png filter=lfs diff=lfs merge=lfs -text
53
- *.tiff filter=lfs diff=lfs merge=lfs -text
54
- # Image files - compressed
55
- *.jpg filter=lfs diff=lfs merge=lfs -text
56
- *.jpeg filter=lfs diff=lfs merge=lfs -text
57
- *.webp filter=lfs diff=lfs merge=lfs -text
58
- # Video files - compressed
59
- *.mp4 filter=lfs diff=lfs merge=lfs -text
60
- *.webm filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  *.zip filter=lfs diff=lfs merge=lfs -text
2
+ *.csv filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
LICENSE.md ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # AV-DPO licensing
2
+
3
+ Different parts of this repository have different licensing terms:
4
+
5
+ | Component | License or status |
6
+ | --- | --- |
7
+ | Preference metadata and video ID lists | [Creative Commons Attribution 4.0 International](https://creativecommons.org/licenses/by/4.0/) |
8
+ | Model-generated sounding videos | [Creative Commons Attribution 4.0 International](https://creativecommons.org/licenses/by/4.0/) |
9
+ | TAVGBench/YouTube source media | Not distributed and not licensed by this repository |
10
+
11
+ The licenses above apply only to rights held by the JavisDiT++ authors. They do
12
+ not grant rights in third-party trademarks, privacy or publicity rights, or
13
+ other third-party material. Users obtaining source media independently are
14
+ responsible for the applicable upstream terms and licenses.
README.md CHANGED
@@ -1,3 +1,183 @@
1
  ---
2
- license: apache-2.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: other
3
+ language:
4
+ - en
5
+ pretty_name: AV-DPO
6
+ size_categories:
7
+ - 10K<n<100K
8
+ task_categories:
9
+ - text-to-video
10
+ - text-to-audio
11
+ tags:
12
+ - audio-video
13
+ - preference
14
+ - dpo
15
+ - sounding-video-generation
16
+ configs:
17
+ - config_name: full
18
+ data_files: train.csv
19
+ - config_name: generated_only
20
+ data_files: train_generated_only.csv
21
  ---
22
+
23
+ # AV-DPO
24
+
25
+ AV-DPO is the audio-video preference dataset used in Stage 3 of
26
+ [JavisDiT++](https://arxiv.org/abs/2602.19163). It contains chosen-rejected
27
+ sounding-video pairs selected jointly across audio quality and text alignment,
28
+ video quality and text alignment, and audio-video semantic and temporal
29
+ alignment.
30
+
31
+ ## Release summary
32
+
33
+ | Item | Count |
34
+ | --- | ---: |
35
+ | Preference pairs (`train.csv`) | 23,671 |
36
+ | Self-contained generated-only pairs (`train_generated_only.csv`) | 6,138 |
37
+ | Unique released generated sounding videos | 29,809 |
38
+ | Chosen samples generated by the reference model | 6,708 (28.3%) |
39
+ | Ground-truth videos required for the full split | 17,533 |
40
+
41
+ Each MP4 contains both H.264 video and an AAC audio track. Separate audio files
42
+ are unnecessary for JavisDiT++ training and are not included.
43
+
44
+ ## Construction
45
+
46
+ We curated a prompt pool separate from the AV-SFT training set. For every
47
+ prompt, the Stage 2 reference model generated three audio-video candidates and
48
+ the corresponding ground-truth sounding video was added as a fourth candidate.
49
+ Candidates were evaluated with the following modality-aware rewards:
50
+
51
+ - Audio: AudioBox audio quality and ImageBind text-audio alignment.
52
+ - Video: VideoAlign visual/motion quality and ImageBind text-video alignment.
53
+ - Audio-video: ImageBind semantic alignment and Synchformer temporal synchrony.
54
+
55
+ Each metric was normalized, metrics were averaged within their modality, and a
56
+ pair was retained only when the chosen candidate outranked the rejected
57
+ candidate in all three modality groups. This produces 23,671 available pairs,
58
+ reported as approximately 25K in the paper.
59
+
60
+ ## Files
61
+
62
+ ```text
63
+ AV-DPO/
64
+ ├── README.md
65
+ ├── SHA256SUMS
66
+ ├── manifest.json
67
+ ├── train.csv
68
+ ├── train_generated_only.csv
69
+ ├── prompt_pool_video_ids.txt
70
+ ├── required_ground_truth_video_ids.txt
71
+ └── data_zips/
72
+ ├── generated_240p.zip
73
+ ├── generated_360p.zip
74
+ └── generated_480p.zip
75
+ ```
76
+
77
+ `train.csv` is the full paper setting. Because the source TAVGBench/YouTube
78
+ videos cannot be redistributed, its ground-truth entries point to
79
+ `data/AV-DPO/data/tavgbbench/<video_id>.mp4`, which users must resolve locally.
80
+ `train_generated_only.csv` contains only pairs whose chosen and rejected media
81
+ are both included in this repository, and therefore works immediately after
82
+ download. `prompt_pool_video_ids.txt` records the locally available prompt pool;
83
+ `required_ground_truth_video_ids.txt` is the smaller set needed by the final
84
+ full preference split.
85
+
86
+ ## Schema
87
+
88
+ | Column | Description |
89
+ | --- | --- |
90
+ | `path` | JavisDiT-root-relative path of the preferred sounding video. |
91
+ | `path_reject` | JavisDiT-root-relative path of the non-preferred sounding video. |
92
+ | `audio_path`, `audio_path_reject` | Same MP4 paths; JavisDiT reads their embedded audio tracks. |
93
+ | `text` | Text condition shared by the pair. |
94
+ | `id`, `audio_id` | TAVGBench/YouTube clip identifier (`youtube_id_start_end`). |
95
+ | `relpath` | Stable source clip filename. |
96
+ | `num_frames` | Number of frames sampled during training. |
97
+ | `height`, `width`, `aspect_ratio`, `resolution` | Training bucket metadata. |
98
+ | `fps`, `audio_fps` | Video and audio sampling rates (16 and 16,000). |
99
+
100
+ ## Download and training
101
+
102
+ ```bash
103
+ cd /path/to/JavisDiT
104
+ hf download --repo-type dataset JavisVerse/AV-DPO \
105
+ --local-dir data/AV-DPO
106
+
107
+ (cd data/AV-DPO && sha256sum -c SHA256SUMS) # macOS: shasum -a 256 -c
108
+ for archive in data/AV-DPO/data_zips/*.zip; do unzip -q "$archive" -d data/AV-DPO; done
109
+ ```
110
+
111
+ To train immediately on the self-contained subset:
112
+
113
+ ```bash
114
+ torchrun --standalone --nproc_per_node 8 \
115
+ scripts/train.py \
116
+ configs/javisdit-v1-0/train/stage3_audio_video_dpo.py \
117
+ --data-path data/AV-DPO/train_generated_only.csv
118
+ ```
119
+
120
+ To reproduce the full paper setting, first obtain the source videos following
121
+ the [TAVGBench instructions](https://github.com/OpenNLPLab/TAVGBench), then
122
+ make them available at the metadata's expected local path without copying them:
123
+
124
+ ```bash
125
+ mkdir -p data/AV-DPO/data
126
+ ln -s /path/to/TAVGBench/videos data/AV-DPO/data/tavgbbench
127
+
128
+ torchrun --standalone --nproc_per_node 8 \
129
+ scripts/train.py \
130
+ configs/javisdit-v1-0/train/stage3_audio_video_dpo.py \
131
+ --data-path data/AV-DPO/train.csv
132
+ ```
133
+
134
+ The metadata follows JavisDiT's native `path`/`path_reject` DPO schema. Its
135
+ paths assume the dataset is downloaded to `JavisDiT/data/AV-DPO` and training
136
+ is launched from the JavisDiT repository root.
137
+
138
+ The Stage 3 configuration sets `use_audio_in_video=True`, so it reads audio
139
+ directly from each MP4 and does not require extraction. If standalone 16 kHz
140
+ WAV files are needed for inspection or another tool, use JavisDiT's dataset
141
+ utilities to extract every released generated track in batch:
142
+
143
+ ```bash
144
+ python -m tools.datasets.convert video data/AV-DPO/data/generated \
145
+ --output data/AV-DPO/generated_videos.csv
146
+ python -m tools.datasets.datautil data/AV-DPO/generated_videos.csv \
147
+ --extract-audio --audio-sr 16000
148
+ ```
149
+
150
+ This writes each WAV next to its source MP4 and records the paths in
151
+ `data/AV-DPO/generated_videos_au_sr16000.csv`. It is an optional local step;
152
+ WAV files are not part of the Hugging Face release.
153
+
154
+ ## Intended use and limitations
155
+
156
+ AV-DPO is intended for research on preference alignment in joint audio-video
157
+ generation. Rankings are produced by automatic reward models rather than direct
158
+ human pair annotation and may inherit their biases or errors. Generated media
159
+ may contain visual or acoustic artifacts. Users should review samples and apply
160
+ appropriate safety filtering before downstream deployment.
161
+
162
+ Ground-truth TAVGBench/YouTube media are not included. This repository only
163
+ publishes their clip identifiers and preference metadata; users are responsible
164
+ for complying with upstream licenses, platform terms, and applicable law when
165
+ obtaining source media.
166
+
167
+ The release uses separate terms for different components:
168
+
169
+ - Original preference metadata and ID lists: CC BY 4.0.
170
+ - Model-generated sounding videos: CC BY 4.0.
171
+ - TAVGBench/YouTube source media: not distributed and not covered by this
172
+ repository's licenses.
173
+
174
+ ## Citation
175
+
176
+ ```bibtex
177
+ @inproceedings{liu2026javisdit++,
178
+ title = {JavisDiT++: Unified Modeling and Optimization for Joint Audio-Video Generation},
179
+ author = {Liu, Kai and Zheng, Yanhao and Wang, Kai and Wu, Shengqiong and Zhang, Rongjunchen and Luo, Jiebo and Hatzinakos, Dimitrios and Liu, Ziwei and Fei, Hao and Chua, Tat-Seng},
180
+ booktitle = {The Fourteenth International Conference on Learning Representations},
181
+ year = {2026},
182
+ }
183
+ ```
SHA256SUMS ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ 4d67945ac0de351af9b64073757f3b0fd1ca0c468cd49adc4a4c25a857a310e9 data_zips/generated_240p.zip
2
+ cb9e7d65a5d4dcd98cde49e81eff5c89670c8d45bb4f7ff2324bbc652ff90fe5 data_zips/generated_360p.zip
3
+ 70e8b76c1b2cff70e01cd961226db03c4c8296cfab592f1fd71d0fb5f14e3c40 data_zips/generated_480p.zip
data_zips/generated_240p.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4d67945ac0de351af9b64073757f3b0fd1ca0c468cd49adc4a4c25a857a310e9
3
+ size 10259701228
data_zips/generated_360p.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cb9e7d65a5d4dcd98cde49e81eff5c89670c8d45bb4f7ff2324bbc652ff90fe5
3
+ size 5716978953
data_zips/generated_480p.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70e8b76c1b2cff70e01cd961226db03c4c8296cfab592f1fd71d0fb5f14e3c40
3
+ size 4264341170
manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "paper_prompt_pool": "30K captions (28,454 retained in this archive)",
3
+ "candidates_per_prompt": {
4
+ "generated": 3,
5
+ "ground_truth": 1
6
+ },
7
+ "preference_strategy": "normalized modality-aware micro averaging",
8
+ "pairs": 23671,
9
+ "generated_only_pairs": 6138,
10
+ "chosen_generated": 6708,
11
+ "chosen_ground_truth": 16963,
12
+ "rejected_generated": 23101,
13
+ "rejected_ground_truth": 570,
14
+ "unique_generated_media": 29809,
15
+ "generated_media_bytes": 20234858887,
16
+ "required_ground_truth_media": 17533,
17
+ "ground_truth_media_included": false
18
+ }
prompt_pool_video_ids.txt ADDED
The diff for this file is too large to render. See raw diff
 
required_ground_truth_video_ids.txt ADDED
The diff for this file is too large to render. See raw diff
 
train.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5be26c2ef095f4b8947e161f8fc2d1747fe0c10c4970515230c42625e26df46d
3
+ size 17935679
train_generated_only.csv ADDED
The diff for this file is too large to render. See raw diff