Datasets:
Update README.md with additional setup instructions
Browse files- Added detailed setup instructions for new users.
- Clarified the installation process and prerequisites.
- Included examples for better understanding.
- Improved formatting for readability.
README.md
CHANGED
|
@@ -8,7 +8,7 @@ size_categories:
|
|
| 8 |
- 1M<n<10M
|
| 9 |
---
|
| 10 |
|
| 11 |
-
#
|
| 12 |
|
| 13 |
This is a curated PD12M dataset for use with the [Chipmunk](https://github.com/Intelligent-Internet/Chipmunk) project.
|
| 14 |
|
|
@@ -75,7 +75,7 @@ CREATE TABLE IF NOT EXISTS is_pd12m (
|
|
| 75 |
);
|
| 76 |
```
|
| 77 |
|
| 78 |
-
### Load csv
|
| 79 |
|
| 80 |
1. Load the dataset from local file system to a remote PostgreSQL server:
|
| 81 |
|
|
@@ -99,7 +99,7 @@ copy is_pd12m FROM 'data/0000002.csv' CSV HEADER;
|
|
| 99 |
|
| 100 |
You need to create the following indexes for the best performance.
|
| 101 |
|
| 102 |
-
The `vector` column is a halfvec(1152) column, which is a 16-bit half-precision vector optimized for L2 indexing with [vectorchord](https://github.com/tensorchord/vectorchord). You can get more information about the vector index from the [vectorchord](https://docs.vectorchord.ai/vectorchord/usage/indexing.html) documentation.
|
| 103 |
|
| 104 |
```sql
|
| 105 |
CREATE UNIQUE INDEX IF NOT EXISTS is_pd12m_url_index ON is_pd12m (url);
|
|
|
|
| 8 |
- 1M<n<10M
|
| 9 |
---
|
| 10 |
|
| 11 |
+
# `PD12M`
|
| 12 |
|
| 13 |
This is a curated PD12M dataset for use with the [Chipmunk](https://github.com/Intelligent-Internet/Chipmunk) project.
|
| 14 |
|
|
|
|
| 75 |
);
|
| 76 |
```
|
| 77 |
|
| 78 |
+
### Load csv files to database
|
| 79 |
|
| 80 |
1. Load the dataset from local file system to a remote PostgreSQL server:
|
| 81 |
|
|
|
|
| 99 |
|
| 100 |
You need to create the following indexes for the best performance.
|
| 101 |
|
| 102 |
+
The `vector` column is a halfvec(1152) column, which is a 16-bit half-precision vector optimized for `L2` indexing with [vectorchord](https://github.com/tensorchord/vectorchord). You can get more information about the vector index from the [vectorchord](https://docs.vectorchord.ai/vectorchord/usage/indexing.html) documentation.
|
| 103 |
|
| 104 |
```sql
|
| 105 |
CREATE UNIQUE INDEX IF NOT EXISTS is_pd12m_url_index ON is_pd12m (url);
|