saattrupdan commited on
Commit
ec2531c
1 Parent(s): 8ad09d9

chore: Change "example_id" column to "id"

Browse files
data/da/test.jsonl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:330a233979bacba3ec86cf46f05cbd998f7aa4e97043bfbe28a31b89ea0fce47
3
- size 1268977
 
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:b276686c54e8f29140b35209cb5735a283cdad5d0255e0a2c368e1f4c7611297
3
- size 20699322
 
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:93402d8923619b5a4eaea388011ff6201b1023bf89d6abe0e975f0cd95b5f7d0
3
- size 1585921
 
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:5c8ef583fc46ba1a478e81fabab2cbe18244cb268452465f922a6ad3e6cd2f46
3
- size 1258408
 
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:96aaed36d8c630789accbb6ff6cc08c679f55f98594cb8ddee00b6cc6de56cf5
3
- size 20543206
 
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:e65e233223ce1b6b2aaddfdbb05db15433ada00bb73344cae18bae3add254696
3
- size 1577053
 
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:ee226eb216ec0cfc913851dff712bc1fad087bac6e13b64355f99fff9650d88d
3
- size 1294162
 
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:ae8fd6f7392a201e6f509b044164e95899721910edb257993c21310072544124
3
- size 20948943
 
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:96c63fa0529e2e5babcdcca7d4581825c2ddf2ccb2deb96a7d79809dc32667fa
3
- size 1607615
 
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
- "example_id": Value("int64"),
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
- "example_id": data["example_id"],
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"]],