CoolFace
Datasetpublic

unum-cloud/ann-codesearch-4m

Cleaning Unlike the original dataset, the func_code_string column was updated to remove any comments and keep just the code. The original version can still be found in the whole_func_string. import re def remove_comments_docstrings(code, language): if language == 'python': # Remove docstrings code = re.sub(r'"""(.*?)"""', '', code, flags=re.DOTALL) code = re.sub(r"'''(.*?)'''", '', code, flags=re.DOTALL) # Remove comments code =… See the full description on the dataset page: https://huggingface.co/datasets/unum-cloud/ann-codesearch-4m.

sourceHugging Faceupdated 2y agoView on Hugging Face
1likes179downloads
6 commits on main
f72a1082y ago

Upload 2 files (#2)

ashvardanian, Rololi
54f977d2y ago

Upload 3 files

ashvardanian
4b07a4f2y ago

Create README.md

ashvardanian
51e3bb42y ago

Upload test.parquet

ashvardanian
6c492c32y ago

Upload validation.parquet

ashvardanian
c4619592y ago

initial commit

ashvardanian