rename pos to doc
Browse files- README.md +1 -1
- convert.py +1 -1
- data/test/test.jsonl.zst +2 -2
- data/test_1k/{test.json.zst → test.jsonl.zst} +2 -2
- data/train/train.jsonl.zst +2 -2
README.md
CHANGED
@@ -16,7 +16,7 @@ dataset_info:
|
|
16 |
features:
|
17 |
- name: query
|
18 |
dtype: string
|
19 |
-
- name:
|
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, "
|
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:
|
3 |
-
size
|
|
|
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:
|
3 |
-
size
|
|
|
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:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:778062bc4997961873057ba7c565205f9cc3aedab6481923b25353c1ea97c736
|
3 |
+
size 172493509
|