--- license: apache-2.0 task_categories: - text-classification tags: - code --- ## Introduction This is the dataset Project_CodeNet_Python800 and Project_CodeNet_Java250 from [Project CodeNet](https://github.com/IBM/Project_CodeNet) ([arxiv](https://arxiv.org/abs/2105.12655)). We are not the authors of Project CodeNet, but we are the authors of [Heterogeneous Directed Hypergraph Neural Network (HDHGN)](https://github.com/qiankunmu/HDHGN) in paper [Heterogeneous Directed Hypergraph Neural Network over abstract syntax tree (AST) for Code Classification](https://doi.org/10.18293/SEKE2023-136) ([official](https://ksiresearch.org/seke/seke23paper/paper136.pdf), [arxiv](https://arxiv.org/abs/2305.04228)). Our HDHGN model utilizes the Python800 and Java250 datasets. The original official dataset links [Python800](https://dax-cdn.cdn.appdomain.cloud/dax-project-codenet/1.0.0/Project_CodeNet_Python800.tar.gz) and [Java250](https://dax-cdn.cdn.appdomain.cloud/dax-project-codenet/1.0.0/Project_CodeNet_Java250.tar.gz) are no longer accessible. The new official complete Project_CodeNet dataset can be obtained [here](https://codait-cos-dax.s3.us.cloud-object-storage.appdomain.cloud/dax-project-codenet/1.0.0/Project_CodeNet.tar.gz). Both Python800 and Java250 are included in this full dataset. However, the complete dataset is too large for convenient access. Therefore, we have uploaded the specific subsets we used - Python800 and Java250 - here for easier availability. For more information about Project CodeNet, please visit the [official website](https://github.com/IBM/Project_CodeNet). For more information about our work - HDHGN, please visit the [official website](https://github.com/qiankunmu/HDHGN). ## Usages You can directly download [Project_CodeNet_Python800.tar.gz](https://huggingface.co/datasets/qiankunmu/Project_CodeNet_Python800_and_Java250/blob/main/Project_CodeNet_Python800.tar.gz) and [Project_CodeNet_Java250.tar.gz](https://huggingface.co/datasets/qiankunmu/Project_CodeNet_Python800_and_Java250/blob/main/Project_CodeNet_Java250.tar.gz). ## Citations The citation for Project CodeNet is as follows: ``` @misc{puri2021codenet, title={CodeNet: A Large-Scale AI for Code Dataset for Learning a Diversity of Coding Tasks}, author={Ruchir Puri and David S. Kung and Geert Janssen and Wei Zhang and Giacomo Domeniconi and Vladimir Zolotov and Julian Dolby and Jie Chen and Mihir Choudhury and Lindsey Decker and Veronika Thost and Luca Buratti and Saurabh Pujar and Shyam Ramji and Ulrich Finkler and Susan Malaika and Frederick Reiss}, year={2021}, eprint={2105.12655}, archivePrefix={arXiv}, primaryClass={cs.SE} } ``` If you are interested in our work, you are welcome to cite it. ``` @inproceedings{Yang2023HeterogeneousDH, title={Heterogeneous Directed Hypergraph Neural Network over abstract syntax tree {(AST)} for Code Classification}, author={Guang Yang and Tiancheng Jin and Liang Dou}, booktitle={The 35th International Conference on Software Engineering and Knowledge Engineering, {SEKE} 2023}, pages={274--279}, year={2023}, doi={10.18293/SEKE2023-136} } ```