Datasets:
Tasks:
Text Retrieval
Modalities:
Text
Sub-tasks:
document-retrieval
Languages:
code
Size:
100K - 1M
ArXiv:
License:
update all the data with LFS
Browse files- data/java_cfr.gz +3 -0
- data/python_cff.gz +3 -0
- data/python_cfr.gz +3 -0
- repobench-r.py +14 -7
data/java_cfr.gz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f99edc74853104f4223e4b1950371ea129ce5f3e80a1e031ebe1febae4cf302a
|
3 |
+
size 199557716
|
data/python_cff.gz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3ccc13b41807e0612150b3e7b79f4083cfd184eef15c04995055ac3672b3d340
|
3 |
+
size 146535986
|
data/python_cfr.gz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1f83ca53ee2f06620d1fd357898b3a936ea8a8adac91c4d68176db1a680824c7
|
3 |
+
size 101396690
|
repobench-r.py
CHANGED
@@ -42,12 +42,12 @@ _HOMEPAGE = "https://github.com/Leolty/repobench"
|
|
42 |
|
43 |
_LICENSE = "Apache License 2.0"
|
44 |
|
45 |
-
_URLs = {
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
}
|
51 |
|
52 |
# _URLs = {
|
53 |
# "java-cff": "https://drive.google.com/file/d/1IJMQubP-74foQfF-hviFwfkvBf4rzRrN/view?usp=drive_link",
|
@@ -56,6 +56,13 @@ _URLs = {
|
|
56 |
# "python-cfr": "https://drive.google.com/file/d/1Bg_NQ00m0KCZ6KAtJ3v0cpzsWLj0HwKN/view?usp=drive_link"
|
57 |
# }
|
58 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
|
60 |
|
61 |
class RepoBenchR(datasets.GeneratorBasedBuilder):
|
@@ -121,7 +128,7 @@ class RepoBenchR(datasets.GeneratorBasedBuilder):
|
|
121 |
def _split_generators(self, dl_manager):
|
122 |
"""Returns SplitGenerators."""
|
123 |
config_urls = _URLs[self.config.name]
|
124 |
-
data_dir =
|
125 |
|
126 |
return [
|
127 |
datasets.SplitGenerator(
|
|
|
42 |
|
43 |
_LICENSE = "Apache License 2.0"
|
44 |
|
45 |
+
# _URLs = {
|
46 |
+
# "java-cff": "https://drive.google.com/uc?export=download&id=1IJMQubP-74foQfF-hviFwfkvBf4rzRrN",
|
47 |
+
# "java-cfr": "https://drive.google.com/uc?export=download&id=1zJGLhzA4am1aXErp4KDrL5m2nqwxZhGp",
|
48 |
+
# "python-cff": "https://drive.google.com/uc?export=download&id=1RxF0BfmfdkQ5gTOVaCKzbmwjVRdZYUw4",
|
49 |
+
# "python-cfr": "https://drive.google.com/uc?export=download&id=1Bg_NQ00m0KCZ6KAtJ3v0cpzsWLj0HwKN"
|
50 |
+
# }
|
51 |
|
52 |
# _URLs = {
|
53 |
# "java-cff": "https://drive.google.com/file/d/1IJMQubP-74foQfF-hviFwfkvBf4rzRrN/view?usp=drive_link",
|
|
|
56 |
# "python-cfr": "https://drive.google.com/file/d/1Bg_NQ00m0KCZ6KAtJ3v0cpzsWLj0HwKN/view?usp=drive_link"
|
57 |
# }
|
58 |
|
59 |
+
_URLs = {
|
60 |
+
"java-cff": "./data/java-cff.gz",
|
61 |
+
"java-cfr": "./data/java-cfr.gz",
|
62 |
+
"python-cff": "./data/python-cff.gz",
|
63 |
+
"python-cfr": "./data/python-cfr.gz"
|
64 |
+
}
|
65 |
+
|
66 |
|
67 |
|
68 |
class RepoBenchR(datasets.GeneratorBasedBuilder):
|
|
|
128 |
def _split_generators(self, dl_manager):
|
129 |
"""Returns SplitGenerators."""
|
130 |
config_urls = _URLs[self.config.name]
|
131 |
+
data_dir = config_urls
|
132 |
|
133 |
return [
|
134 |
datasets.SplitGenerator(
|