davanstrien HF Staff commited on
Commit
d801f9a
·
verified ·
1 Parent(s): 6711545

Update README with correct structure and size info

Browse files
Files changed (1) hide show
  1. README.md +7 -4
README.md CHANGED
@@ -60,14 +60,14 @@ Each video's specific license is recorded in the `licenseurl` and `license_type`
60
  ## Dataset Structure
61
 
62
  The dataset uses VideoFolder format:
63
- - `metadata.jsonl` - Contains all video metadata
64
- - `data/` - Contains all video files
65
 
66
  ### Metadata Fields
67
 
68
  | Field | Description |
69
  |-------|-------------|
70
- | `file_name` | Path to video file (e.g., `data/video.mp4`) |
71
  | `identifier` | Internet Archive identifier |
72
  | `title` | Video title |
73
  | `description` | Full description |
@@ -93,13 +93,16 @@ The dataset uses VideoFolder format:
93
 
94
  ### Loading with Hugging Face Datasets
95
 
 
 
96
  ```python
97
  from datasets import load_dataset
98
 
99
- # Streaming mode (recommended for large datasets)
100
  ds = load_dataset("davanstrien/prelinger-archives-open", split="train", streaming=True)
101
  for sample in ds:
102
  print(sample["title"])
 
103
  break
104
  ```
105
 
 
60
  ## Dataset Structure
61
 
62
  The dataset uses VideoFolder format:
63
+ - `data/metadata.jsonl` - Video metadata
64
+ - `data/*.mp4` - 1,902 video files (~143GB total)
65
 
66
  ### Metadata Fields
67
 
68
  | Field | Description |
69
  |-------|-------------|
70
+ | `file_name` | Video filename (e.g., `video.mp4`) |
71
  | `identifier` | Internet Archive identifier |
72
  | `title` | Video title |
73
  | `description` | Full description |
 
93
 
94
  ### Loading with Hugging Face Datasets
95
 
96
+ > **Note:** Requires `torchcodec` to decode videos: `pip install torchcodec`
97
+
98
  ```python
99
  from datasets import load_dataset
100
 
101
+ # Streaming mode (recommended due to 143GB size)
102
  ds = load_dataset("davanstrien/prelinger-archives-open", split="train", streaming=True)
103
  for sample in ds:
104
  print(sample["title"])
105
+ print(sample["description"])
106
  break
107
  ```
108