Datasets:
Commit
•
2364569
1
Parent(s):
25cdc80
Update CodeSearchNet data file URLs
Browse files
code_x_glue_ct_code_to_text.py
CHANGED
@@ -52,7 +52,7 @@ class CodeXGlueCtCodeToTextBaseImpl(TrainValidTestChild):
|
|
52 |
_SUPERVISED_KEYS = ["docstring", "docstring_tokens"]
|
53 |
|
54 |
def generate_urls(self, split_name, language):
|
55 |
-
yield "language", f"https://
|
56 |
yield "dataset", "dataset.zip"
|
57 |
|
58 |
def get_data_files(self, split_name, file_paths, language):
|
|
|
52 |
_SUPERVISED_KEYS = ["docstring", "docstring_tokens"]
|
53 |
|
54 |
def generate_urls(self, split_name, language):
|
55 |
+
yield "language", f"https://huggingface.co/datasets/code_search_net/resolve/main/data/{language}.zip"
|
56 |
yield "dataset", "dataset.zip"
|
57 |
|
58 |
def get_data_files(self, split_name, file_paths, language):
|