Skip to content

added support for the SQuAD v2 dataset - #15

Open
AbhisumatK wants to merge 1 commit into
scaledown-team:mainfrom
AbhisumatK:SQuAD-v2-Dataset-addition
Open

added support for the SQuAD v2 dataset#15
AbhisumatK wants to merge 1 commit into
scaledown-team:mainfrom
AbhisumatK:SQuAD-v2-Dataset-addition

Conversation

@AbhisumatK

Copy link
Copy Markdown

I've added support for the SQuAD v2 dataset to ScaleBench. This contribution enables benchmarking models on standard reading comprehension tasks that include unanswerable questions.

Changes Made:-

  1. Dataset Loader
    Created squad_v2.py containing the SQuAD v2 Dataset class.

Standardizes data from rajpurkar/squad_v2 Huggingface dataset.
Correctly handles unanswerable questions by providing an empty list in the answer field.

  1. Registration
    Updated registry.py to include squad_v2 in the DATASET_REGISTRY.

  2. Configuration
    Added a baseline experiment for SQuAD v2 in experiments.yaml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant