Fix column names
Browse files- create_dataset.py +1 -1
- test.jsonl +2 -2
- train.jsonl +2 -2
- unsupervised.jsonl +2 -2
create_dataset.py
CHANGED
@@ -6,7 +6,7 @@ def main():
|
|
6 |
imdb = load_dataset("imdb")
|
7 |
|
8 |
for split, dset in imdb.items():
|
9 |
-
dset.map(lambda x: {"label_text": id2label[x["label"]]})
|
10 |
dset.to_json(f"{split}.jsonl")
|
11 |
|
12 |
|
|
|
6 |
imdb = load_dataset("imdb")
|
7 |
|
8 |
for split, dset in imdb.items():
|
9 |
+
dset = dset.map(lambda x: {"label_text": id2label[x["label"]]})
|
10 |
dset.to_json(f"{split}.jsonl")
|
11 |
|
12 |
|
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:08f34114b6526921dc6b776d83e9abc6f7536167837b8b94a86caeb29f963ce5
|
3 |
+
size 33695777
|
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:78b224e93370985ecc44040aa8016c7520bd595b468800101de14c3775ba75c4
|
3 |
+
size 34480437
|
unsupervised.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:a35594e485b2fd77907888d3093649a109caf2db63a3178971d2f2417c752af3
|
3 |
+
size 69306298
|