CoolFace
Datasetpublic

Aafreen110/SciEntsBank

Dataset Card for "SciEntsBank" SciEntsBank is one of the two distinct subsets within the Student Response Analysis (SRA) corpus, the other subset being the Beetle dataset. Derived from student answers gathered by Nielsen et al. [1], this dataset comprises nearly 11K responses to 197 assessment questions spanning 15 diverse science domains. The dataset features three labeling schemes: (a) 5-way, (b) 3-way, and (c) 2-way. The dataset includes a training set and three distinct test… See the full description on the dataset page: https://huggingface.co/datasets/Aafreen110/SciEntsBank.

sourceHugging Facecc-by-4.0updated 6mo agoView on Hugging Face
0likes6downloads
Dataset Card

Dataset Card for "SciEntsBank"

SciEntsBank is one of the two distinct subsets within the Student Response Analysis (SRA) corpus, the other subset being the Beetle dataset. Derived from student answers gathered by Nielsen et al. [1], this dataset comprises nearly 11K responses to 197 assessment questions spanning 15 diverse science domains. The dataset features three labeling schemes: (a) 5-way, (b) 3-way, and (c) 2-way. The dataset includes a training set and three distinct test sets: (a) Unseen Answers (test_ua), (b) Unseen Questions (test_uq), and (c) Unseen Domains (test_ud).

Loading Dataset

python
from datasets import load_dataset
dataset = load_dataset('nkazi/SciEntsBank')

Labeling Schemes

The authors released the dataset with annotations using five labels (i.e., 5-way labeling scheme) for Automated Short-Answer Grading (ASAG). Additionally, the authors have introduced two alternative labeling schemes, namely the 3-way and 2-way schemes, both derived from the 5-way labeling scheme designed for Recognizing Textual Entailment (RTE). In the 3-way labeling scheme, the categories "partially correct but incomplete", "irrelevant", and "non-domain" are consolidated into a unified category labeled as "incorrect". On the other hand, the 2-way labeling scheme simplifies the classification into a binary system where all labels except "correct" are merged under the "incorrect" category.

The label column in this dataset presents the 5-way labels. For 3-way and 2-way labels, use the code provided below to derive it from the 5-way labels. After converting the labels, please verify the label distribution. A code to print the label distribution is also given below.

5-way to 3-way

python
from datasets import ClassLabel

dataset = dataset.align_labels_with_mapping({'correct': 0, 'contradictory': 1, 'partially_correct_incomplete': 2, 'irrelevant': 2, 'non_domain': 2}, 'label')
dataset = dataset.cast_column('label', ClassLabel(names=['correct', 'contradictory', 'incorrect']))

Using align_labels_with_mapping(), we are mapping "partially correct but incomplete", "irrelevant", and "non-domain" to the same id. Subsequently, we are using cast_column() to redefine the class labels (i.e., the label feature) where the id 2 corresponds to the "incorrect" label.

5-way to 2-way

python
from datasets import ClassLabel

dataset = dataset.align_labels_with_mapping({'correct': 0, 'contradictory': 1, 'partially_correct_incomplete': 1, 'irrelevant': 1, 'non_domain': 1}, 'label')
dataset = dataset.cast_column('label', ClassLabel(names=['correct', 'incorrect']))

In the above code, the label "correct" is mapped to 0 to maintain consistency with both the 5-way and 3-way labeling schemes. If the preference is to represent "correct" with id 1 and "incorrect" with id 0, either adjust the label map accordingly or run the following to switch the ids:

python
dataset = dataset.align_labels_with_mapping({'incorrect': 0, 'correct': 1}, 'label')

Saving and loading 3-way and 2-way datasets

Use the following code to store the dataset with the 3-way (or 2-way) labeling scheme locally to eliminate the need to convert labels each time the dataset is loaded:

python
dataset.save_to_disk('SciEntsBank_3way')

Here, SciEntsBank_3way depicts the path/directory where the dataset will be stored. Use the following code to load the dataset from the same local directory/path:

python
from datasets import DatasetDict
dataset = DatasetDict.load_from_disk('SciEntsBank_3way')

Printing Label Distribution

Use the following code to print the label distribution:

python
def print_label_dist(dataset):
    for split_name in dataset:
        print(split_name, ':')
        num_examples = 0
        for label in dataset[split_name].features['label'].names:
            count = dataset[split_name]['label'].count(dataset[split_name].features['label'].str2int(label))
            print(' ', label, ':', count)
            num_examples += count
        print('  total :', num_examples)

print_label_dist(dataset)

Label Distribution

<style> .label-dist table {display: table; width: 100%;} .label-dist th:not(:first-child), .label-dist td:not(:first-child) { width: 15%; } </style>

<div class="label-dist">

5-way

LabelTrainTest UATest UQTest UD
Correct2,0082333011,917
Contradictory4995864417
Partially correct but incomplete1,324113175986
Irrelevant1,1151331931,222
Non-domain233-20
Total4,9695407334,562

3-way

LabelTrainTest UATest UQTest UD
Correct2,0082333011,917
Contradictory4995864417
Incorrect2,4622493682,228
Total4,9695407334,562

2-way

LabelTrainTest UATest UQTest UD
Correct2,0082333011,917
Incorrect2,9613074322,645
Total4,9695407334,562

</div>

Citation

Please consider adding a footnote linking to this dataset page (e.g., SciEntsBank\footnote{https://huggingface.co/datasets/nkazi/SciEntsBank} in LaTeX) when first mentioning the dataset in your paper, alongside citing the authors/paper. This will promote the availability of this dataset on Hugging Face and make it more accessible to researchers, given that the original repository is no longer available.

tex
@inproceedings{dzikovska2013semeval,
  title = {{S}em{E}val-2013 Task 7: The Joint Student Response Analysis and 8th Recognizing Textual Entailment Challenge},
  author = {Dzikovska, Myroslava  and Nielsen, Rodney  and Brew, Chris  and Leacock, Claudia  and Giampiccolo, Danilo  and Bentivogli, Luisa  and Clark, Peter  and Dagan, Ido  and Dang, Hoa Trang},
  year = 2013,
  month = jun,
  booktitle = {Second Joint Conference on Lexical and Computational Semantics ({SEM}), Volume 2: Proceedings of the Seventh International Workshop on Semantic Evaluation ({S}em{E}val 2013)},
  editor = {Manandhar, Suresh  and Yuret, Deniz}
  publisher = {Association for Computational Linguistics},
  address = {Atlanta, Georgia, USA},
  pages = {263--274},
  url = {https://aclanthology.org/S13-2045},
}

References

  1. 1.Rodney D. Nielsen, Wayne Ward, James H. Martin, and Martha Palmer. 2008. Annotating students' understanding of science concepts. In Proceedings of the Sixth International Language Resources and Evaluation Conference, Marrakech, Morocco.