hao05 commited on
Commit
1716e03
·
verified ·
1 Parent(s): 07d7013

Remove data_source, ability, reward_model, and extra_info columns

Browse files
Files changed (4) hide show
  1. README.md +5 -10
  2. data/train.parquet +2 -2
  3. materialize_paths.py +0 -10
  4. release_manifest.json +14 -0
README.md CHANGED
@@ -17,6 +17,8 @@ tags:
17
  This repository contains 5,013 multimodal training examples for V-Zero.
18
  The training image columns are `images`, `teacher_images`, `teacher_neg_images`,
19
  and the ablation column `teacher_random_images`.
 
 
20
 
21
  All published image paths are relative to the repository root. Run
22
  `materialize_paths.py` after downloading to create a parquet containing
@@ -69,15 +71,8 @@ python ./v-zero-5k/materialize_paths.py \
69
  | `tallyqa` | 277 |
70
  | `textvqa` | 261 |
71
 
72
- ## Optional metadata
73
-
74
- The `extra_info` image aliases are byte-identical to their corresponding
75
- training images and have been rewritten to the same repository files.
76
- `extra_info.boxed_image` is set to null because it is optional analysis metadata, not a training input.
77
-
78
  ## License and responsible release
79
 
80
- This is a mixed-source dataset. The repository is initially private while
81
- the redistribution terms, attribution requirements, generated-annotation
82
- terms, privacy review, and source citations are completed. Do not make the
83
- repository public until that review is recorded here.
 
17
  This repository contains 5,013 multimodal training examples for V-Zero.
18
  The training image columns are `images`, `teacher_images`, `teacher_neg_images`,
19
  and the ablation column `teacher_random_images`.
20
+ The published Parquet intentionally omits `data_source`, `ability`,
21
+ `reward_model`, and `extra_info`.
22
 
23
  All published image paths are relative to the repository root. Run
24
  `materialize_paths.py` after downloading to create a parquet containing
 
71
  | `tallyqa` | 277 |
72
  | `textvqa` | 261 |
73
 
 
 
 
 
 
 
74
  ## License and responsible release
75
 
76
+ This is a mixed-source dataset. Users are responsible for checking the
77
+ redistribution terms, attribution requirements, generated-annotation terms,
78
+ privacy constraints, and source citations before reuse.
 
data/train.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:47695dad9d2f058bb4ff6e901985169b1b0c3d2562601e46482f6cf16ae43680
3
- size 1963808
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77f7e64b3277de9b7f65f82c569b650cb362326366b7f2ece6e64e33f126f503
3
+ size 966289
materialize_paths.py CHANGED
@@ -18,12 +18,6 @@ CORE_IMAGE_COLUMNS = (
18
  "teacher_neg_images",
19
  "teacher_random_images",
20
  )
21
- EXTRA_IMAGE_FIELDS = (
22
- "original_image",
23
- "crop_image",
24
- "teacher_neg_crop_image",
25
- "boxed_image",
26
- )
27
 
28
 
29
  def parse_args() -> argparse.Namespace:
@@ -78,10 +72,6 @@ def main() -> None:
78
  for row in rows:
79
  for column in CORE_IMAGE_COLUMNS:
80
  row[column] = rewrite_image_list(row.get(column), root=root, column=column)
81
- extra = dict(row.get("extra_info") or {})
82
- for field in EXTRA_IMAGE_FIELDS:
83
- extra[field] = local_path(extra.get(field), root=root)
84
- row["extra_info"] = extra
85
 
86
  destination.parent.mkdir(parents=True, exist_ok=True)
87
  temporary = destination.with_name(f".{destination.name}.tmp")
 
18
  "teacher_neg_images",
19
  "teacher_random_images",
20
  )
 
 
 
 
 
 
21
 
22
 
23
  def parse_args() -> argparse.Namespace:
 
72
  for row in rows:
73
  for column in CORE_IMAGE_COLUMNS:
74
  row[column] = rewrite_image_list(row.get(column), root=root, column=column)
 
 
 
 
75
 
76
  destination.parent.mkdir(parents=True, exist_ok=True)
77
  temporary = destination.with_name(f".{destination.name}.tmp")
release_manifest.json CHANGED
@@ -115,5 +115,19 @@
115
  "bytes": 255866880,
116
  "sha256": "9e4e18e7f9bf4af07f06192b072c349d662e12dbcc6b35477cb20c61f06dd827"
117
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
118
  ]
119
  }
 
115
  "bytes": 255866880,
116
  "sha256": "9e4e18e7f9bf4af07f06192b072c349d662e12dbcc6b35477cb20c61f06dd827"
117
  }
118
+ ],
119
+ "dropped_columns": [
120
+ "data_source",
121
+ "ability",
122
+ "reward_model",
123
+ "extra_info"
124
+ ],
125
+ "published_columns": [
126
+ "prompt",
127
+ "images",
128
+ "teacher_raw_prompt",
129
+ "teacher_images",
130
+ "teacher_neg_images",
131
+ "teacher_random_images"
132
  ]
133
  }