Dataset Viewer
The dataset viewer is not available for this dataset.
Cannot get the config names for the dataset.
Error code:   ConfigNamesError
Exception:    BadZipFile
Message:      File is not a zip file
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/dataset/config_names.py", line 66, in compute_config_names_response
                  config_names = get_dataset_config_names(
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/inspect.py", line 161, in get_dataset_config_names
                  dataset_module = dataset_module_factory(
                                   ^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/load.py", line 1029, in dataset_module_factory
                  raise e1 from None
                File "/usr/local/lib/python3.12/site-packages/datasets/load.py", line 1004, in dataset_module_factory
                  ).get_module()
                    ^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/load.py", line 637, in get_module
                  module_name, default_builder_kwargs = infer_module_for_data_files(
                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/load.py", line 291, in infer_module_for_data_files
                  split: infer_module_for_data_files_list(data_files_list, download_config=download_config)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/load.py", line 235, in infer_module_for_data_files_list
                  return infer_module_for_data_files_list_in_archives(data_files_list, download_config=download_config)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/load.py", line 262, in infer_module_for_data_files_list_in_archives
                  f.split("::")[0] for f in xglob(extracted, recursive=True, download_config=download_config)
                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/utils/file_utils.py", line 1050, in xglob
                  fs, *_ = url_to_fs(urlpath, **storage_options)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/fsspec/core.py", line 395, in url_to_fs
                  fs = filesystem(protocol, **inkwargs)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/fsspec/registry.py", line 293, in filesystem
                  return cls(**storage_options)
                         ^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/fsspec/spec.py", line 80, in __call__
                  obj = super().__call__(*args, **kwargs)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/fsspec/implementations/zip.py", line 62, in __init__
                  self.zip = zipfile.ZipFile(
                             ^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/zipfile/__init__.py", line 1354, in __init__
                  self._RealGetContents()
                File "/usr/local/lib/python3.12/zipfile/__init__.py", line 1419, in _RealGetContents
                  raise BadZipFile("File is not a zip file")
              zipfile.BadZipFile: File is not a zip file

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.

BanglishRev: A Large-Scale Bangla-English and Code-mixed Dataset of Product Reviews in E-Commerce

Description

The BanglishRev dataset is the largest e-commerce product review dataset to date for reviews written in Bengali, English, a mixture of both and Banglish, Bengali words written with English alphabets. The dataset comprises of 1.74 million written reviews from 3.2 million ratings information collected from a total of 128k products being sold in online e-commerce platforms targeting the Bengali population. It includes an extensive array of related metadata for each of the reviews including the rating given by the reviewer, date the review was posted and date of purchase, number of likes, dislikes, response from the seller, images associated with the review etc.

Dataset Structure

The dataset is a list stored in a JSON file. Each element of the JSON has the following properties:

  • Number Of Reviews: The total number of reviews for a product.
  • Reviews: A list of review objects.
    • Buyer ID: The ID of the buyer.
    • Current Rating: The rating given by the buyer.
    • Review Content: The content of the review.
    • Review Date: The date the review was posted.
    • Likes: Number of likes for the review.
    • Dislikes: Number of dislikes for the review.
    • Date Bought: The date the product was bought.
    • Reply: Any replies to the review.
    • Images: List of image objects.
      • Image URL: URL of the image.
      • Resized Image Directory: Directory of the resized image.
      • Resized Width: Resized image width in pixels.
      • Resized Height: Resized image height in pixels.
  • Average Rating: The average rating for the product.
  • Score Counts: The count of each rating (1 star to 5 stars) given to the product.
  • Category: The category of the product.
  • Parent Category: The parent category of the product.
  • Root Category: The root category of the product.
  • Product ID : The product ID of the product.

Example Entry

[
    {
        "Number Of Reviews": 2,
        "Reviews": [
            {
                "Buyer ID": 1763002,
                "Current Rating": "1",
                "Review Content": "খুব ভালো কাবার",
                "Review Date": "2024-02-15",
                "Likes": "1",
                "Dislikes": "0",
                "Date Bought": "2024-02-07",
                "Reply": "অসংখ্য ধন্যবাদ সার 🥰🥰🥰",
                "Images": [
                    {
                        "Image URL": "https://sg-test-11.slatic.net/other/roc/00eda86ee26b963f0078929385388a11.jpg",
                        "Resized Image Directory": "Review Images 91/review-1400200-1-1.jpg",
                        "Resized Width": 512,
                        "Resized Height": 682
                    }
                ]
            },
            {
                "Buyer ID": 1338289,
                "Current Rating": "5",
                "Review Content": "Khob valo.... kinto selar shobidha jonok naa",
                "Review Date": "2023-06-25",
                "Likes": "0",
                "Dislikes": "0",
                "Date Bought": "2023-06-09",
                "Reply": "ধন্যবাদ সার 🥰🥰🥰🥰🥰",
                "Images": []
            }
        ],
        "Average Rating": 3.0,
        "Score Counts": {
            "1 Star": "1",
            "2 Star": "0",
            "3 Star": "0",
            "4 Star": "0",
            "5 Star": "1"
        },
        "Category": "Phone Cases",
        "Parent Category": "Trendy Mobile Accessories",
        "Root Category": "Electronics Device",
        "Product ID": "1400200"
    }
]

Citation

If you use this dataset, please cite the following:

@misc{shamael2024banglishrevlargescalebanglaenglishcodemixed,
      title={BanglishRev: A Large-Scale Bangla-English and Code-mixed Dataset of Product Reviews in E-Commerce}, 
      author={Mohammad Nazmush Shamael and Sabila Nawshin and Swakkhar Shatabda and Salekul Islam},
      year={2024},
      eprint={2412.13161},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2412.13161}, 
}
Downloads last month
255

Paper for Maisha230/bangla-english-and-code-mixed-ecommerce-review-dataset