amazoncat-13k / README.md
pietrolesci's picture
Update README.md
f2d0bab verified
|
Raw History Blame Contribute Delete
3.88 kB
metadata
configs:
  - config_name: default
    data_files:
      - split: train
        path: data/train-*
      - split: test
        path: data/test-*
  - config_name: embedding_all-MiniLM-L12-v2
    data_files:
      - split: train
        path: embedding_all-MiniLM-L12-v2/train-*
      - split: test
        path: embedding_all-MiniLM-L12-v2/test-*
  - config_name: embedding_all-mpnet-base-v2
    data_files:
      - split: train
        path: embedding_all-mpnet-base-v2/train-*
      - split: test
        path: embedding_all-mpnet-base-v2/test-*
  - config_name: embedding_multi-qa-mpnet-base-dot-v1
    data_files:
      - split: train
        path: embedding_multi-qa-mpnet-base-dot-v1/train-*
      - split: test
        path: embedding_multi-qa-mpnet-base-dot-v1/test-*
  - config_name: labels
    data_files:
      - split: train
        path: labels/train-*
dataset_info:
  - config_name: default
    features:
      - name: uid_original
        dtype: string
      - name: title
        dtype: string
      - name: content
        dtype: string
      - name: target_ind
        sequence: int64
      - name: target_rel
        sequence: float64
      - name: text
        dtype: string
      - name: uid
        dtype: int64
    splits:
      - name: train
        num_bytes: 3262662835
        num_examples: 1186239
      - name: test
        num_bytes: 842174854
        num_examples: 306782
    download_size: 2560646204
    dataset_size: 4104837689
  - config_name: embedding_all-MiniLM-L12-v2
    features:
      - name: uid
        dtype: int64
      - name: embedding_all-MiniLM-L12-v2
        sequence: float32
    splits:
      - name: train
        num_bytes: 1836297972
        num_examples: 1186239
      - name: test
        num_bytes: 474898536
        num_examples: 306782
    download_size: 3228756828
    dataset_size: 2311196508
  - config_name: embedding_all-mpnet-base-v2
    features:
      - name: uid
        dtype: int64
      - name: embedding_all-mpnet-base-v2
        sequence: float32
    splits:
      - name: train
        num_bytes: 3658361076
        num_examples: 1186239
      - name: test
        num_bytes: 946115688
        num_examples: 306782
    download_size: 5524926640
    dataset_size: 4604476764
  - config_name: embedding_multi-qa-mpnet-base-dot-v1
    features:
      - name: uid
        dtype: int64
      - name: embedding_multi-qa-mpnet-base-dot-v1
        sequence: float32
    splits:
      - name: train
        num_bytes: 3658361076
        num_examples: 1186239
      - name: test
        num_bytes: 946115688
        num_examples: 306782
    download_size: 5524904909
    dataset_size: 4604476764
  - config_name: labels
    features:
      - name: labels
        dtype: string
    splits:
      - name: train
        num_bytes: 243277
        num_examples: 13331
    download_size: 160461
    dataset_size: 243277

This dataset has been created as an artefact of the paper AnchorAL: Computationally Efficient Active Learning for Large and Imbalanced Datasets (Lesci and Vlachos, 2024). More info about this dataset in the appendix of the paper.

The AmazonCat-13k dataset was released by McAuley and Leskovec (2013) and is composed of product descriptions and reviews classified into 13k multi-label categories. The dataset is split into 1.2M train and 300k evaluation instances. It is commonly used as an extreme classification benchmark (You et al., 2019) where the goal is to classify an item into its categories. The data are exactly the same as the original available at this Google Drive link with the following additions:

  1. A unique identifier, uid column.

  2. Indices, that is, 3 columns with the embeddings of 3 different sentence-transformers

    • all-mpnet-base-v2
    • multi-qa-mpnet-base-dot-v1
    • all-MiniLM-L12-v2
  3. Renaming of the label column to labels for easier compatibility with the transformers library.