Commit
•
b728d77
1
Parent(s):
aa966aa
Update loading script
Browse files
code_x_glue_cc_code_completion_token.py
CHANGED
@@ -52,7 +52,7 @@ class CodeXGlueCcCodeCompletionTokenJavaImpl(CodeXGlueCcCodeCompletionTokenImpl)
|
|
52 |
if language != "java":
|
53 |
raise RuntimeError(f"Unknown language {language}: should be java.")
|
54 |
|
55 |
-
yield "data", f"https://
|
56 |
|
57 |
def _generate_examples(self, split_name, file_paths):
|
58 |
with open(file_paths["data"], encoding="utf-8") as f:
|
|
|
52 |
if language != "java":
|
53 |
raise RuntimeError(f"Unknown language {language}: should be java.")
|
54 |
|
55 |
+
yield "data", f"https://huggingface.co/datasets/code_x_glue_cc_code_completion_token/resolve/main/data/java/java_{split_name}_pre"
|
56 |
|
57 |
def _generate_examples(self, split_name, file_paths):
|
58 |
with open(file_paths["data"], encoding="utf-8") as f:
|