autotrain-data-processor commited on
Commit
966195a
1 Parent(s): 9e2005e

Processed data from AutoTrain data processor ([2023-07-26 22:00 ]

Browse files
README.md ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+
5
+ ---
6
+ # AutoTrain Dataset for project: legal-data
7
+
8
+ ## Dataset Description
9
+
10
+ This dataset has been automatically processed by AutoTrain for project legal-data.
11
+
12
+ ### Languages
13
+
14
+ The BCP-47 code for the dataset's language is en.
15
+
16
+ ## Dataset Structure
17
+
18
+ ### Data Instances
19
+
20
+ A sample from this dataset looks as follows:
21
+
22
+ ```json
23
+ [
24
+ {
25
+ "context": "Merely opening the door to a police\nofficer does not constitute consent to entry and\nsearch. Thus, whatever such a search turns\nup would be inadmissible in evidence. Of\ncourse, if contraband or evidence of a crime is\nin \u201cplain view\u201d from the doorway, the officer\nmay seize it.",
26
+ "question": "If I agree to open my door to talk\nto a police officer, and the officer\nenters without my permission\nand searches, is the search valid?",
27
+ "answers.text": [
28
+ "No. Merely opening the door to a police\nofficer does not constitute consent to entry and\nsearch. Thus, whatever such a search turns\nup would be inadmissible in evidence. Of\ncourse, if contraband or evidence of a crime is\nin \u201cplain view\u201d from the doorway, the officer\nmay seize it. (See Section IV, below.)"
29
+ ],
30
+ "answers.answer_start": [
31
+ 0
32
+ ]
33
+ },
34
+ {
35
+ "context": "Most people\ninstinctively understand the concept of\nprivacy. It is the freedom to decide which\ndetails of your life shall be revealed to the\npublic and which shall be revealed only\nto those you care to share them with. To\nhonor this freedom, the Fourth Amendment\nprotects against \u201cunreasonable\u201d searches\nand seizures by state or federal law\nenforcement authorities. However, the\nFourth Amendment does not protect against\nsearches initiated by nongovernmental\npeople, such as employers, landlords, and\nprivate security personnel, unless the search\nis made at the behest of a law enforcement\nauthority.",
36
+ "question": "What are the search and seizure\nprovisions of the Fourth Amendment\nall about?",
37
+ "answers.text": [
38
+ "They are about privacy."
39
+ ],
40
+ "answers.answer_start": [
41
+ 0
42
+ ]
43
+ }
44
+ ]
45
+ ```
46
+
47
+ ### Dataset Fields
48
+
49
+ The dataset has the following fields (also called "features"):
50
+
51
+ ```json
52
+ {
53
+ "context": "Value(dtype='string', id=None)",
54
+ "question": "Value(dtype='string', id=None)",
55
+ "answers.text": "Sequence(feature=Value(dtype='string', id=None), length=-1, id=None)",
56
+ "answers.answer_start": "Sequence(feature=Value(dtype='int32', id=None), length=-1, id=None)"
57
+ }
58
+ ```
59
+
60
+ ### Dataset Splits
61
+
62
+ This dataset is split into a train and validation split. The split sizes are as follow:
63
+
64
+ | Split name | Num samples |
65
+ | ------------ | ------------------- |
66
+ | train | 40 |
67
+ | valid | 10 |
processed/dataset_dict.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"splits": ["train", "valid"]}
processed/train/data-00000-of-00001.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:05901b2a6cc406a2cf87a19ee5d231caff3c081bc921003bf4c73cc7de45ddeb
3
+ size 34104
processed/train/dataset_info.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "citation": "",
3
+ "description": "AutoTrain generated dataset",
4
+ "features": {
5
+ "context": {
6
+ "dtype": "string",
7
+ "_type": "Value"
8
+ },
9
+ "question": {
10
+ "dtype": "string",
11
+ "_type": "Value"
12
+ },
13
+ "answers.text": {
14
+ "feature": {
15
+ "dtype": "string",
16
+ "_type": "Value"
17
+ },
18
+ "_type": "Sequence"
19
+ },
20
+ "answers.answer_start": {
21
+ "feature": {
22
+ "dtype": "int32",
23
+ "_type": "Value"
24
+ },
25
+ "_type": "Sequence"
26
+ }
27
+ },
28
+ "homepage": "",
29
+ "license": "",
30
+ "splits": {
31
+ "train": {
32
+ "name": "train",
33
+ "num_bytes": 32862,
34
+ "num_examples": 40,
35
+ "dataset_name": null
36
+ }
37
+ }
38
+ }
processed/train/state.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_data_files": [
3
+ {
4
+ "filename": "data-00000-of-00001.arrow"
5
+ }
6
+ ],
7
+ "_fingerprint": "a5bf87261672dcbc",
8
+ "_format_columns": [
9
+ "answers.answer_start",
10
+ "answers.text",
11
+ "context",
12
+ "question"
13
+ ],
14
+ "_format_kwargs": {},
15
+ "_format_type": null,
16
+ "_output_all_columns": false,
17
+ "_split": null
18
+ }
processed/valid/data-00000-of-00001.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8b0a2f4832ee4e18ad417be681d90dcf4acc1873d902cdd3752d76fef1b58bac
3
+ size 11256
processed/valid/dataset_info.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "citation": "",
3
+ "description": "AutoTrain generated dataset",
4
+ "features": {
5
+ "context": {
6
+ "dtype": "string",
7
+ "_type": "Value"
8
+ },
9
+ "question": {
10
+ "dtype": "string",
11
+ "_type": "Value"
12
+ },
13
+ "answers.text": {
14
+ "feature": {
15
+ "dtype": "string",
16
+ "_type": "Value"
17
+ },
18
+ "_type": "Sequence"
19
+ },
20
+ "answers.answer_start": {
21
+ "feature": {
22
+ "dtype": "int32",
23
+ "_type": "Value"
24
+ },
25
+ "_type": "Sequence"
26
+ }
27
+ },
28
+ "homepage": "",
29
+ "license": "",
30
+ "splits": {
31
+ "valid": {
32
+ "name": "valid",
33
+ "num_bytes": 10010,
34
+ "num_examples": 10,
35
+ "dataset_name": null
36
+ }
37
+ }
38
+ }
processed/valid/state.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_data_files": [
3
+ {
4
+ "filename": "data-00000-of-00001.arrow"
5
+ }
6
+ ],
7
+ "_fingerprint": "00af001c7f3133ca",
8
+ "_format_columns": [
9
+ "answers.answer_start",
10
+ "answers.text",
11
+ "context",
12
+ "question"
13
+ ],
14
+ "_format_kwargs": {},
15
+ "_format_type": null,
16
+ "_output_all_columns": false,
17
+ "_split": null
18
+ }