Commit
•
3f40356
1
Parent(s):
b26b1f5
Update loading script
Browse files- code_search_net.py +2 -2
code_search_net.py
CHANGED
@@ -49,9 +49,9 @@ _HOMEPAGE = "https://github.com/github/CodeSearchNet"
|
|
49 |
|
50 |
_LICENSE = "Various"
|
51 |
|
52 |
-
|
53 |
_AVAILABLE_LANGUAGES = ["python", "java", "javascript", "go", "ruby", "php"]
|
54 |
-
_URLs = {language:
|
55 |
# URLs for "all" are just the concatenation of URLs for all languages
|
56 |
_URLs["all"] = _URLs.copy()
|
57 |
|
|
|
49 |
|
50 |
_LICENSE = "Various"
|
51 |
|
52 |
+
_DATA_DIR_URL = "data/"
|
53 |
_AVAILABLE_LANGUAGES = ["python", "java", "javascript", "go", "ruby", "php"]
|
54 |
+
_URLs = {language: _DATA_DIR_URL + f"{language}.zip" for language in _AVAILABLE_LANGUAGES}
|
55 |
# URLs for "all" are just the concatenation of URLs for all languages
|
56 |
_URLs["all"] = _URLs.copy()
|
57 |
|