albertvillanova HF staff commited on
Commit
17cab03
1 Parent(s): 4477074

Host data files (#7)

Browse files

- Host data files (b26b1f57d6c1595d2b381922a991a94be69dddf8)
- Update loading script (3f40356e15468173589c88244c26ec11e840cb4a)
- Update metadata in legacy JSON file (f557590982f3dbea7348591d50db5c353889fe39)

code_search_net.py CHANGED
@@ -49,9 +49,9 @@ _HOMEPAGE = "https://github.com/github/CodeSearchNet"
49
 
50
  _LICENSE = "Various"
51
 
52
- _S3_BUCKET_URL = "https://s3.amazonaws.com/code-search-net/CodeSearchNet/v2/"
53
  _AVAILABLE_LANGUAGES = ["python", "java", "javascript", "go", "ruby", "php"]
54
- _URLs = {language: _S3_BUCKET_URL + f"{language}.zip" for language in _AVAILABLE_LANGUAGES}
55
  # URLs for "all" are just the concatenation of URLs for all languages
56
  _URLs["all"] = _URLs.copy()
57
 
49
 
50
  _LICENSE = "Various"
51
 
52
+ _DATA_DIR_URL = "data/"
53
  _AVAILABLE_LANGUAGES = ["python", "java", "javascript", "go", "ruby", "php"]
54
+ _URLs = {language: _DATA_DIR_URL + f"{language}.zip" for language in _AVAILABLE_LANGUAGES}
55
  # URLs for "all" are just the concatenation of URLs for all languages
56
  _URLs["all"] = _URLs.copy()
57
 
data/go.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:15d23f01dc2796447e1736263e6830079289d5ef41f09988011afdcf8da6b6e5
3
+ size 487525935
data/java.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:05f9204b1808413fab30f0e69229e298f6de4ad468279d53a2aa5797e3a78c17
3
+ size 1060569153
data/javascript.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fdc743f5af27f90c77584a2d29e2b7f8cecdd00c37b433c385b888ee062936dd
3
+ size 1664713350
data/php.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c3bbf0d1b10010f88b058faea876f1f5471758399e30d58c11f78ff53660ce00
3
+ size 851894048
data/python.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7223c6460bebfa85697b586da91e47bc5d64790a4d60bba5917106458ab6b40e
3
+ size 940909997
data/ruby.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:67aee5812d0f994df745c771c7791483f2b060561495747d424e307af4b342e6
3
+ size 111758028
dataset_infos.json CHANGED
@@ -1 +1 @@
1
- {"all": {"description": "CodeSearchNet corpus contains about 6 million functions from open-source code spanning six programming languages (Go, Java, JavaScript, PHP, Python, and Ruby). The CodeSearchNet Corpus also contains automatically generated query-like natural language for 2 million functions, obtained from mechanically scraping and preprocessing associated function documentation.\n", "citation": "@article{husain2019codesearchnet,\n title={{CodeSearchNet} challenge: Evaluating the state of semantic code search},\n author={Husain, Hamel and Wu, Ho-Hsiang and Gazit, Tiferet and Allamanis, Miltiadis and Brockschmidt, Marc},\n journal={arXiv preprint arXiv:1909.09436},\n year={2019}\n}\n", "homepage": "https://github.com/github/CodeSearchNet", "license": "Various", "features": {"repository_name": {"dtype": "string", "id": null, "_type": "Value"}, "func_path_in_repository": {"dtype": "string", "id": null, "_type": "Value"}, "func_name": {"dtype": "string", "id": null, "_type": "Value"}, "whole_func_string": {"dtype": "string", "id": null, "_type": "Value"}, "language": {"dtype": "string", "id": null, "_type": "Value"}, "func_code_string": {"dtype": "string", "id": null, "_type": "Value"}, "func_code_tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "func_documentation_string": {"dtype": "string", "id": null, "_type": "Value"}, "func_documentation_tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "split_name": {"dtype": "string", "id": null, "_type": "Value"}, "func_code_url": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "builder_name": "code_search_net", "config_name": "all", "version": {"version_str": "1.0.0", "description": "Add CodeSearchNet corpus dataset", "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 5850604083, "num_examples": 1880853, "dataset_name": "code_search_net"}, "test": {"name": "test", "num_bytes": 308626333, "num_examples": 100529, "dataset_name": "code_search_net"}, "validation": {"name": "validation", "num_bytes": 274564382, "num_examples": 89154, "dataset_name": "code_search_net"}}, "download_checksums": {"https://s3.amazonaws.com/code-search-net/CodeSearchNet/v2/python.zip": {"num_bytes": 940909997, "checksum": "7223c6460bebfa85697b586da91e47bc5d64790a4d60bba5917106458ab6b40e"}, "https://s3.amazonaws.com/code-search-net/CodeSearchNet/v2/java.zip": {"num_bytes": 1060569153, "checksum": "05f9204b1808413fab30f0e69229e298f6de4ad468279d53a2aa5797e3a78c17"}, "https://s3.amazonaws.com/code-search-net/CodeSearchNet/v2/javascript.zip": {"num_bytes": 1664713350, "checksum": "fdc743f5af27f90c77584a2d29e2b7f8cecdd00c37b433c385b888ee062936dd"}, "https://s3.amazonaws.com/code-search-net/CodeSearchNet/v2/go.zip": {"num_bytes": 487525935, "checksum": "15d23f01dc2796447e1736263e6830079289d5ef41f09988011afdcf8da6b6e5"}, "https://s3.amazonaws.com/code-search-net/CodeSearchNet/v2/ruby.zip": {"num_bytes": 111758028, "checksum": "67aee5812d0f994df745c771c7791483f2b060561495747d424e307af4b342e6"}, "https://s3.amazonaws.com/code-search-net/CodeSearchNet/v2/php.zip": {"num_bytes": 851894048, "checksum": "c3bbf0d1b10010f88b058faea876f1f5471758399e30d58c11f78ff53660ce00"}}, "download_size": 5117370511, "post_processing_size": null, "dataset_size": 6433794798, "size_in_bytes": 11551165309}, "java": {"description": "CodeSearchNet corpus contains about 6 million functions from open-source code spanning six programming languages (Go, Java, JavaScript, PHP, Python, and Ruby). The CodeSearchNet Corpus also contains automatically generated query-like natural language for 2 million functions, obtained from mechanically scraping and preprocessing associated function documentation.\n", "citation": "@article{husain2019codesearchnet,\n title={{CodeSearchNet} challenge: Evaluating the state of semantic code search},\n author={Husain, Hamel and Wu, Ho-Hsiang and Gazit, Tiferet and Allamanis, Miltiadis and Brockschmidt, Marc},\n journal={arXiv preprint arXiv:1909.09436},\n year={2019}\n}\n", "homepage": "https://github.com/github/CodeSearchNet", "license": "Various", "features": {"repository_name": {"dtype": "string", "id": null, "_type": "Value"}, "func_path_in_repository": {"dtype": "string", "id": null, "_type": "Value"}, "func_name": {"dtype": "string", "id": null, "_type": "Value"}, "whole_func_string": {"dtype": "string", "id": null, "_type": "Value"}, "language": {"dtype": "string", "id": null, "_type": "Value"}, "func_code_string": {"dtype": "string", "id": null, "_type": "Value"}, "func_code_tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "func_documentation_string": {"dtype": "string", "id": null, "_type": "Value"}, "func_documentation_tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "split_name": {"dtype": "string", "id": null, "_type": "Value"}, "func_code_url": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "builder_name": "code_search_net", "config_name": "java", "version": {"version_str": "1.0.0", "description": "Add CodeSearchNet corpus dataset", "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 1429272535, "num_examples": 454451, "dataset_name": "code_search_net"}, "test": {"name": "test", "num_bytes": 82377246, "num_examples": 26909, "dataset_name": "code_search_net"}, "validation": {"name": "validation", "num_bytes": 42358315, "num_examples": 15328, "dataset_name": "code_search_net"}}, "download_checksums": {"https://s3.amazonaws.com/code-search-net/CodeSearchNet/v2/java.zip": {"num_bytes": 1060569153, "checksum": "05f9204b1808413fab30f0e69229e298f6de4ad468279d53a2aa5797e3a78c17"}}, "download_size": 1060569153, "post_processing_size": null, "dataset_size": 1554008096, "size_in_bytes": 2614577249}, "go": {"description": "CodeSearchNet corpus contains about 6 million functions from open-source code spanning six programming languages (Go, Java, JavaScript, PHP, Python, and Ruby). The CodeSearchNet Corpus also contains automatically generated query-like natural language for 2 million functions, obtained from mechanically scraping and preprocessing associated function documentation.\n", "citation": "@article{husain2019codesearchnet,\n title={{CodeSearchNet} challenge: Evaluating the state of semantic code search},\n author={Husain, Hamel and Wu, Ho-Hsiang and Gazit, Tiferet and Allamanis, Miltiadis and Brockschmidt, Marc},\n journal={arXiv preprint arXiv:1909.09436},\n year={2019}\n}\n", "homepage": "https://github.com/github/CodeSearchNet", "license": "Various", "features": {"repository_name": {"dtype": "string", "id": null, "_type": "Value"}, "func_path_in_repository": {"dtype": "string", "id": null, "_type": "Value"}, "func_name": {"dtype": "string", "id": null, "_type": "Value"}, "whole_func_string": {"dtype": "string", "id": null, "_type": "Value"}, "language": {"dtype": "string", "id": null, "_type": "Value"}, "func_code_string": {"dtype": "string", "id": null, "_type": "Value"}, "func_code_tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "func_documentation_string": {"dtype": "string", "id": null, "_type": "Value"}, "func_documentation_tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "split_name": {"dtype": "string", "id": null, "_type": "Value"}, "func_code_url": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "builder_name": "code_search_net", "config_name": "go", "version": {"version_str": "1.0.0", "description": "Add CodeSearchNet corpus dataset", "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 738153234, "num_examples": 317832, "dataset_name": "code_search_net"}, "test": {"name": "test", "num_bytes": 32286998, "num_examples": 14291, "dataset_name": "code_search_net"}, "validation": {"name": "validation", "num_bytes": 26888527, "num_examples": 14242, "dataset_name": "code_search_net"}}, "download_checksums": {"https://s3.amazonaws.com/code-search-net/CodeSearchNet/v2/go.zip": {"num_bytes": 487525935, "checksum": "15d23f01dc2796447e1736263e6830079289d5ef41f09988011afdcf8da6b6e5"}}, "download_size": 487525935, "post_processing_size": null, "dataset_size": 797328759, "size_in_bytes": 1284854694}, "python": {"description": "CodeSearchNet corpus contains about 6 million functions from open-source code spanning six programming languages (Go, Java, JavaScript, PHP, Python, and Ruby). The CodeSearchNet Corpus also contains automatically generated query-like natural language for 2 million functions, obtained from mechanically scraping and preprocessing associated function documentation.\n", "citation": "@article{husain2019codesearchnet,\n title={{CodeSearchNet} challenge: Evaluating the state of semantic code search},\n author={Husain, Hamel and Wu, Ho-Hsiang and Gazit, Tiferet and Allamanis, Miltiadis and Brockschmidt, Marc},\n journal={arXiv preprint arXiv:1909.09436},\n year={2019}\n}\n", "homepage": "https://github.com/github/CodeSearchNet", "license": "Various", "features": {"repository_name": {"dtype": "string", "id": null, "_type": "Value"}, "func_path_in_repository": {"dtype": "string", "id": null, "_type": "Value"}, "func_name": {"dtype": "string", "id": null, "_type": "Value"}, "whole_func_string": {"dtype": "string", "id": null, "_type": "Value"}, "language": {"dtype": "string", "id": null, "_type": "Value"}, "func_code_string": {"dtype": "string", "id": null, "_type": "Value"}, "func_code_tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "func_documentation_string": {"dtype": "string", "id": null, "_type": "Value"}, "func_documentation_tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "split_name": {"dtype": "string", "id": null, "_type": "Value"}, "func_code_url": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "builder_name": "code_search_net", "config_name": "python", "version": {"version_str": "1.0.0", "description": "Add CodeSearchNet corpus dataset", "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 1559645310, "num_examples": 412178, "dataset_name": "code_search_net"}, "test": {"name": "test", "num_bytes": 84342064, "num_examples": 22176, "dataset_name": "code_search_net"}, "validation": {"name": "validation", "num_bytes": 92154786, "num_examples": 23107, "dataset_name": "code_search_net"}}, "download_checksums": {"https://s3.amazonaws.com/code-search-net/CodeSearchNet/v2/python.zip": {"num_bytes": 940909997, "checksum": "7223c6460bebfa85697b586da91e47bc5d64790a4d60bba5917106458ab6b40e"}}, "download_size": 940909997, "post_processing_size": null, "dataset_size": 1736142160, "size_in_bytes": 2677052157}, "javascript": {"description": "CodeSearchNet corpus contains about 6 million functions from open-source code spanning six programming languages (Go, Java, JavaScript, PHP, Python, and Ruby). The CodeSearchNet Corpus also contains automatically generated query-like natural language for 2 million functions, obtained from mechanically scraping and preprocessing associated function documentation.\n", "citation": "@article{husain2019codesearchnet,\n title={{CodeSearchNet} challenge: Evaluating the state of semantic code search},\n author={Husain, Hamel and Wu, Ho-Hsiang and Gazit, Tiferet and Allamanis, Miltiadis and Brockschmidt, Marc},\n journal={arXiv preprint arXiv:1909.09436},\n year={2019}\n}\n", "homepage": "https://github.com/github/CodeSearchNet", "license": "Various", "features": {"repository_name": {"dtype": "string", "id": null, "_type": "Value"}, "func_path_in_repository": {"dtype": "string", "id": null, "_type": "Value"}, "func_name": {"dtype": "string", "id": null, "_type": "Value"}, "whole_func_string": {"dtype": "string", "id": null, "_type": "Value"}, "language": {"dtype": "string", "id": null, "_type": "Value"}, "func_code_string": {"dtype": "string", "id": null, "_type": "Value"}, "func_code_tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "func_documentation_string": {"dtype": "string", "id": null, "_type": "Value"}, "func_documentation_tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "split_name": {"dtype": "string", "id": null, "_type": "Value"}, "func_code_url": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "builder_name": "code_search_net", "config_name": "javascript", "version": {"version_str": "1.0.0", "description": "Add CodeSearchNet corpus dataset", "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 480286523, "num_examples": 123889, "dataset_name": "code_search_net"}, "test": {"name": "test", "num_bytes": 24056972, "num_examples": 6483, "dataset_name": "code_search_net"}, "validation": {"name": "validation", "num_bytes": 30168242, "num_examples": 8253, "dataset_name": "code_search_net"}}, "download_checksums": {"https://s3.amazonaws.com/code-search-net/CodeSearchNet/v2/javascript.zip": {"num_bytes": 1664713350, "checksum": "fdc743f5af27f90c77584a2d29e2b7f8cecdd00c37b433c385b888ee062936dd"}}, "download_size": 1664713350, "post_processing_size": null, "dataset_size": 534511737, "size_in_bytes": 2199225087}, "ruby": {"description": "CodeSearchNet corpus contains about 6 million functions from open-source code spanning six programming languages (Go, Java, JavaScript, PHP, Python, and Ruby). The CodeSearchNet Corpus also contains automatically generated query-like natural language for 2 million functions, obtained from mechanically scraping and preprocessing associated function documentation.\n", "citation": "@article{husain2019codesearchnet,\n title={{CodeSearchNet} challenge: Evaluating the state of semantic code search},\n author={Husain, Hamel and Wu, Ho-Hsiang and Gazit, Tiferet and Allamanis, Miltiadis and Brockschmidt, Marc},\n journal={arXiv preprint arXiv:1909.09436},\n year={2019}\n}\n", "homepage": "https://github.com/github/CodeSearchNet", "license": "Various", "features": {"repository_name": {"dtype": "string", "id": null, "_type": "Value"}, "func_path_in_repository": {"dtype": "string", "id": null, "_type": "Value"}, "func_name": {"dtype": "string", "id": null, "_type": "Value"}, "whole_func_string": {"dtype": "string", "id": null, "_type": "Value"}, "language": {"dtype": "string", "id": null, "_type": "Value"}, "func_code_string": {"dtype": "string", "id": null, "_type": "Value"}, "func_code_tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "func_documentation_string": {"dtype": "string", "id": null, "_type": "Value"}, "func_documentation_tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "split_name": {"dtype": "string", "id": null, "_type": "Value"}, "func_code_url": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "builder_name": "code_search_net", "config_name": "ruby", "version": {"version_str": "1.0.0", "description": "Add CodeSearchNet corpus dataset", "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 110681715, "num_examples": 48791, "dataset_name": "code_search_net"}, "test": {"name": "test", "num_bytes": 5359280, "num_examples": 2279, "dataset_name": "code_search_net"}, "validation": {"name": "validation", "num_bytes": 4830744, "num_examples": 2209, "dataset_name": "code_search_net"}}, "download_checksums": {"https://s3.amazonaws.com/code-search-net/CodeSearchNet/v2/ruby.zip": {"num_bytes": 111758028, "checksum": "67aee5812d0f994df745c771c7791483f2b060561495747d424e307af4b342e6"}}, "download_size": 111758028, "post_processing_size": null, "dataset_size": 120871739, "size_in_bytes": 232629767}, "php": {"description": "CodeSearchNet corpus contains about 6 million functions from open-source code spanning six programming languages (Go, Java, JavaScript, PHP, Python, and Ruby). The CodeSearchNet Corpus also contains automatically generated query-like natural language for 2 million functions, obtained from mechanically scraping and preprocessing associated function documentation.\n", "citation": "@article{husain2019codesearchnet,\n title={{CodeSearchNet} challenge: Evaluating the state of semantic code search},\n author={Husain, Hamel and Wu, Ho-Hsiang and Gazit, Tiferet and Allamanis, Miltiadis and Brockschmidt, Marc},\n journal={arXiv preprint arXiv:1909.09436},\n year={2019}\n}\n", "homepage": "https://github.com/github/CodeSearchNet", "license": "Various", "features": {"repository_name": {"dtype": "string", "id": null, "_type": "Value"}, "func_path_in_repository": {"dtype": "string", "id": null, "_type": "Value"}, "func_name": {"dtype": "string", "id": null, "_type": "Value"}, "whole_func_string": {"dtype": "string", "id": null, "_type": "Value"}, "language": {"dtype": "string", "id": null, "_type": "Value"}, "func_code_string": {"dtype": "string", "id": null, "_type": "Value"}, "func_code_tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "func_documentation_string": {"dtype": "string", "id": null, "_type": "Value"}, "func_documentation_tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "split_name": {"dtype": "string", "id": null, "_type": "Value"}, "func_code_url": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "builder_name": "code_search_net", "config_name": "php", "version": {"version_str": "1.0.0", "description": "Add CodeSearchNet corpus dataset", "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 1532564870, "num_examples": 523712, "dataset_name": "code_search_net"}, "test": {"name": "test", "num_bytes": 80203877, "num_examples": 28391, "dataset_name": "code_search_net"}, "validation": {"name": "validation", "num_bytes": 78163924, "num_examples": 26015, "dataset_name": "code_search_net"}}, "download_checksums": {"https://s3.amazonaws.com/code-search-net/CodeSearchNet/v2/php.zip": {"num_bytes": 851894048, "checksum": "c3bbf0d1b10010f88b058faea876f1f5471758399e30d58c11f78ff53660ce00"}}, "download_size": 851894048, "post_processing_size": null, "dataset_size": 1690932671, "size_in_bytes": 2542826719}}
1
+ {"all": {"description": "CodeSearchNet corpus contains about 6 million functions from open-source code spanning six programming languages (Go, Java, JavaScript, PHP, Python, and Ruby). The CodeSearchNet Corpus also contains automatically generated query-like natural language for 2 million functions, obtained from mechanically scraping and preprocessing associated function documentation.\n", "citation": "@article{husain2019codesearchnet,\n title={{CodeSearchNet} challenge: Evaluating the state of semantic code search},\n author={Husain, Hamel and Wu, Ho-Hsiang and Gazit, Tiferet and Allamanis, Miltiadis and Brockschmidt, Marc},\n journal={arXiv preprint arXiv:1909.09436},\n year={2019}\n}\n", "homepage": "https://github.com/github/CodeSearchNet", "license": "Various", "features": {"repository_name": {"dtype": "string", "id": null, "_type": "Value"}, "func_path_in_repository": {"dtype": "string", "id": null, "_type": "Value"}, "func_name": {"dtype": "string", "id": null, "_type": "Value"}, "whole_func_string": {"dtype": "string", "id": null, "_type": "Value"}, "language": {"dtype": "string", "id": null, "_type": "Value"}, "func_code_string": {"dtype": "string", "id": null, "_type": "Value"}, "func_code_tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "func_documentation_string": {"dtype": "string", "id": null, "_type": "Value"}, "func_documentation_tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "split_name": {"dtype": "string", "id": null, "_type": "Value"}, "func_code_url": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "builder_name": "code_search_net", "config_name": "all", "version": {"version_str": "1.0.0", "description": "Add CodeSearchNet corpus dataset", "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 5850604083, "num_examples": 1880853, "dataset_name": "code_search_net"}, "test": {"name": "test", "num_bytes": 308626333, "num_examples": 100529, "dataset_name": "code_search_net"}, "validation": {"name": "validation", "num_bytes": 274564382, "num_examples": 89154, "dataset_name": "code_search_net"}}, "download_checksums": {"data/python.zip": {"num_bytes": 940909997, "checksum": "7223c6460bebfa85697b586da91e47bc5d64790a4d60bba5917106458ab6b40e"}, "data/java.zip": {"num_bytes": 1060569153, "checksum": "05f9204b1808413fab30f0e69229e298f6de4ad468279d53a2aa5797e3a78c17"}, "data/javascript.zip": {"num_bytes": 1664713350, "checksum": "fdc743f5af27f90c77584a2d29e2b7f8cecdd00c37b433c385b888ee062936dd"}, "data/go.zip": {"num_bytes": 487525935, "checksum": "15d23f01dc2796447e1736263e6830079289d5ef41f09988011afdcf8da6b6e5"}, "data/ruby.zip": {"num_bytes": 111758028, "checksum": "67aee5812d0f994df745c771c7791483f2b060561495747d424e307af4b342e6"}, "data/php.zip": {"num_bytes": 851894048, "checksum": "c3bbf0d1b10010f88b058faea876f1f5471758399e30d58c11f78ff53660ce00"}}, "download_size": 5117370511, "post_processing_size": null, "dataset_size": 6433794798, "size_in_bytes": 11551165309}, "java": {"description": "CodeSearchNet corpus contains about 6 million functions from open-source code spanning six programming languages (Go, Java, JavaScript, PHP, Python, and Ruby). The CodeSearchNet Corpus also contains automatically generated query-like natural language for 2 million functions, obtained from mechanically scraping and preprocessing associated function documentation.\n", "citation": "@article{husain2019codesearchnet,\n title={{CodeSearchNet} challenge: Evaluating the state of semantic code search},\n author={Husain, Hamel and Wu, Ho-Hsiang and Gazit, Tiferet and Allamanis, Miltiadis and Brockschmidt, Marc},\n journal={arXiv preprint arXiv:1909.09436},\n year={2019}\n}\n", "homepage": "https://github.com/github/CodeSearchNet", "license": "Various", "features": {"repository_name": {"dtype": "string", "id": null, "_type": "Value"}, "func_path_in_repository": {"dtype": "string", "id": null, "_type": "Value"}, "func_name": {"dtype": "string", "id": null, "_type": "Value"}, "whole_func_string": {"dtype": "string", "id": null, "_type": "Value"}, "language": {"dtype": "string", "id": null, "_type": "Value"}, "func_code_string": {"dtype": "string", "id": null, "_type": "Value"}, "func_code_tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "func_documentation_string": {"dtype": "string", "id": null, "_type": "Value"}, "func_documentation_tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "split_name": {"dtype": "string", "id": null, "_type": "Value"}, "func_code_url": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "builder_name": "code_search_net", "config_name": "java", "version": {"version_str": "1.0.0", "description": "Add CodeSearchNet corpus dataset", "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 1429272535, "num_examples": 454451, "dataset_name": "code_search_net"}, "test": {"name": "test", "num_bytes": 82377246, "num_examples": 26909, "dataset_name": "code_search_net"}, "validation": {"name": "validation", "num_bytes": 42358315, "num_examples": 15328, "dataset_name": "code_search_net"}}, "download_checksums": {"data/java.zip": {"num_bytes": 1060569153, "checksum": "05f9204b1808413fab30f0e69229e298f6de4ad468279d53a2aa5797e3a78c17"}}, "download_size": 1060569153, "post_processing_size": null, "dataset_size": 1554008096, "size_in_bytes": 2614577249}, "go": {"description": "CodeSearchNet corpus contains about 6 million functions from open-source code spanning six programming languages (Go, Java, JavaScript, PHP, Python, and Ruby). The CodeSearchNet Corpus also contains automatically generated query-like natural language for 2 million functions, obtained from mechanically scraping and preprocessing associated function documentation.\n", "citation": "@article{husain2019codesearchnet,\n title={{CodeSearchNet} challenge: Evaluating the state of semantic code search},\n author={Husain, Hamel and Wu, Ho-Hsiang and Gazit, Tiferet and Allamanis, Miltiadis and Brockschmidt, Marc},\n journal={arXiv preprint arXiv:1909.09436},\n year={2019}\n}\n", "homepage": "https://github.com/github/CodeSearchNet", "license": "Various", "features": {"repository_name": {"dtype": "string", "id": null, "_type": "Value"}, "func_path_in_repository": {"dtype": "string", "id": null, "_type": "Value"}, "func_name": {"dtype": "string", "id": null, "_type": "Value"}, "whole_func_string": {"dtype": "string", "id": null, "_type": "Value"}, "language": {"dtype": "string", "id": null, "_type": "Value"}, "func_code_string": {"dtype": "string", "id": null, "_type": "Value"}, "func_code_tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "func_documentation_string": {"dtype": "string", "id": null, "_type": "Value"}, "func_documentation_tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "split_name": {"dtype": "string", "id": null, "_type": "Value"}, "func_code_url": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "builder_name": "code_search_net", "config_name": "go", "version": {"version_str": "1.0.0", "description": "Add CodeSearchNet corpus dataset", "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 738153234, "num_examples": 317832, "dataset_name": "code_search_net"}, "test": {"name": "test", "num_bytes": 32286998, "num_examples": 14291, "dataset_name": "code_search_net"}, "validation": {"name": "validation", "num_bytes": 26888527, "num_examples": 14242, "dataset_name": "code_search_net"}}, "download_checksums": {"data/go.zip": {"num_bytes": 487525935, "checksum": "15d23f01dc2796447e1736263e6830079289d5ef41f09988011afdcf8da6b6e5"}}, "download_size": 487525935, "post_processing_size": null, "dataset_size": 797328759, "size_in_bytes": 1284854694}, "python": {"description": "CodeSearchNet corpus contains about 6 million functions from open-source code spanning six programming languages (Go, Java, JavaScript, PHP, Python, and Ruby). The CodeSearchNet Corpus also contains automatically generated query-like natural language for 2 million functions, obtained from mechanically scraping and preprocessing associated function documentation.\n", "citation": "@article{husain2019codesearchnet,\n title={{CodeSearchNet} challenge: Evaluating the state of semantic code search},\n author={Husain, Hamel and Wu, Ho-Hsiang and Gazit, Tiferet and Allamanis, Miltiadis and Brockschmidt, Marc},\n journal={arXiv preprint arXiv:1909.09436},\n year={2019}\n}\n", "homepage": "https://github.com/github/CodeSearchNet", "license": "Various", "features": {"repository_name": {"dtype": "string", "id": null, "_type": "Value"}, "func_path_in_repository": {"dtype": "string", "id": null, "_type": "Value"}, "func_name": {"dtype": "string", "id": null, "_type": "Value"}, "whole_func_string": {"dtype": "string", "id": null, "_type": "Value"}, "language": {"dtype": "string", "id": null, "_type": "Value"}, "func_code_string": {"dtype": "string", "id": null, "_type": "Value"}, "func_code_tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "func_documentation_string": {"dtype": "string", "id": null, "_type": "Value"}, "func_documentation_tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "split_name": {"dtype": "string", "id": null, "_type": "Value"}, "func_code_url": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "builder_name": "code_search_net", "config_name": "python", "version": {"version_str": "1.0.0", "description": "Add CodeSearchNet corpus dataset", "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 1559645310, "num_examples": 412178, "dataset_name": "code_search_net"}, "test": {"name": "test", "num_bytes": 84342064, "num_examples": 22176, "dataset_name": "code_search_net"}, "validation": {"name": "validation", "num_bytes": 92154786, "num_examples": 23107, "dataset_name": "code_search_net"}}, "download_checksums": {"data/python.zip": {"num_bytes": 940909997, "checksum": "7223c6460bebfa85697b586da91e47bc5d64790a4d60bba5917106458ab6b40e"}}, "download_size": 940909997, "post_processing_size": null, "dataset_size": 1736142160, "size_in_bytes": 2677052157}, "javascript": {"description": "CodeSearchNet corpus contains about 6 million functions from open-source code spanning six programming languages (Go, Java, JavaScript, PHP, Python, and Ruby). The CodeSearchNet Corpus also contains automatically generated query-like natural language for 2 million functions, obtained from mechanically scraping and preprocessing associated function documentation.\n", "citation": "@article{husain2019codesearchnet,\n title={{CodeSearchNet} challenge: Evaluating the state of semantic code search},\n author={Husain, Hamel and Wu, Ho-Hsiang and Gazit, Tiferet and Allamanis, Miltiadis and Brockschmidt, Marc},\n journal={arXiv preprint arXiv:1909.09436},\n year={2019}\n}\n", "homepage": "https://github.com/github/CodeSearchNet", "license": "Various", "features": {"repository_name": {"dtype": "string", "id": null, "_type": "Value"}, "func_path_in_repository": {"dtype": "string", "id": null, "_type": "Value"}, "func_name": {"dtype": "string", "id": null, "_type": "Value"}, "whole_func_string": {"dtype": "string", "id": null, "_type": "Value"}, "language": {"dtype": "string", "id": null, "_type": "Value"}, "func_code_string": {"dtype": "string", "id": null, "_type": "Value"}, "func_code_tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "func_documentation_string": {"dtype": "string", "id": null, "_type": "Value"}, "func_documentation_tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "split_name": {"dtype": "string", "id": null, "_type": "Value"}, "func_code_url": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "builder_name": "code_search_net", "config_name": "javascript", "version": {"version_str": "1.0.0", "description": "Add CodeSearchNet corpus dataset", "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 480286523, "num_examples": 123889, "dataset_name": "code_search_net"}, "test": {"name": "test", "num_bytes": 24056972, "num_examples": 6483, "dataset_name": "code_search_net"}, "validation": {"name": "validation", "num_bytes": 30168242, "num_examples": 8253, "dataset_name": "code_search_net"}}, "download_checksums": {"data/javascript.zip": {"num_bytes": 1664713350, "checksum": "fdc743f5af27f90c77584a2d29e2b7f8cecdd00c37b433c385b888ee062936dd"}}, "download_size": 1664713350, "post_processing_size": null, "dataset_size": 534511737, "size_in_bytes": 2199225087}, "ruby": {"description": "CodeSearchNet corpus contains about 6 million functions from open-source code spanning six programming languages (Go, Java, JavaScript, PHP, Python, and Ruby). The CodeSearchNet Corpus also contains automatically generated query-like natural language for 2 million functions, obtained from mechanically scraping and preprocessing associated function documentation.\n", "citation": "@article{husain2019codesearchnet,\n title={{CodeSearchNet} challenge: Evaluating the state of semantic code search},\n author={Husain, Hamel and Wu, Ho-Hsiang and Gazit, Tiferet and Allamanis, Miltiadis and Brockschmidt, Marc},\n journal={arXiv preprint arXiv:1909.09436},\n year={2019}\n}\n", "homepage": "https://github.com/github/CodeSearchNet", "license": "Various", "features": {"repository_name": {"dtype": "string", "id": null, "_type": "Value"}, "func_path_in_repository": {"dtype": "string", "id": null, "_type": "Value"}, "func_name": {"dtype": "string", "id": null, "_type": "Value"}, "whole_func_string": {"dtype": "string", "id": null, "_type": "Value"}, "language": {"dtype": "string", "id": null, "_type": "Value"}, "func_code_string": {"dtype": "string", "id": null, "_type": "Value"}, "func_code_tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "func_documentation_string": {"dtype": "string", "id": null, "_type": "Value"}, "func_documentation_tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "split_name": {"dtype": "string", "id": null, "_type": "Value"}, "func_code_url": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "builder_name": "code_search_net", "config_name": "ruby", "version": {"version_str": "1.0.0", "description": "Add CodeSearchNet corpus dataset", "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 110681715, "num_examples": 48791, "dataset_name": "code_search_net"}, "test": {"name": "test", "num_bytes": 5359280, "num_examples": 2279, "dataset_name": "code_search_net"}, "validation": {"name": "validation", "num_bytes": 4830744, "num_examples": 2209, "dataset_name": "code_search_net"}}, "download_checksums": {"data/ruby.zip": {"num_bytes": 111758028, "checksum": "67aee5812d0f994df745c771c7791483f2b060561495747d424e307af4b342e6"}}, "download_size": 111758028, "post_processing_size": null, "dataset_size": 120871739, "size_in_bytes": 232629767}, "php": {"description": "CodeSearchNet corpus contains about 6 million functions from open-source code spanning six programming languages (Go, Java, JavaScript, PHP, Python, and Ruby). The CodeSearchNet Corpus also contains automatically generated query-like natural language for 2 million functions, obtained from mechanically scraping and preprocessing associated function documentation.\n", "citation": "@article{husain2019codesearchnet,\n title={{CodeSearchNet} challenge: Evaluating the state of semantic code search},\n author={Husain, Hamel and Wu, Ho-Hsiang and Gazit, Tiferet and Allamanis, Miltiadis and Brockschmidt, Marc},\n journal={arXiv preprint arXiv:1909.09436},\n year={2019}\n}\n", "homepage": "https://github.com/github/CodeSearchNet", "license": "Various", "features": {"repository_name": {"dtype": "string", "id": null, "_type": "Value"}, "func_path_in_repository": {"dtype": "string", "id": null, "_type": "Value"}, "func_name": {"dtype": "string", "id": null, "_type": "Value"}, "whole_func_string": {"dtype": "string", "id": null, "_type": "Value"}, "language": {"dtype": "string", "id": null, "_type": "Value"}, "func_code_string": {"dtype": "string", "id": null, "_type": "Value"}, "func_code_tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "func_documentation_string": {"dtype": "string", "id": null, "_type": "Value"}, "func_documentation_tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "split_name": {"dtype": "string", "id": null, "_type": "Value"}, "func_code_url": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "builder_name": "code_search_net", "config_name": "php", "version": {"version_str": "1.0.0", "description": "Add CodeSearchNet corpus dataset", "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 1532564870, "num_examples": 523712, "dataset_name": "code_search_net"}, "test": {"name": "test", "num_bytes": 80203877, "num_examples": 28391, "dataset_name": "code_search_net"}, "validation": {"name": "validation", "num_bytes": 78163924, "num_examples": 26015, "dataset_name": "code_search_net"}}, "download_checksums": {"data/php.zip": {"num_bytes": 851894048, "checksum": "c3bbf0d1b10010f88b058faea876f1f5471758399e30d58c11f78ff53660ce00"}}, "download_size": 851894048, "post_processing_size": null, "dataset_size": 1690932671, "size_in_bytes": 2542826719}}