Datasets:

Formats:
csv
Languages:
English
ArXiv:
Libraries:
Datasets
Dask
License:
Leask huoju commited on
Commit
417e75a
·
verified ·
1 Parent(s): ca6126e

Update README.md (#2)

Browse files

- Update README.md (8c51f9fc1d21dcb3c3c9f4bf8e4c71531f399f72)


Co-authored-by: Ju Huo <[email protected]>

Files changed (1) hide show
  1. README.md +9 -12
README.md CHANGED
@@ -28,20 +28,19 @@ This dataset is derived and organized from [Spawning/PD12M](http://huggingface.c
28
  - url: The URL of the image.
29
  - caption: A caption for the image.
30
  - caption_long: A long caption for the image.
31
- - origin_hash: The MD5 hash of the original image file.
32
  - origin_width: The width of the original image in pixels.
33
  - origin_height: The height of the original image in pixels.
34
- - origin_storage_id: The storage ID of the original image file.
35
- - processed_storage_id: The storage ID of the processed image file.
36
  - processed_width: The width of the processed image in pixels.
37
  - processed_height: The height of the processed image in pixels.
38
  - aspect_ratio: The aspect ratio of the image.
39
  - exif: The EXIF data of the image.
40
  - meta: The metadata of the image.
41
- - source: The source organization of the image.
42
- - vector: The vector embedding of the image.
43
  - created_at: The creation time of the image.
44
  - updated_at: The update time of the image.
 
 
 
 
45
 
46
  ## Uses
47
 
@@ -55,23 +54,21 @@ Here is a demo of how to use the dataset with [II-Commons](https://github.com/In
55
  CREATE TABLE IF NOT EXISTS is_pd12m (
56
  id BIGSERIAL PRIMARY KEY,
57
  url VARCHAR NOT NULL,
58
- hash VARCHAR NOT NULL DEFAULT '',
59
  caption VARCHAR NOT NULL DEFAULT '',
60
- caption_long VARCHAR NOT NULL DEFAULT '',
61
- origin_hash VARCHAR NOT NULL DEFAULT '',
62
  origin_width BIGINT NOT NULL DEFAULT 0,
63
  origin_height BIGINT NOT NULL DEFAULT 0,
64
- origin_storage_id VARCHAR(1024) DEFAULT NULL,
65
- processed_storage_id VARCHAR(1024) NOT NULL DEFAULT '',
66
  processed_width BIGINT NOT NULL DEFAULT 0,
67
  processed_height BIGINT NOT NULL DEFAULT 0,
68
  aspect_ratio DOUBLE PRECISION NOT NULL DEFAULT 0,
69
  exif JSONB NOT NULL DEFAULT '{}',
70
  meta JSONB NOT NULL DEFAULT '{}',
 
 
71
  source JSONB NOT NULL DEFAULT '[]',
72
  vector halfvec(1152) DEFAULT NULL,
73
- created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
74
- updated_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
75
  );
76
  ```
77
 
 
28
  - url: The URL of the image.
29
  - caption: A caption for the image.
30
  - caption_long: A long caption for the image.
 
31
  - origin_width: The width of the original image in pixels.
32
  - origin_height: The height of the original image in pixels.
 
 
33
  - processed_width: The width of the processed image in pixels.
34
  - processed_height: The height of the processed image in pixels.
35
  - aspect_ratio: The aspect ratio of the image.
36
  - exif: The EXIF data of the image.
37
  - meta: The metadata of the image.
 
 
38
  - created_at: The creation time of the image.
39
  - updated_at: The update time of the image.
40
+ - source: The source organization of the image.
41
+ - vector: The vector embedding of the image.
42
+ - origin_source: The origin source of the image.
43
+ - license: The license of the image.
44
 
45
  ## Uses
46
 
 
54
  CREATE TABLE IF NOT EXISTS is_pd12m (
55
  id BIGSERIAL PRIMARY KEY,
56
  url VARCHAR NOT NULL,
 
57
  caption VARCHAR NOT NULL DEFAULT '',
58
+ caption_long VARCHAR DEFAULT '',
 
59
  origin_width BIGINT NOT NULL DEFAULT 0,
60
  origin_height BIGINT NOT NULL DEFAULT 0,
 
 
61
  processed_width BIGINT NOT NULL DEFAULT 0,
62
  processed_height BIGINT NOT NULL DEFAULT 0,
63
  aspect_ratio DOUBLE PRECISION NOT NULL DEFAULT 0,
64
  exif JSONB NOT NULL DEFAULT '{}',
65
  meta JSONB NOT NULL DEFAULT '{}',
66
+ created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
67
+ updated_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
68
  source JSONB NOT NULL DEFAULT '[]',
69
  vector halfvec(1152) DEFAULT NULL,
70
+ origin_source VARCHAR DEFAULT '',
71
+ license VARCHAR DEFAULT ''
72
  );
73
  ```
74