Dataset Viewer
The dataset viewer is not available for this dataset.
Unexpected token '<', "<html> <h"... is not valid JSON

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

MemGen Annotations

This is the annotation dataset for the paper How Well Does Generative Recommendation Generalize?.

The annotations categorize evaluation instances under the leave-one-out protocol:

  • test split uses the last item in the user history sequence as target,
  • val split uses the second-to-last item as target.

Columns

  • sample_id: row index within the split in the original dataset.
  • user_id: raw user identifier (join key).
  • master: one of memorization, generalization, uncategorized.
  • subcategories: list of {rule, hop} for fine-grained generalization types.
  • all_labels: all string labels (e.g., ["generalization", "symmetry_3"]).

Load in M&G annotations

from datasets import load_dataset

labels = load_dataset(
    "jamesding0302/memgen-annotations",
    "AmazonReviews2014-Beauty",
    split="test",
)
print(labels[0])

Merge with processed dataset

# 1) Load your processed dataset split (must be aligned with labels by row order)
ds = pipeline.split_datasets["test"]

# 2) Append label columns to the original dataset
ds = (ds
      .add_column("master", labels["master"])
      .add_column("subcategories", labels["subcategories"])
      .add_column("all_labels", labels["all_labels"]))
Downloads last month
23

Paper for jamesding0302/memgen-annotations