Add dataset card for Pet_Supplies
Browse files
README.md
CHANGED
|
@@ -9,7 +9,7 @@ task_categories:
|
|
| 9 |
tags:
|
| 10 |
- personalized-search
|
| 11 |
- query-generation
|
| 12 |
-
-
|
| 13 |
- synthetic-data
|
| 14 |
- amazon-reviews
|
| 15 |
configs:
|
|
@@ -29,14 +29,14 @@ This dataset contains personalized product search queries for the `Pet_Supplies`
|
|
| 29 |
|
| 30 |
Each record is built from the Personal Query pipeline:
|
| 31 |
|
| 32 |
-
- Stage 6 generated
|
| 33 |
-
- Stage 7 injected user-specific
|
| 34 |
- Stage 5 provided the user profile complexity level.
|
| 35 |
|
| 36 |
## Files
|
| 37 |
|
| 38 |
-
- `data.jsonl`: all
|
| 39 |
-
- `paired_data.jsonl`: only rows where a
|
| 40 |
- `summary.json`: generation statistics for this category.
|
| 41 |
|
| 42 |
## Dataset Size
|
|
@@ -44,53 +44,52 @@ Each record is built from the Personal Query pipeline:
|
|
| 44 |
| Metric | Count |
|
| 45 |
|---|---:|
|
| 46 |
| Total rows in `data.jsonl` | 40814 |
|
| 47 |
-
| Rows in `paired_data.jsonl` |
|
| 48 |
-
| Rows without noisy query |
|
| 49 |
|
| 50 |
## Rows By Query Category
|
| 51 |
|
| 52 |
| query_category | rows |
|
| 53 |
|---|---:|
|
| 54 |
-
| `
|
| 55 |
-
| `
|
| 56 |
|
| 57 |
## Paired Rows By Query Category
|
| 58 |
|
| 59 |
| query_category | rows |
|
| 60 |
|---|---:|
|
| 61 |
-
| `
|
| 62 |
-
| `
|
| 63 |
|
| 64 |
## Rows By Complexity
|
| 65 |
|
| 66 |
| query_category:level | rows |
|
| 67 |
|---|---:|
|
| 68 |
-
| `
|
| 69 |
-
| `
|
| 70 |
-
| `
|
| 71 |
-
| `
|
| 72 |
-
| `
|
| 73 |
-
| `
|
| 74 |
-
| `
|
| 75 |
-
| `
|
| 76 |
|
| 77 |
## Schema
|
| 78 |
|
| 79 |
| Field | Type | Description |
|
| 80 |
|---|---|---|
|
| 81 |
-
| `sample_id` | string | Unique identifier: category, user ID, ASIN, and query category. |
|
| 82 |
| `category` | string | Product category. |
|
| 83 |
-
| `
|
| 84 |
| `asin` | string | Amazon product identifier. |
|
| 85 |
-
| `query_category` | string | Query type: `
|
| 86 |
| `complexity_level` | integer | Complexity level of the generated Stage 6 query. |
|
| 87 |
| `profile_complexity_level` | integer | User profile complexity level from Stage 5. |
|
| 88 |
-
| `
|
| 89 |
-
| `
|
| 90 |
| `attrs_used` | object | Product attributes used to generate the query. |
|
| 91 |
-
| `
|
| 92 |
-
| `
|
| 93 |
-
| `injected_errors` | list | Injected error metadata for
|
| 94 |
|
| 95 |
## Loading
|
| 96 |
|
|
@@ -103,8 +102,8 @@ paired = load_dataset("xxxxdszz/personal-query-pet-supplies", name="paired", spl
|
|
| 103 |
|
| 104 |
## Intended Use
|
| 105 |
|
| 106 |
-
This dataset is intended for research on personalized product search, query generation,
|
| 107 |
|
| 108 |
## Data Notes
|
| 109 |
|
| 110 |
-
The queries are synthetic outputs generated from user/product signals in the local Personal Query pipeline. The
|
|
|
|
| 9 |
tags:
|
| 10 |
- personalized-search
|
| 11 |
- query-generation
|
| 12 |
+
- error-query
|
| 13 |
- synthetic-data
|
| 14 |
- amazon-reviews
|
| 15 |
configs:
|
|
|
|
| 29 |
|
| 30 |
Each record is built from the Personal Query pipeline:
|
| 31 |
|
| 32 |
+
- Stage 6 generated correct personalized queries.
|
| 33 |
+
- Stage 7 injected user-specific error query variants when a matching error pattern was available.
|
| 34 |
- Stage 5 provided the user profile complexity level.
|
| 35 |
|
| 36 |
## Files
|
| 37 |
|
| 38 |
+
- `data.jsonl`: all correct Stage 6 queries. Rows without Stage 7 error query keep `error_query` as `null`.
|
| 39 |
+
- `paired_data.jsonl`: only rows where a correct query has a paired error query.
|
| 40 |
- `summary.json`: generation statistics for this category.
|
| 41 |
|
| 42 |
## Dataset Size
|
|
|
|
| 44 |
| Metric | Count |
|
| 45 |
|---|---:|
|
| 46 |
| Total rows in `data.jsonl` | 40814 |
|
| 47 |
+
| Rows in `paired_data.jsonl` | 2589 |
|
| 48 |
+
| Rows without noisy query | 38225 |
|
| 49 |
|
| 50 |
## Rows By Query Category
|
| 51 |
|
| 52 |
| query_category | rows |
|
| 53 |
|---|---:|
|
| 54 |
+
| `deep` | 20407 |
|
| 55 |
+
| `wide` | 20407 |
|
| 56 |
|
| 57 |
## Paired Rows By Query Category
|
| 58 |
|
| 59 |
| query_category | rows |
|
| 60 |
|---|---:|
|
| 61 |
+
| `deep` | 1954 |
|
| 62 |
+
| `wide` | 635 |
|
| 63 |
|
| 64 |
## Rows By Complexity
|
| 65 |
|
| 66 |
| query_category:level | rows |
|
| 67 |
|---|---:|
|
| 68 |
+
| `deep:0` | 4293 |
|
| 69 |
+
| `deep:1` | 9288 |
|
| 70 |
+
| `deep:2` | 4761 |
|
| 71 |
+
| `deep:3` | 2065 |
|
| 72 |
+
| `wide:0` | 9225 |
|
| 73 |
+
| `wide:1` | 8423 |
|
| 74 |
+
| `wide:2` | 2276 |
|
| 75 |
+
| `wide:3` | 483 |
|
| 76 |
|
| 77 |
## Schema
|
| 78 |
|
| 79 |
| Field | Type | Description |
|
| 80 |
|---|---|---|
|
|
|
|
| 81 |
| `category` | string | Product category. |
|
| 82 |
+
| `uuid` | string | User identifier. |
|
| 83 |
| `asin` | string | Amazon product identifier. |
|
| 84 |
+
| `query_category` | string | Query type: `wide` or `deep`. |
|
| 85 |
| `complexity_level` | integer | Complexity level of the generated Stage 6 query. |
|
| 86 |
| `profile_complexity_level` | integer | User profile complexity level from Stage 5. |
|
| 87 |
+
| `correct_query` | string | Correct query generated in Stage 6. |
|
| 88 |
+
| `correct_word_count` | integer | Word count of `correct_query`. |
|
| 89 |
| `attrs_used` | object | Product attributes used to generate the query. |
|
| 90 |
+
| `has_error_query` | boolean | Whether a Stage 7 error query is available. |
|
| 91 |
+
| `error_query` | string or null | Error query generated in Stage 7. |
|
| 92 |
+
| `injected_errors` | list | Injected error metadata for error query generation. |
|
| 93 |
|
| 94 |
## Loading
|
| 95 |
|
|
|
|
| 102 |
|
| 103 |
## Intended Use
|
| 104 |
|
| 105 |
+
This dataset is intended for research on personalized product search, query generation, error query robustness, and retrieval evaluation.
|
| 106 |
|
| 107 |
## Data Notes
|
| 108 |
|
| 109 |
+
The queries are synthetic outputs generated from user/product signals in the local Personal Query pipeline. The error queries are generated by injecting user-specific writing error patterns. Review license and redistribution requirements for any upstream source data before external reuse.
|