parquet-converter commited on
Commit
6839066
·
1 Parent(s): e08ed82

Update parquet files

Browse files
.gitattributes DELETED
@@ -1,38 +0,0 @@
1
- *.7z filter=lfs diff=lfs merge=lfs -text
2
- *.arrow filter=lfs diff=lfs merge=lfs -text
3
- *.bin filter=lfs diff=lfs merge=lfs -text
4
- *.bin.* filter=lfs diff=lfs merge=lfs -text
5
- *.bz2 filter=lfs diff=lfs merge=lfs -text
6
- *.ftz filter=lfs diff=lfs merge=lfs -text
7
- *.gz filter=lfs diff=lfs merge=lfs -text
8
- *.h5 filter=lfs diff=lfs merge=lfs -text
9
- *.joblib filter=lfs diff=lfs merge=lfs -text
10
- *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
- *.model filter=lfs diff=lfs merge=lfs -text
12
- *.msgpack filter=lfs diff=lfs merge=lfs -text
13
- *.onnx filter=lfs diff=lfs merge=lfs -text
14
- *.ot filter=lfs diff=lfs merge=lfs -text
15
- *.parquet filter=lfs diff=lfs merge=lfs -text
16
- *.pb filter=lfs diff=lfs merge=lfs -text
17
- *.pt filter=lfs diff=lfs merge=lfs -text
18
- *.pth filter=lfs diff=lfs merge=lfs -text
19
- *.rar filter=lfs diff=lfs merge=lfs -text
20
- saved_model/**/* filter=lfs diff=lfs merge=lfs -text
21
- *.tar.* filter=lfs diff=lfs merge=lfs -text
22
- *.tflite filter=lfs diff=lfs merge=lfs -text
23
- *.tgz filter=lfs diff=lfs merge=lfs -text
24
- *.xz filter=lfs diff=lfs merge=lfs -text
25
- *.zip filter=lfs diff=lfs merge=lfs -text
26
- *.zstandard filter=lfs diff=lfs merge=lfs -text
27
- *tfevents* filter=lfs diff=lfs merge=lfs -text
28
- # Audio files - uncompressed
29
- *.pcm filter=lfs diff=lfs merge=lfs -text
30
- *.sam filter=lfs diff=lfs merge=lfs -text
31
- *.raw filter=lfs diff=lfs merge=lfs -text
32
- # Audio files - compressed
33
- *.aac filter=lfs diff=lfs merge=lfs -text
34
- *.flac filter=lfs diff=lfs merge=lfs -text
35
- *.mp3 filter=lfs diff=lfs merge=lfs -text
36
- *.ogg filter=lfs diff=lfs merge=lfs -text
37
- *.wav filter=lfs diff=lfs merge=lfs -text
38
- train.jsonl filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
README.md DELETED
@@ -1,5 +0,0 @@
1
- # Glue QNLI
2
-
3
- This dataset is a port of the official [`qnli` dataset](https://huggingface.co/datasets/glue/viewer/qnli/train) on the Hub.
4
- Note that the question and sentence columns have been renamed to text1 and text2 respectively.
5
- Also, the test split is not labeled; the label column values are always -1.
 
 
 
 
 
 
train.jsonl → SetFit--qnli/json-test.parquet RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9dc5d6276c1f71b43817377d8eb9dc3e751dd9e881b1189442c09646e554140b
3
- size 31397368
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:92a99a1aa092e4bb57435a032ded09b7ed63bb949934b145a8fc24f7e05dccd7
3
+ size 879308
SetFit--qnli/json-train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9121b91651197a996fe18bd9976ecdababfff37e85c1d78b246d0c23ba678ffb
3
+ size 17585372
SetFit--qnli/json-validation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:20c147289e8136b65665b1aca91db2b2fb21076962a137c56669b23d25aee7ed
3
+ size 874958
create_dataset.py DELETED
@@ -1,23 +0,0 @@
1
- from datasets import load_dataset
2
-
3
-
4
- def main():
5
- raw_dset = load_dataset("glue", "qnli")
6
- raw_dset = raw_dset.rename_column("question", "text1")
7
- raw_dset = raw_dset.rename_column("sentence", "text2")
8
- text_labs = ["entailment", "not entailment"]
9
-
10
- for split, dset in raw_dset.items():
11
- label_text = []
12
- for i in dset["label"]:
13
- if i >= 0:
14
- label_text.append(text_labs[i])
15
- else:
16
- label_text.append("unlabeled")
17
- dset = dset.add_column("label_text", label_text)
18
- dset.to_json(f"{split}.jsonl")
19
-
20
-
21
- if __name__ == "__main__":
22
- main()
23
- print("Job's done!")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
test.jsonl DELETED
The diff for this file is too large to render. See raw diff
 
validation.jsonl DELETED
The diff for this file is too large to render. See raw diff