Datasets:

Languages:
code
Multilinguality:
multilingual
Language Creators:
machine-generated
Annotations Creators:
no-annotation
Source Datasets:
original
ArXiv:
Tags:
License:

How much GB of Java code is present in this dataset?

#2
by gagan001 - opened

Can somebody provide the breakdown of the amount of data present for each programming language?

ds_builder = datasets.load_dataset_builder("code_search_net", name="java")
ds_info = ds_builder.info
print(
f"\n
download_size = {humanize.naturalsize(ds_info.download_size, binary=True)}\n
dataset_size = {humanize.naturalsize(ds_info.dataset_size, binary=True)}"
)
output:
download_size = 1011.4 MiB
dataset_size = 1.4 GiB

Sign up or log in to comment