lewtun HF staff commited on
Commit
4b67092
1 Parent(s): 6924232

Fix column names

Browse files
Files changed (4) hide show
  1. create_dataset.py +1 -1
  2. test.jsonl +2 -2
  3. train.jsonl +2 -2
  4. 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:94bcc69bf6d448ad330c08dfead52a6db30210d10d33c0532adefa7a2c27c5c9
3
- size 33095777
 
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:4bcf1456597240670eb98dd16e2cd1293cb8a054f217fe5bffac67291b432fc6
3
- size 33880437
 
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:6306b20c5e6487539318b75949aae97158fe988f3b4afc4629573559134456b6
3
- size 68056298
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a35594e485b2fd77907888d3093649a109caf2db63a3178971d2f2417c752af3
3
+ size 69306298