Datasets:
Tasks:
Question Answering
Modalities:
Text
Sub-tasks:
extractive-qa
Languages:
code
Size:
100K - 1M
License:
Refactor data load script
Browse files- codequeries.py +2 -1
codequeries.py
CHANGED
@@ -51,7 +51,7 @@ CodeQueries Twostep setup."""
|
|
51 |
class CodequeriesConfig(datasets.BuilderConfig):
|
52 |
"""BuilderConfig for Codequeries."""
|
53 |
|
54 |
-
def __init__(self, features, citation, url, **kwargs):
|
55 |
"""BuilderConfig for Codequeries.
|
56 |
|
57 |
Args:
|
@@ -65,6 +65,7 @@ class CodequeriesConfig(datasets.BuilderConfig):
|
|
65 |
super(CodequeriesConfig, self).__init__(version=datasets.Version("1.0.0"), **kwargs)
|
66 |
self.features = features
|
67 |
self.citation = citation
|
|
|
68 |
self.url = url
|
69 |
|
70 |
|
|
|
51 |
class CodequeriesConfig(datasets.BuilderConfig):
|
52 |
"""BuilderConfig for Codequeries."""
|
53 |
|
54 |
+
def __init__(self, features, citation, data_url, url, **kwargs):
|
55 |
"""BuilderConfig for Codequeries.
|
56 |
|
57 |
Args:
|
|
|
65 |
super(CodequeriesConfig, self).__init__(version=datasets.Version("1.0.0"), **kwargs)
|
66 |
self.features = features
|
67 |
self.citation = citation
|
68 |
+
self.data_url = data_url
|
69 |
self.url = url
|
70 |
|
71 |
|