shuttie commited on
Commit
c092c89
1 Parent(s): 6f68518

rename pos to doc

Browse files
README.md CHANGED
@@ -16,7 +16,7 @@ dataset_info:
16
  features:
17
  - name: query
18
  dtype: string
19
- - name: pos
20
  dtype: string
21
  - name: neg
22
  sequence: string
 
16
  features:
17
  - name: query
18
  dtype: string
19
+ - name: doc
20
  dtype: string
21
  - name: neg
22
  sequence: string
convert.py CHANGED
@@ -60,7 +60,7 @@ def save_json(df: pl.DataFrame, path: str):
60
  negscore.append(score)
61
  for p in pos:
62
  line = json.dumps(
63
- {"query": query, "pos": p, "neg": neg, "negscore": negscore}
64
  )
65
  f.write(line + "\n")
66
 
 
60
  negscore.append(score)
61
  for p in pos:
62
  line = json.dumps(
63
+ {"query": query, "doc": p, "neg": neg, "negscore": negscore}
64
  )
65
  f.write(line + "\n")
66
 
data/test/test.jsonl.zst CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bdf6619caa009db3941e62cd84da9cd43081a5844ea2c8f32de8a765b958d93e
3
- size 73921476
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ede7f2ed1e45a1563bdea8d8e96184c4dd5eb585af0856b2268bc82e37124087
3
+ size 74090223
data/test_1k/{test.json.zst → test.jsonl.zst} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b1e7ba00e480d7b467efa4ab2d0eb6c80dd4f4148135891bbc2981ab32ca7b02
3
- size 949594
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1b24c9c479a5029be8c7a24f45be67f3bea758b3d3b9b4ebd39ad277f361287b
3
+ size 951333
data/train/train.jsonl.zst CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e1d94c8b841f4e33a71ba9c0be527e651a16e8f94c02ad1fe60913ba3dfebe97
3
- size 172057396
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:778062bc4997961873057ba7c565205f9cc3aedab6481923b25353c1ea97c736
3
+ size 172493509