qasrl.org rehosted at github
Browse files
qanom.py
CHANGED
|
@@ -71,7 +71,7 @@ SOFTWARE."""
|
|
| 71 |
|
| 72 |
_URLs = {
|
| 73 |
"qanom_csv": "https://github.com/kleinay/QANom/raw/master/qanom_dataset.zip",
|
| 74 |
-
"qanom_jsonl": "https://qasrl.org/data/qanom.tar"
|
| 75 |
}
|
| 76 |
|
| 77 |
SpanFeatureType = datasets.Sequence(datasets.Value("int32"), length=2)
|
|
@@ -154,7 +154,7 @@ class Qanom(datasets.GeneratorBasedBuilder):
|
|
| 154 |
verb_map[inf] = {"Stem" : stem, "PresentSingular3rd" : presentsingular3rd, "PresentParticiple":presentparticiple, "Past":past, "PastParticiple":pastparticiple}
|
| 155 |
self.verb_inflections = verb_map
|
| 156 |
|
| 157 |
-
def _split_generators(self, dl_manager
|
| 158 |
"""Returns SplitGenerators."""
|
| 159 |
|
| 160 |
assert self.config.load_from in ("csv", "jsonl")
|
|
|
|
| 71 |
|
| 72 |
_URLs = {
|
| 73 |
"qanom_csv": "https://github.com/kleinay/QANom/raw/master/qanom_dataset.zip",
|
| 74 |
+
"qanom_jsonl": "https://github.com/julianmichael/qasrl.org/raw/refs/heads/master/data/qanom.tar"
|
| 75 |
}
|
| 76 |
|
| 77 |
SpanFeatureType = datasets.Sequence(datasets.Value("int32"), length=2)
|
|
|
|
| 154 |
verb_map[inf] = {"Stem" : stem, "PresentSingular3rd" : presentsingular3rd, "PresentParticiple":presentparticiple, "Past":past, "PastParticiple":pastparticiple}
|
| 155 |
self.verb_inflections = verb_map
|
| 156 |
|
| 157 |
+
def _split_generators(self, dl_manager):
|
| 158 |
"""Returns SplitGenerators."""
|
| 159 |
|
| 160 |
assert self.config.load_from in ("csv", "jsonl")
|