albertvillanova HF staff commited on
Commit
2364569
1 Parent(s): 25cdc80

Update CodeSearchNet data file URLs

Browse files
Files changed (1) hide show
  1. code_x_glue_ct_code_to_text.py +1 -1
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://s3.amazonaws.com/code-search-net/CodeSearchNet/v2/{language}.zip"
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):