Datasets:
saattrupdan
commited on
Commit
•
ec2531c
1
Parent(s):
8ad09d9
chore: Change "example_id" column to "id"
Browse files- data/da/test.jsonl +2 -2
- data/da/train.jsonl +2 -2
- data/da/val.jsonl +2 -2
- data/no/test.jsonl +2 -2
- data/no/train.jsonl +2 -2
- data/no/val.jsonl +2 -2
- data/sv/test.jsonl +2 -2
- data/sv/train.jsonl +2 -2
- data/sv/val.jsonl +2 -2
- scandiqa.py +2 -2
data/da/test.jsonl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e9b36b6284fc47e754bdd6d14fbb5bec43343ab08baafc346eec44992875a5df
|
3 |
+
size 1264977
|
data/da/train.jsonl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1fb4b26cb220ce3ef393c5f2adb2e36d1ddc0405cbe43cc60ebb32a70a3973c5
|
3 |
+
size 20644842
|
data/da/val.jsonl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4e88572090137d3104a20a533c4564c4b1fa0153f3552ef3dec5516899702a59
|
3 |
+
size 1581921
|
data/no/test.jsonl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:027c50f4c5366eb3dcb7df4c1e7bf2bdaadfa14c10247bea38fc6e4b0bf2ca60
|
3 |
+
size 1254408
|
data/no/train.jsonl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:044bd545777925aeeaf6f0493be2754ea75f2e2d6de00cf63be13c072f186b48
|
3 |
+
size 20488702
|
data/no/val.jsonl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4ac1b3d644d807df743a5f9bb017ad01725fcbb3b0e83df09f87e036cb50117e
|
3 |
+
size 1573053
|
data/sv/test.jsonl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7346db84dbd2ac427306d17f8f34877fcae4e76023153c3de6418802756ea9f5
|
3 |
+
size 1290162
|
data/sv/train.jsonl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ef06f14a483180d44d063409531632957c9425d136fc0f663edc5209a133ed1c
|
3 |
+
size 20894559
|
data/sv/val.jsonl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:73f07ae78a46ac68e0c905d97268c3b4fcf93a2e6f83db01cd6691ba5553e060
|
3 |
+
size 1603615
|
scandiqa.py
CHANGED
@@ -112,7 +112,7 @@ class ScandiQA(GeneratorBasedBuilder):
|
|
112 |
def _info(self) -> DatasetInfo:
|
113 |
features = Features(
|
114 |
{
|
115 |
-
"
|
116 |
"question": Value("string"),
|
117 |
"answers": {
|
118 |
"text": [Value("string")],
|
@@ -167,7 +167,7 @@ class ScandiQA(GeneratorBasedBuilder):
|
|
167 |
for key, row in enumerate(f):
|
168 |
data = json.loads(row)
|
169 |
yield key, {
|
170 |
-
"
|
171 |
"question": data["question"],
|
172 |
"answers": {
|
173 |
"text": [data["answer"]],
|
|
|
112 |
def _info(self) -> DatasetInfo:
|
113 |
features = Features(
|
114 |
{
|
115 |
+
"id": Value("int64"),
|
116 |
"question": Value("string"),
|
117 |
"answers": {
|
118 |
"text": [Value("string")],
|
|
|
167 |
for key, row in enumerate(f):
|
168 |
data = json.loads(row)
|
169 |
yield key, {
|
170 |
+
"id": data["id"],
|
171 |
"question": data["question"],
|
172 |
"answers": {
|
173 |
"text": [data["answer"]],
|