Expose compact manifest indexes as dataset configs
Browse files
README.md
CHANGED
|
@@ -23,6 +23,18 @@ configs:
|
|
| 23 |
data_files:
|
| 24 |
- split: train
|
| 25 |
path: "memberships/**/*.parquet"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
---
|
| 27 |
|
| 28 |
# V-JEPA Reproduce Recipe
|
|
@@ -82,13 +94,13 @@ from this release.
|
|
| 82 |
## Load with Hugging Face Datasets
|
| 83 |
|
| 84 |
Authentication is required because the repository is private; export a token
|
| 85 |
-
with read access as `HF_TOKEN`. The repository exposes
|
| 86 |
configurations. `samples` is the default, so both the bare call and an explicit
|
| 87 |
-
`"samples"` select the deduplicated interval table. Use `"assets"`
|
| 88 |
-
`"memberships"` for the other
|
|
|
|
| 89 |
|
| 90 |
-
|
| 91 |
-
shards:
|
| 92 |
|
| 93 |
```python
|
| 94 |
from datasets import load_dataset
|
|
@@ -105,18 +117,19 @@ web_train = samples.filter(
|
|
| 105 |
)
|
| 106 |
```
|
| 107 |
|
| 108 |
-
For source lineage, load the memberships configuration and filter by
|
| 109 |
-
`dataset_id`
|
| 110 |
-
|
| 111 |
|
| 112 |
```python
|
| 113 |
dataset_id = "howto100m"
|
|
|
|
| 114 |
memberships = load_dataset(
|
| 115 |
"parquet",
|
| 116 |
data_files={
|
| 117 |
"train": (
|
| 118 |
f"hf://datasets/{repo_id}/memberships/"
|
| 119 |
-
f"dataset_id={dataset_id}/
|
| 120 |
)
|
| 121 |
},
|
| 122 |
split="train",
|
|
@@ -124,9 +137,12 @@ memberships = load_dataset(
|
|
| 124 |
)
|
| 125 |
```
|
| 126 |
|
|
|
|
|
|
|
|
|
|
| 127 |
`revision=` is optional for ordinary use because `main` is the current release.
|
| 128 |
For reproducible training, pass the immutable data commit shown below as
|
| 129 |
-
`revision="
|
| 130 |
`@<revision>` to an `hf://` URL. The manifest run ID remains inside
|
| 131 |
`manifest.json` as provenance; it is not part of the Hub path.
|
| 132 |
|
|
@@ -140,13 +156,15 @@ dataset membership.
|
|
| 140 |
|
| 141 |
## Publication verification
|
| 142 |
|
| 143 |
-
Data commit `
|
| 144 |
-
|
| 145 |
41,557,605,070 bytes: 3,292 Parquet shards plus `manifest.json`. Every local
|
| 146 |
-
object size and SHA-256 matched
|
| 147 |
-
|
| 148 |
-
|
| 149 |
-
|
|
|
|
|
|
|
| 150 |
|
| 151 |
## Media smoke status
|
| 152 |
|
|
|
|
| 23 |
data_files:
|
| 24 |
- split: train
|
| 25 |
path: "memberships/**/*.parquet"
|
| 26 |
+
- config_name: dataset_roles
|
| 27 |
+
data_files:
|
| 28 |
+
- split: train
|
| 29 |
+
path: "dataset_roles.parquet"
|
| 30 |
+
- config_name: dataset_stats
|
| 31 |
+
data_files:
|
| 32 |
+
- split: train
|
| 33 |
+
path: "dataset_stats.parquet"
|
| 34 |
+
- config_name: source_coverage
|
| 35 |
+
data_files:
|
| 36 |
+
- split: train
|
| 37 |
+
path: "source_coverage.parquet"
|
| 38 |
---
|
| 39 |
|
| 40 |
# V-JEPA Reproduce Recipe
|
|
|
|
| 94 |
## Load with Hugging Face Datasets
|
| 95 |
|
| 96 |
Authentication is required because the repository is private; export a token
|
| 97 |
+
with read access as `HF_TOKEN`. The repository exposes six named
|
| 98 |
configurations. `samples` is the default, so both the bare call and an explicit
|
| 99 |
+
`"samples"` select the deduplicated interval table. Use `"assets"` and
|
| 100 |
+
`"memberships"` for the other large tables; `"dataset_roles"`,
|
| 101 |
+
`"dataset_stats"`, and `"source_coverage"` expose the three compact indexes.
|
| 102 |
|
| 103 |
+
The simplest streaming load is:
|
|
|
|
| 104 |
|
| 105 |
```python
|
| 106 |
from datasets import load_dataset
|
|
|
|
| 117 |
)
|
| 118 |
```
|
| 119 |
|
| 120 |
+
For source lineage, load the `memberships` configuration and filter by
|
| 121 |
+
`dataset_id`. To minimize shard discovery and assign the 256 hash buckets
|
| 122 |
+
directly across workers, address only the required source and bucket paths:
|
| 123 |
|
| 124 |
```python
|
| 125 |
dataset_id = "howto100m"
|
| 126 |
+
bucket = "00"
|
| 127 |
memberships = load_dataset(
|
| 128 |
"parquet",
|
| 129 |
data_files={
|
| 130 |
"train": (
|
| 131 |
f"hf://datasets/{repo_id}/memberships/"
|
| 132 |
+
f"dataset_id={dataset_id}/dedup_bucket={bucket}/*.parquet"
|
| 133 |
)
|
| 134 |
},
|
| 135 |
split="train",
|
|
|
|
| 137 |
)
|
| 138 |
```
|
| 139 |
|
| 140 |
+
The same direct form applies to `samples/dedup_bucket=<bucket>/*.parquet` and
|
| 141 |
+
`assets/dedup_bucket=<bucket>/*.parquet`.
|
| 142 |
+
|
| 143 |
`revision=` is optional for ordinary use because `main` is the current release.
|
| 144 |
For reproducible training, pass the immutable data commit shown below as
|
| 145 |
+
`revision="CONFIG_COMMIT_PENDING"` to `load_dataset`, or add
|
| 146 |
`@<revision>` to an `hf://` URL. The manifest run ID remains inside
|
| 147 |
`manifest.json` as provenance; it is not part of the Hub path.
|
| 148 |
|
|
|
|
| 156 |
|
| 157 |
## Publication verification
|
| 158 |
|
| 159 |
+
Data commit `CONFIG_COMMIT_PENDING` is the immutable revision for this release.
|
| 160 |
+
The published tree was checked as 3,293 data objects totaling
|
| 161 |
41,557,605,070 bytes: 3,292 Parquet shards plus `manifest.json`. Every local
|
| 162 |
+
object size and SHA-256 matched its remote Hub object. Pinned streaming loads
|
| 163 |
+
each returned a row from the `samples`, `assets`, and `memberships`
|
| 164 |
+
configurations; the bare call also resolved to the default `samples` config.
|
| 165 |
+
The earlier data commit `e3b4f02a422f760995406a0b8e1221e3882ec7d7` is
|
| 166 |
+
superseded: its `runs/<run_id>` paths remain available in this Hub repository's
|
| 167 |
+
Git history but no longer resolve on `main`.
|
| 168 |
|
| 169 |
## Media smoke status
|
| 170 |
|