Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -42,6 +42,19 @@ This dataset is derived and organized from [Spawning/PD12M](http://huggingface.c
|
|
42 |
- origin_source: The origin source of the image.
|
43 |
- license: The license of the image.
|
44 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
## Uses
|
46 |
|
47 |
This dataset is available for a wide range of applications.
|
|
|
42 |
- origin_source: The origin source of the image.
|
43 |
- license: The license of the image.
|
44 |
|
45 |
+
## Prerequisite
|
46 |
+
|
47 |
+
PostgreSQL 17 with extensions: [vectorchord](https://github.com/tensorchord/VectorChord) and [pg_search](https://github.com/paradedb/paradedb/tree/dev/pg_search)
|
48 |
+
|
49 |
+
The easiest way is to use our [Docker image](https://github.com/Intelligent-Internet/II-Commons/tree/main/examples/db), or build your own. Then load the [psql_basebackup](https://huggingface.co/datasets/Intelligent-Internet/pd12m/tree/psql_basebackup) branch, following the [Quick Start](https://github.com/Intelligent-Internet/II-Commons?tab=readme-ov-file#quick-start)
|
50 |
+
|
51 |
+
Ensure extensions are enabled, connect to the database using the psql, and run the following SQL:
|
52 |
+
|
53 |
+
```sql
|
54 |
+
CREATE EXTENSION IF NOT EXISTS vchord CASCADE;
|
55 |
+
CREATE EXTENSION IF NOT EXISTS pg_search CASCADE;
|
56 |
+
```
|
57 |
+
|
58 |
## Uses
|
59 |
|
60 |
This dataset is available for a wide range of applications.
|