Datasets:
Modalities:
Text
Formats:
csv
Size:
100K - 1M
ArXiv:
Tags:
sequential-recommendation
raw-data
anonymized
e-commerce
next-item-prediction
generative-retrieval
License:
Improve dataset card: Add task categories, relevant tags, paper/code/project links, and update usage details
#2
by
nielsr
HF Staff
- opened
README.md
CHANGED
|
@@ -1,31 +1,40 @@
|
|
| 1 |
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
language:
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
|
|
|
| 7 |
tags:
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
---
|
| 14 |
|
| 15 |
# AL-GR/Origin-Sequence-Data: Raw User Behavior Sequences π
|
| 16 |
|
| 17 |
-
|
|
|
|
|
|
|
| 18 |
|
| 19 |
-
This
|
| 20 |
|
| 21 |
-
|
|
|
|
|
|
|
| 22 |
|
| 23 |
This dataset is ideal for:
|
| 24 |
-
- π§βπ¬ Researchers who want to design their own data processing or prompting strategies.
|
| 25 |
- π Training and evaluating traditional sequential recommendation models (e.g., GRU4Rec, SASRec, etc.).
|
| 26 |
-
- π Understanding the source data from which the main `AL-GR` dataset was built.
|
| 27 |
|
| 28 |
-
## π
|
| 29 |
|
| 30 |
The data is structured in multiple folders (`s1_splits`, `s2_splits`, etc.), which is a non-standard format for the `datasets` library. To make loading seamless, a **loading script** is required.
|
| 31 |
|
|
@@ -40,11 +49,14 @@ import glob
|
|
| 40 |
|
| 41 |
_DESCRIPTION = "Raw user behavior sequences for the AL-GR project, split into history and target item."
|
| 42 |
_CITATION = """
|
| 43 |
-
@misc{
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
|
|
|
|
|
|
|
|
|
| 48 |
}
|
| 49 |
"""
|
| 50 |
|
|
@@ -118,7 +130,8 @@ dataset = load_dataset("AL-GR/Origin-Sequence-Data")
|
|
| 118 |
print("Sample from s1 split:")
|
| 119 |
print(dataset['s1'][0])
|
| 120 |
|
| 121 |
-
print("
|
|
|
|
| 122 |
print(dataset['test'][0])
|
| 123 |
```
|
| 124 |
|
|
@@ -168,4 +181,4 @@ If you use this dataset in your research, please cite:
|
|
| 168 |
|
| 169 |
## π License
|
| 170 |
|
| 171 |
-
This dataset is licensed under the [
|
|
|
|
| 1 |
---
|
|
|
|
| 2 |
language:
|
| 3 |
+
- en
|
| 4 |
+
- zh
|
| 5 |
+
license: apache-2.0
|
| 6 |
+
pretty_name: AL-GR Raw Sequences π
|
| 7 |
tags:
|
| 8 |
+
- sequential-recommendation
|
| 9 |
+
- raw-data
|
| 10 |
+
- anonymized
|
| 11 |
+
- e-commerce
|
| 12 |
+
- next-item-prediction
|
| 13 |
+
- generative-retrieval
|
| 14 |
+
- semantic-identifiers
|
| 15 |
+
task_categories:
|
| 16 |
+
- text-generation
|
| 17 |
+
- text-retrieval
|
| 18 |
---
|
| 19 |
|
| 20 |
# AL-GR/Origin-Sequence-Data: Raw User Behavior Sequences π
|
| 21 |
|
| 22 |
+
[Paper](https://huggingface.co/papers/2509.20904) | [Project Page](https://huggingface.co/AL-GR) | [Code](https://github.com/selous123/al_sid)
|
| 23 |
+
|
| 24 |
+
## About the Dataset
|
| 25 |
|
| 26 |
+
This dataset is part of **FORGE**, a comprehensive benchmark for **FO**rming **R**aw user behavior sequences and **G**enerative r**E**trieval in Industrial Datasets, as presented in the paper [FORGE: Forming Semantic Identifiers for Generative Retrieval in Industrial Datasets](https://huggingface.co/papers/2509.20904). The FORGE benchmark aims to address challenges in semantic identifiers (SIDs) for generative retrieval (GR) by providing a large-scale public dataset with multimodal features.
|
| 27 |
|
| 28 |
+
Specifically, this `AL-GR/Origin-Sequence-Data` repository contains the foundational **raw user behavior sequences** for the `AL-GR` ecosystem. It represents the data *before* it is formatted into the instruction-following prompts used for training Large Language Models (LLMs) in generative retrieval tasks. The full FORGE dataset comprises 14 billion user interactions and multimodal features of 250 million items sampled from Taobao, one of the biggest e-commerce platforms in China.
|
| 29 |
+
|
| 30 |
+
Each row in this dataset (`Origin-Sequence-Data`) represents a step in a user's journey, consisting of a sequence of previously interacted items (`user_history`) and the next item they interacted with (`target_item`). All item IDs have been anonymized into short, unique strings.
|
| 31 |
|
| 32 |
This dataset is ideal for:
|
| 33 |
+
- π§βπ¬ Researchers who want to design their own data processing or prompting strategies for generative retrieval.
|
| 34 |
- π Training and evaluating traditional sequential recommendation models (e.g., GRU4Rec, SASRec, etc.).
|
| 35 |
+
- π Understanding the source data from which the main `AL-GR` generative dataset was built.
|
| 36 |
|
| 37 |
+
## π Sample Usage
|
| 38 |
|
| 39 |
The data is structured in multiple folders (`s1_splits`, `s2_splits`, etc.), which is a non-standard format for the `datasets` library. To make loading seamless, a **loading script** is required.
|
| 40 |
|
|
|
|
| 49 |
|
| 50 |
_DESCRIPTION = "Raw user behavior sequences for the AL-GR project, split into history and target item."
|
| 51 |
_CITATION = """
|
| 52 |
+
@misc{fu2025forgeformingsemanticidentifiers,
|
| 53 |
+
title={FORGE: Forming Semantic Semantic Identifiers for Generative Retrieval in Industrial Datasets},
|
| 54 |
+
author={Kairui Fu and Tao Zhang and Shuwen Xiao and Ziyang Wang and Xinming Zhang and Chenchi Zhang and Yuliang Yan and Junjun Zheng and Yu Li and Zhihong Chen and Jian Wu and Xiangheng Kong and Shengyu Zhang and Kun Kuang and Yuning Jiang and Bo Zheng},
|
| 55 |
+
year={2025},
|
| 56 |
+
eprint={2509.20904},
|
| 57 |
+
archivePrefix={arXiv},
|
| 58 |
+
primaryClass={cs.IR},
|
| 59 |
+
url={https://arxiv.org/abs/2509.20904},
|
| 60 |
}
|
| 61 |
"""
|
| 62 |
|
|
|
|
| 130 |
print("Sample from s1 split:")
|
| 131 |
print(dataset['s1'][0])
|
| 132 |
|
| 133 |
+
print("
|
| 134 |
+
Sample from test split:")
|
| 135 |
print(dataset['test'][0])
|
| 136 |
```
|
| 137 |
|
|
|
|
| 181 |
|
| 182 |
## π License
|
| 183 |
|
| 184 |
+
This dataset is licensed under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0).
|