qasrl.org rehosted at github
Browse files- qa_srl2020.py +2 -2
qa_srl2020.py
CHANGED
|
@@ -83,7 +83,7 @@ _URLs = {
|
|
| 83 |
"wikipedia.test": "https://github.com/plroit/qasrl-gs/raw/master/data/gold/wikipedia.test.gold.csv",
|
| 84 |
},
|
| 85 |
},
|
| 86 |
-
"jsonl": "https://qasrl.org/data/qasrl-gs.tar"
|
| 87 |
}
|
| 88 |
|
| 89 |
SpanFeatureType = datasets.Sequence(datasets.Value("int32"), length=2)
|
|
@@ -171,7 +171,7 @@ class QaSrl2020(datasets.GeneratorBasedBuilder):
|
|
| 171 |
verb_map[inf] = {"Stem" : stem, "PresentSingular3rd" : presentsingular3rd, "PresentParticiple":presentparticiple, "Past":past, "PastParticiple":pastparticiple}
|
| 172 |
self.verb_inflections = verb_map
|
| 173 |
|
| 174 |
-
def _split_generators(self, dl_manager
|
| 175 |
"""Returns SplitGenerators."""
|
| 176 |
assert self.config.load_from in ("csv", "jsonl")
|
| 177 |
|
|
|
|
| 83 |
"wikipedia.test": "https://github.com/plroit/qasrl-gs/raw/master/data/gold/wikipedia.test.gold.csv",
|
| 84 |
},
|
| 85 |
},
|
| 86 |
+
"jsonl": "https://github.com/julianmichael/qasrl.org/raw/refs/heads/master/data/qasrl-gs.tar"
|
| 87 |
}
|
| 88 |
|
| 89 |
SpanFeatureType = datasets.Sequence(datasets.Value("int32"), length=2)
|
|
|
|
| 171 |
verb_map[inf] = {"Stem" : stem, "PresentSingular3rd" : presentsingular3rd, "PresentParticiple":presentparticiple, "Past":past, "PastParticiple":pastparticiple}
|
| 172 |
self.verb_inflections = verb_map
|
| 173 |
|
| 174 |
+
def _split_generators(self, dl_manager):
|
| 175 |
"""Returns SplitGenerators."""
|
| 176 |
assert self.config.load_from in ("csv", "jsonl")
|
| 177 |
|