hyp1231 / AmazonReviews2023

Scripts for processing the Amazon Reviews 2023 dataset; implementations and checkpoints of BLaIR: "Bridging Language and Items for Retrieval and Recommendation".
MIT License
86 stars 10 forks source link

Amazone review 2023 #11

Open Malu-2020 opened 2 weeks ago

Malu-2020 commented 2 weeks ago

want to download amazone review 2023 dataset in csv format

hyp1231 commented 2 weeks ago

Hi, we would suggest:

from datasets import load_dataset
dataset = load_dataset("McAuley-Lab/Amazon-Reviews-2023", "raw_meta_All_Beauty", split="full", trust_remote_code=True)
dataset.to_csv('raw_meta_All_Beauty.csv')

Then you can get the 2023 dataset in csv format.

For more details, please refer to Hugging Face Hub.