The Dataset Viewer has been disabled on this dataset.

Dataset Card for codesearchnet

The codesearchnet dataset, provided by the ir-datasets package. For more information about the dataset, see the documentation.

Data

This dataset provides:

  • docs (documents, i.e., the corpus); count=2,070,536

This dataset is used by: codesearchnet_challenge, codesearchnet_test, codesearchnet_train, codesearchnet_valid

Usage

from datasets import load_dataset

docs = load_dataset('irds/codesearchnet', 'docs')
for record in docs:
    record # {'doc_id': ..., 'repo': ..., 'path': ..., 'func_name': ..., 'code': ..., 'language': ...}

Note that calling load_dataset will download the dataset (or provide access instructions when it's not public) and make a copy of the data in 🤗 Dataset format.

Citation Information

@article{Husain2019CodeSearchNet,
  title={CodeSearchNet Challenge: Evaluating the State of Semantic Code Search},
  author={Hamel Husain and Ho-Hsiang Wu and Tiferet Gazit and Miltiadis Allamanis and Marc Brockschmidt},
  journal={ArXiv},
  year={2019}
}
Downloads last month
30

Models trained or fine-tuned on irds/codesearchnet