Datasets:

Modalities:
Text
Languages:
English
ArXiv:
Libraries:
Datasets
License:
raft / README.md
SaylorTwift's picture
SaylorTwift HF Staff
Add 'semiconductor_org_types' config data files
0661df1 verified
|
raw
history blame
25.1 kB
metadata
annotations_creators:
  - expert-generated
  - crowdsourced
language_creators:
  - expert-generated
language:
  - en
license:
  - other
multilinguality:
  - monolingual
size_categories:
  - unknown
source_datasets:
  - original
  - extended|ade_corpus_v2
  - extended|banking77
task_categories:
  - text-classification
task_ids:
  - multi-class-classification
pretty_name: 'Real-world Annotated Few-shot Tasks: RAFT'
language_bcp47:
  - en-US
dataset_info:
  - config_name: ade_corpus_v2
    features:
      - name: Sentence
        dtype: string
      - name: ID
        dtype: int32
      - name: Label
        dtype:
          class_label:
            names:
              '0': Unlabeled
              '1': ADE-related
              '2': not ADE-related
    splits:
      - name: train
        num_bytes: 7602
        num_examples: 50
      - name: test
        num_bytes: 709087
        num_examples: 5000
    download_size: 445823
    dataset_size: 716689
  - config_name: banking_77
    features:
      - name: Query
        dtype: string
      - name: ID
        dtype: int32
      - name: Label
        dtype:
          class_label:
            names:
              '0': Unlabeled
              '1': Refund_not_showing_up
              '2': activate_my_card
              '3': age_limit
              '4': apple_pay_or_google_pay
              '5': atm_support
              '6': automatic_top_up
              '7': balance_not_updated_after_bank_transfer
              '8': balance_not_updated_after_cheque_or_cash_deposit
              '9': beneficiary_not_allowed
              '10': cancel_transfer
              '11': card_about_to_expire
              '12': card_acceptance
              '13': card_arrival
              '14': card_delivery_estimate
              '15': card_linking
              '16': card_not_working
              '17': card_payment_fee_charged
              '18': card_payment_not_recognised
              '19': card_payment_wrong_exchange_rate
              '20': card_swallowed
              '21': cash_withdrawal_charge
              '22': cash_withdrawal_not_recognised
              '23': change_pin
              '24': compromised_card
              '25': contactless_not_working
              '26': country_support
              '27': declined_card_payment
              '28': declined_cash_withdrawal
              '29': declined_transfer
              '30': direct_debit_payment_not_recognised
              '31': disposable_card_limits
              '32': edit_personal_details
              '33': exchange_charge
              '34': exchange_rate
              '35': exchange_via_app
              '36': extra_charge_on_statement
              '37': failed_transfer
              '38': fiat_currency_support
              '39': get_disposable_virtual_card
              '40': get_physical_card
              '41': getting_spare_card
              '42': getting_virtual_card
              '43': lost_or_stolen_card
              '44': lost_or_stolen_phone
              '45': order_physical_card
              '46': passcode_forgotten
              '47': pending_card_payment
              '48': pending_cash_withdrawal
              '49': pending_top_up
              '50': pending_transfer
              '51': pin_blocked
              '52': receiving_money
              '53': request_refund
              '54': reverted_card_payment?
              '55': supported_cards_and_currencies
              '56': terminate_account
              '57': top_up_by_bank_transfer_charge
              '58': top_up_by_card_charge
              '59': top_up_by_cash_or_cheque
              '60': top_up_failed
              '61': top_up_limits
              '62': top_up_reverted
              '63': topping_up_by_card
              '64': transaction_charged_twice
              '65': transfer_fee_charged
              '66': transfer_into_account
              '67': transfer_not_received_by_recipient
              '68': transfer_timing
              '69': unable_to_verify_identity
              '70': verify_my_identity
              '71': verify_source_of_funds
              '72': verify_top_up
              '73': virtual_card_not_working
              '74': visa_or_mastercard
              '75': why_verify_identity
              '76': wrong_amount_of_cash_received
              '77': wrong_exchange_rate_for_cash_withdrawal
    splits:
      - name: train
        num_bytes: 3373
        num_examples: 50
      - name: test
        num_bytes: 376765
        num_examples: 5000
    download_size: 214821
    dataset_size: 380138
  - config_name: neurips_impact_statement_risks
    features:
      - name: Paper title
        dtype: string
      - name: Paper link
        dtype: string
      - name: Impact statement
        dtype: string
      - name: ID
        dtype: int32
      - name: Label
        dtype:
          class_label:
            names:
              '0': Unlabeled
              '1': doesn't mention a harmful application
              '2': mentions a harmful application
    splits:
      - name: train
        num_bytes: 69037
        num_examples: 50
      - name: test
        num_bytes: 198699
        num_examples: 150
    download_size: 163355
    dataset_size: 267736
  - config_name: one_stop_english
    features:
      - name: Article
        dtype: string
      - name: ID
        dtype: int32
      - name: Label
        dtype:
          class_label:
            names:
              '0': Unlabeled
              '1': advanced
              '2': elementary
              '3': intermediate
    splits:
      - name: train
        num_bytes: 201444
        num_examples: 50
      - name: test
        num_bytes: 2090429
        num_examples: 516
    download_size: 1409192
    dataset_size: 2291873
  - config_name: overruling
    features:
      - name: Sentence
        dtype: string
      - name: ID
        dtype: int32
      - name: Label
        dtype:
          class_label:
            names:
              '0': Unlabeled
              '1': not overruling
              '2': overruling
    splits:
      - name: train
        num_bytes: 7424
        num_examples: 50
      - name: test
        num_bytes: 431790
        num_examples: 2350
    download_size: 277926
    dataset_size: 439214
  - config_name: semiconductor_org_types
    features:
      - name: Paper title
        dtype: string
      - name: Organization name
        dtype: string
      - name: ID
        dtype: int32
      - name: Label
        dtype:
          class_label:
            names:
              '0': Unlabeled
              '1': company
              '2': research institute
              '3': university
    splits:
      - name: train
        num_bytes: 8243
        num_examples: 50
      - name: test
        num_bytes: 73864
        num_examples: 449
    download_size: 53204
    dataset_size: 82107
  - config_name: systematic_review_inclusion
    features:
      - name: Title
        dtype: string
      - name: Abstract
        dtype: string
      - name: Authors
        dtype: string
      - name: Journal
        dtype: string
      - name: ID
        dtype: int32
      - name: Label
        dtype:
          class_label:
            names:
              '0': Unlabeled
              '1': included
              '2': not included
    splits:
      - name: train
        num_bytes: 52677
        num_examples: 50
      - name: test
        num_bytes: 2344244
        num_examples: 2243
    download_size: 1357407
    dataset_size: 2396921
  - config_name: tai_safety_research
    features:
      - name: Title
        dtype: string
      - name: Abstract Note
        dtype: string
      - name: Url
        dtype: string
      - name: Publication Year
        dtype: string
      - name: Item Type
        dtype: string
      - name: Author
        dtype: string
      - name: Publication Title
        dtype: string
      - name: ID
        dtype: int32
      - name: Label
        dtype:
          class_label:
            names:
              '0': Unlabeled
              '1': TAI safety research
              '2': not TAI safety research
    splits:
      - name: train
        num_bytes: 54910
        num_examples: 50
      - name: test
        num_bytes: 1634876
        num_examples: 1639
    download_size: 948201
    dataset_size: 1689786
  - config_name: terms_of_service
    features:
      - name: Sentence
        dtype: string
      - name: ID
        dtype: int32
      - name: Label
        dtype:
          class_label:
            names:
              '0': Unlabeled
              '1': not potentially unfair
              '2': potentially unfair
    splits:
      - name: train
        num_bytes: 10948
        num_examples: 50
      - name: test
        num_bytes: 961820
        num_examples: 5000
    download_size: 541547
    dataset_size: 972768
  - config_name: tweet_eval_hate
    features:
      - name: Tweet
        dtype: string
      - name: ID
        dtype: int32
      - name: Label
        dtype:
          class_label:
            names:
              '0': Unlabeled
              '1': hate speech
              '2': not hate speech
    splits:
      - name: train
        num_bytes: 7488
        num_examples: 50
      - name: test
        num_bytes: 440048
        num_examples: 2966
    download_size: 300542
    dataset_size: 447536
  - config_name: twitter_complaints
    features:
      - name: Tweet text
        dtype: string
      - name: ID
        dtype: int32
      - name: Label
        dtype:
          class_label:
            names:
              '0': Unlabeled
              '1': complaint
              '2': no complaint
    splits:
      - name: train
        num_bytes: 5348
        num_examples: 50
      - name: test
        num_bytes: 369564
        num_examples: 3399
    download_size: 270136
    dataset_size: 374912
configs:
  - config_name: ade_corpus_v2
    data_files:
      - split: train
        path: ade_corpus_v2/train-*
      - split: test
        path: ade_corpus_v2/test-*
  - config_name: banking_77
    data_files:
      - split: train
        path: banking_77/train-*
      - split: test
        path: banking_77/test-*
  - config_name: neurips_impact_statement_risks
    data_files:
      - split: train
        path: neurips_impact_statement_risks/train-*
      - split: test
        path: neurips_impact_statement_risks/test-*
  - config_name: one_stop_english
    data_files:
      - split: train
        path: one_stop_english/train-*
      - split: test
        path: one_stop_english/test-*
  - config_name: overruling
    data_files:
      - split: train
        path: overruling/train-*
      - split: test
        path: overruling/test-*
  - config_name: semiconductor_org_types
    data_files:
      - split: train
        path: semiconductor_org_types/train-*
      - split: test
        path: semiconductor_org_types/test-*
  - config_name: systematic_review_inclusion
    data_files:
      - split: train
        path: systematic_review_inclusion/train-*
      - split: test
        path: systematic_review_inclusion/test-*
  - config_name: tai_safety_research
    data_files:
      - split: train
        path: tai_safety_research/train-*
      - split: test
        path: tai_safety_research/test-*
    default: true
  - config_name: terms_of_service
    data_files:
      - split: train
        path: terms_of_service/train-*
      - split: test
        path: terms_of_service/test-*
  - config_name: tweet_eval_hate
    data_files:
      - split: train
        path: tweet_eval_hate/train-*
      - split: test
        path: tweet_eval_hate/test-*
  - config_name: twitter_complaints
    data_files:
      - split: train
        path: twitter_complaints/train-*
      - split: test
        path: twitter_complaints/test-*

Dataset Card for RAFT

Table of Contents

Dataset Description

Dataset Summary

The Real-world Annotated Few-shot Tasks (RAFT) dataset is an aggregation of English-language datasets found in the real world. Associated with each dataset is a binary or multiclass classification task, intended to improve our understanding of how language models perform on tasks that have concrete, real-world value. Only 50 labeled examples are provided in each dataset.

Supported Tasks and Leaderboards

  • text-classification: Each subtask in RAFT is a text classification task, and the provided train and test sets can be used to submit to the RAFT Leaderboard To prevent overfitting and tuning on a held-out test set, the leaderboard is only evaluated once per week. Each task has its macro-f1 score calculated, then those scores are averaged to produce the overall leaderboard score.

Languages

RAFT is entirely in American English (en-US).

Dataset Structure

Data Instances

Dataset First Example
Ade Corpus V2
Sentence: No regional side effects were noted.
ID: 0
Label: 2
Banking 77
Query: Is it possible for me to change my PIN number?
ID: 0
Label: 23
NeurIPS Impact Statement Risks
Paper title: Auto-Panoptic: Cooperative Multi-Component Architecture Search for Panoptic Segmentation...
Paper link: https://proceedings.neurips.cc/paper/2020/file/ec1f764517b7ffb52057af6df18142b7-Paper.pdf...
Impact statement: This work makes the first attempt to search for all key components of panoptic pipeline and manages to accomplish this via the p...
ID: 0
Label: 1
One Stop English
Article: For 85 years, it was just a grey blob on classroom maps of the solar system. But, on 15 July, Pluto was seen in high resolution ...
ID: 0
Label: 3
Overruling
Sentence: in light of both our holding today and previous rulings in johnson, dueser, and gronroos, we now explicitly overrule dupree....
ID: 0
Label: 2
Semiconductor Org Types
Paper title: 3Gb/s AC-coupled chip-to-chip communication using a low-swing pulse receiver...
Organization name: North Carolina State Univ.,Raleigh,NC,USA
ID: 0
Label: 3
Systematic Review Inclusion
Title: Prototyping and transforming facial textures for perception research...
Abstract: Wavelet based methods for prototyping facial textures for artificially transforming the age of facial images were described. Pro...
Authors: Tiddeman, B.; Burt, M.; Perrett, D.
Journal: IEEE Comput Graphics Appl
ID: 0
Label: 2
TAI Safety Research
Title: Malign generalization without internal search
Abstract Note: In my last post, I challenged the idea that inner alignment failures should be explained by appealing to agents which perform ex...
Url: https://www.alignmentforum.org/posts/ynt9TD6PrYw6iT49m/malign-generalization-without-internal-search...
Publication Year: 2020
Item Type: blogPost
Author: Barnett, Matthew
Publication Title: AI Alignment Forum
ID: 0
Label: 1
Terms Of Service
Sentence: Crowdtangle may change these terms of service, as described above, notwithstanding any provision to the contrary in any agreemen...
ID: 0
Label: 2
Tweet Eval Hate
Tweet: New to Twitter-- any men on here know what the process is to get #verified?...
ID: 0
Label: 2
Twitter Complaints
Tweet text: @HMRCcustomers No this is my first job
ID: 0
Label: 2

Data Fields

The ID field is used for indexing data points. It will be used to match your submissions with the true test labels, so you must include it in your submission. All other columns contain textual data. Some contain links and URLs to websites on the internet.

All output fields are designated with the "Label" column header. The 0 value in this column indicates that the entry is unlabeled, and should only appear in the unlabeled test set. Other values in this column are various other labels. To get their textual value for a given dataset:

# Load the dataset
dataset = datasets.load_dataset("ought/raft", "ade_corpus_v2")
# First, get the object that holds information about the "Label" feature in the dataset.
label_info = dataset.features["Label"]
# Use the int2str method to access the textual labels.
print([label_info.int2str(i) for i in (0, 1, 2)])
# ['Unlabeled', 'ADE-related', 'not ADE-related']

Data Splits

There are two splits provided: train data and unlabeled test data.

The training examples were chosen at random. No attempt was made to ensure that classes were balanced or proportional in the training data -- indeed, the Banking 77 task with 77 different classes if used cannot fit all of its classes into the 50 training examples.

Dataset Train Size Test Size
Ade Corpus V2 50 5000
Banking 77 50 5000
NeurIPS Impact Statement Risks 50 150
One Stop English 50 516
Overruling 50 2350
Semiconductor Org Types 50 449
Systematic Review Inclusion 50 2243
TAI Safety Research 50 1639
Terms Of Service 50 5000
Tweet Eval Hate 50 2966
Twitter Complaints 50 3399
Total 550 28712

Dataset Creation

Curation Rationale

Generally speaking, the rationale behind RAFT was to create a benchmark for evaluating NLP models that didn't consist of contrived or artificial data sources, for which the tasks weren't originally assembled for the purpose of testing NLP models. However, each individual dataset in RAFT was collected independently. For the majority of datasets, we only collected them second-hand from existing curated sources. The datasets that we curated are:

  • NeurIPS impact statement risks
  • Semiconductor org types
  • TAI Safety Research

Each of these three datasets was sourced from our existing collaborators at Ought. They had used our service, Elicit, to analyze their dataset in the past, and we contact them to include their dataset and the associated classification task in the benchmark. For all datasets, more information is provided in our paper. For the ones which we did not curate, we provide a link to the dataset. For the ones which we did, we provide a datasheet that elaborates on many of the topics here in greater detail.

For the three datasets that we introduced:

  • NeurIPS impact statement risks The dataset was created to evaluate the then new requirement for authors to include an "impact statement" in their 2020 NeurIPS papers. Had it been successful? What kind of things did authors mention the most? How long were impact statements on average? Etc.
  • Semiconductor org types The dataset was originally created to understand better which countries’ organisations have contributed most to semiconductor R&D over the past 25 years using three main conferences. Moreover, to estimate the share of academic and private sector contributions, the organisations were classified as “university”, “research institute” or “company”.
  • TAI Safety Research The primary motivations for assembling this database were to: (1) Aid potential donors in assessing organizations focusing on TAI safety by collecting and analyzing their research output. (2) Assemble a comprehensive bibliographic database that can be used as a base for future projects, such as a living review of the field.

For the following sections, we will only describe the datasets we introduce. All other dataset details, and more details on the ones described here, can be found in our paper.

Source Data

Initial Data Collection and Normalization

  • NeurIPS impact statement risks The data was directly observable (raw text scraped) for the most part; although some data was taken from previous datasets (which themselves had taken it from raw text). The data was validated, but only in part, by human reviewers. Cf this link for full details:
  • Semiconductor org types We used the IEEE API to obtain institutions that contributed papers to semiconductor conferences in the last 25 years. This is a random sample of 500 of them with a corresponding conference paper title. The three conferences were the International Solid-State Circuits Conference (ISSCC), the Symposia on VLSI Technology and Circuits (VLSI) and the International Electron Devices Meeting (IEDM).
  • TAI Safety Research We asked TAI safety organizations for what their employees had written, emailed some individual authors, and searched Google Scholar. See the LessWrong post for more details: https://www.lesswrong.com/posts/4DegbDJJiMX2b3EKm/tai-safety-bibliographic-database

Who are the source language producers?

  • NeurIPS impact statement risks Language generated from NeurIPS 2020 impact statement authors, generally the authors of submission papers.
  • Semiconductor org types Language generated from IEEE API. Generally machine-formatted names, and title of academic papers.
  • TAI Safety Research Language generated by authors of TAI safety research publications.

Annotations

Annotation process

  • NeurIPS impact statement risks Annotations were entered directly into a Google Spreadsheet with instructions, labeled training examples, and unlabeled testing examples.
  • Semiconductor org types Annotations were entered directly into a Google Spreadsheet with instructions, labeled training examples, and unlabeled testing examples.
  • TAI Safety Research N/A

Who are the annotators?

  • NeurIPS impact statement risks Contractors paid by Ought performed the labeling of whether impact statements mention harmful applications. A majority vote was taken from 3 annotators.
  • Semiconductor org types Contractors paid by Ought performed the labeling of organization types. A majority vote was taken from 3 annotators.
  • TAI Safety Research The dataset curators annotated the dataset by hand.

Personal and Sensitive Information

It is worth mentioning that the Tweet Eval Hate, by necessity, contains highly offensive content.

  • NeurIPS impact statement risks The dataset contains authors' names. These were scraped from publicly available scientific papers submitted to NeurIPS 2020.
  • Semiconductor org types N/A
  • TAI Safety Research N/A

Considerations for Using the Data

Social Impact of Dataset

  • NeurIPS impact statement risks N/A
  • Semiconductor org types N/A
  • TAI Safety Research N/A

Discussion of Biases

  • NeurIPS impact statement risks N/A
  • Semiconductor org types N/A
  • TAI Safety Research N/A

Other Known Limitations

  • NeurIPS impact statement risks This dataset has limitations that should be taken into consideration when using it. In particular, the method used to collect broader impact statements involved automated downloads, conversions and scraping and was not error-proof. Although care has been taken to identify and correct as many errors as possible, not all texts have been reviewed by a human. This means it is possible some of the broader impact statements contained in the dataset are truncated or otherwise incorrectly extracted from their original article.
  • Semiconductor org types N/A
  • TAI Safety Research Don't use it to create a dangerous AI that could bring the end of days.

Additional Information

Dataset Curators

The overall RAFT curators are Neel Alex, Eli Lifland, and Andreas Stuhlmüller.

  • NeurIPS impact statement risks Volunteers working with researchers affiliated to Oxford's Future of Humanity Institute (Carolyn Ashurst, now at The Alan Turing Institute) created the impact statements dataset.
  • Semiconductor org types The data science unit of Stiftung Neue Verantwortung (Berlin).
  • TAI Safety Research Angelica Deibel and Jess Riedel. We did not do it on behalf of any entity.

Licensing Information

RAFT aggregates many other datasets, each of which is provided under its own license. Generally, those licenses permit research and commercial use.

Dataset License
Ade Corpus V2 Unlicensed
Banking 77 CC BY 4.0
NeurIPS Impact Statement Risks MIT License/CC BY 4.0
One Stop English CC BY-SA 4.0
Overruling Unlicensed
Semiconductor Org Types CC BY-NC 4.0
Systematic Review Inclusion CC BY 4.0
TAI Safety Research CC BY-SA 4.0
Terms Of Service Unlicensed
Tweet Eval Hate Unlicensed
Twitter Complaints Unlicensed

Citation Information

[More Information Needed]

Contributions

Thanks to @neel-alex, @uvafan, and @lewtun for adding this dataset.