nyanko7 KBlueLeaf commited on
Commit
046a4f1
·
verified ·
1 Parent(s): 744bc50

Better explanation about continuous updates (#7)

Browse files

- Better explanation about continuous updates (eb5580619e9502d54c61ecfe465ef59e237eafa7)


Co-authored-by: Shih-Ying Yeh <KBlueLeaf@users.noreply.huggingface.co>

Files changed (1) hide show
  1. README.md +16 -0
README.md CHANGED
@@ -39,6 +39,7 @@ Images are provided in the full original form (be that JPG, PNG, GIF or otherwis
39
 
40
  The reason for the bucketing is that a single directory would cause pathological filesystem performance, and modulo ID is a simple hash which spreads images evenly without requiring additional future directories to be made or a filesystem IO to check where the file is. The ID is not zero-padded and files end in the relevant extension, hence the file layout looks like this:
41
 
 
42
  ```bash
43
  $ tree / | less
44
 
@@ -53,8 +54,23 @@ $ tree / | less
53
  │ │ │ ├── 210001.png
54
  │ │ │ ├── 3120001.webp
55
  │ │ │ ├── 6513001.jpg
 
 
 
 
 
 
 
 
 
 
 
 
 
56
 
57
  ```
 
 
58
 
59
  Currently represented file extensions are: avi/bmp/gif/html/jpeg/jpg/mp3/mp4/mpg/pdf/png/rar/swf/webm/wmv/zip.
60
 
 
39
 
40
  The reason for the bucketing is that a single directory would cause pathological filesystem performance, and modulo ID is a simple hash which spreads images evenly without requiring additional future directories to be made or a filesystem IO to check where the file is. The ID is not zero-padded and files end in the relevant extension, hence the file layout looks like this:
41
 
42
+
43
  ```bash
44
  $ tree / | less
45
 
 
54
  │ │ │ ├── 210001.png
55
  │ │ │ ├── 3120001.webp
56
  │ │ │ ├── 6513001.jpg
57
+ │ │
58
+ │ ├── recent
59
+ │ │ ├── 0000 -> data-1000.tar
60
+ │ │ ├── 0001 -> data-1001.tar
61
+ │ │
62
+ │ ├── updates
63
+ │ │ ├── 20240319
64
+ │ │ │ ├── dataset-0.tar
65
+ │ │ │ ├── dataset-1.tar
66
+ │ │ │
67
+ │ │ ├── 2024xxxx
68
+ │ │ │ ├── dataset-0.tar
69
+ │ │ │ ├── dataset-1.tar
70
 
71
  ```
72
+
73
+ Where `data-{1000..1999}.tar` refer to recent update files (should be updated every few months) and `updates` refer to fast patches (should be updated every few days to few weeks).
74
 
75
  Currently represented file extensions are: avi/bmp/gif/html/jpeg/jpg/mp3/mp4/mpg/pdf/png/rar/swf/webm/wmv/zip.
76