Fix column names
Browse files- create_dataset.py +1 -1
- test.jsonl +2 -2
- train.jsonl +2 -2
create_dataset.py
CHANGED
@@ -7,7 +7,7 @@ def main():
|
|
7 |
|
8 |
for split, dset in raw_dset.items():
|
9 |
dset = dset.rename_column("content", "text")
|
10 |
-
dset.map(lambda x: {"label_text": id2label[x["label"]]}, num_proc=4)
|
11 |
dset.to_json(f"{split}.jsonl")
|
12 |
|
13 |
|
|
|
7 |
|
8 |
for split, dset in raw_dset.items():
|
9 |
dset = dset.rename_column("content", "text")
|
10 |
+
dset = dset.map(lambda x: {"label_text": id2label[x["label"]]}, num_proc=4)
|
11 |
dset.to_json(f"{split}.jsonl")
|
12 |
|
13 |
|
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:7d7c7ae16ef0ffe6e5922ad70ab0804cecfc78a30d161dcd9f0925eab09969e6
|
3 |
+
size 194906281
|
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:f496be682ca2302ee2a050a9ceb1d760fc4ffea5985e811d4054dfdf546ba323
|
3 |
+
size 1754925289
|