Datasets:
Tasks:
Text Classification
Modalities:
Text
Sub-tasks:
multi-class-classification
Languages:
Korean
Size:
100K - 1M
License:
parquet-converter
commited on
Commit
โข
0bbe222
1
Parent(s):
cc77aed
Update parquet files
Browse files- .gitattributes +0 -54
- KLAID.py +0 -100
- LICENSE.cc-by-nc-nd-4.0 +0 -319
- README.md +0 -93
- ljp/klaid-train.parquet +3 -0
.gitattributes
DELETED
@@ -1,54 +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 |
-
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
5 |
-
*.ckpt 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 |
-
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
12 |
-
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
13 |
-
*.model filter=lfs diff=lfs merge=lfs -text
|
14 |
-
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
15 |
-
*.npy filter=lfs diff=lfs merge=lfs -text
|
16 |
-
*.npz filter=lfs diff=lfs merge=lfs -text
|
17 |
-
*.onnx filter=lfs diff=lfs merge=lfs -text
|
18 |
-
*.ot filter=lfs diff=lfs merge=lfs -text
|
19 |
-
*.parquet filter=lfs diff=lfs merge=lfs -text
|
20 |
-
*.pb filter=lfs diff=lfs merge=lfs -text
|
21 |
-
*.pickle filter=lfs diff=lfs merge=lfs -text
|
22 |
-
*.pkl filter=lfs diff=lfs merge=lfs -text
|
23 |
-
*.pt filter=lfs diff=lfs merge=lfs -text
|
24 |
-
*.pth filter=lfs diff=lfs merge=lfs -text
|
25 |
-
*.rar filter=lfs diff=lfs merge=lfs -text
|
26 |
-
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
27 |
-
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
28 |
-
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
29 |
-
*.tflite filter=lfs diff=lfs merge=lfs -text
|
30 |
-
*.tgz filter=lfs diff=lfs merge=lfs -text
|
31 |
-
*.wasm filter=lfs diff=lfs merge=lfs -text
|
32 |
-
*.xz filter=lfs diff=lfs merge=lfs -text
|
33 |
-
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
-
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
-
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
-
# Audio files - uncompressed
|
37 |
-
*.pcm filter=lfs diff=lfs merge=lfs -text
|
38 |
-
*.sam filter=lfs diff=lfs merge=lfs -text
|
39 |
-
*.raw filter=lfs diff=lfs merge=lfs -text
|
40 |
-
# Audio files - compressed
|
41 |
-
*.aac filter=lfs diff=lfs merge=lfs -text
|
42 |
-
*.flac filter=lfs diff=lfs merge=lfs -text
|
43 |
-
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
44 |
-
*.ogg filter=lfs diff=lfs merge=lfs -text
|
45 |
-
*.wav filter=lfs diff=lfs merge=lfs -text
|
46 |
-
# Image files - uncompressed
|
47 |
-
*.bmp filter=lfs diff=lfs merge=lfs -text
|
48 |
-
*.gif filter=lfs diff=lfs merge=lfs -text
|
49 |
-
*.png filter=lfs diff=lfs merge=lfs -text
|
50 |
-
*.tiff filter=lfs diff=lfs merge=lfs -text
|
51 |
-
# Image files - compressed
|
52 |
-
*.jpg filter=lfs diff=lfs merge=lfs -text
|
53 |
-
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
54 |
-
*.webp filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
KLAID.py
DELETED
@@ -1,100 +0,0 @@
|
|
1 |
-
# coding=utf-8
|
2 |
-
# Copyright 2020 The HuggingFace Datasets Authors and the current dataset script contributor.
|
3 |
-
#
|
4 |
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
5 |
-
# you may not use this file except in compliance with the License.
|
6 |
-
# You may obtain a copy of the License at
|
7 |
-
#
|
8 |
-
# http://www.apache.org/licenses/LICENSE-2.0
|
9 |
-
#
|
10 |
-
# Unless required by applicable law or agreed to in writing, software
|
11 |
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
12 |
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13 |
-
# See the License for the specific language governing permissions and
|
14 |
-
# limitations under the License.
|
15 |
-
|
16 |
-
"""KLAID (Korean Legal Artificial Intelligence Datasets) benchmark."""
|
17 |
-
|
18 |
-
import json
|
19 |
-
|
20 |
-
import datasets
|
21 |
-
|
22 |
-
_KLAID_DESCRIPTION = """\
|
23 |
-
KLAID (Korean Legal Artificial Intelligence Datasets) is a dataset for the development of Korean legal artificial intelligence technology. This time we offer 1 task, which is legal judgment prediction(LJP).
|
24 |
-
"""
|
25 |
-
|
26 |
-
_DATA_USRs = {
|
27 |
-
"ljp": "https://storage.googleapis.com/klaid/ljp/dataset/",
|
28 |
-
}
|
29 |
-
|
30 |
-
_LICENSE = "CC-BY-NC-ND-4.0"
|
31 |
-
|
32 |
-
class Klaid_Config(datasets.BuilderConfig):
|
33 |
-
"""BuilderConfig for KLAID"""
|
34 |
-
|
35 |
-
def __init__(
|
36 |
-
self,
|
37 |
-
features,
|
38 |
-
data_url,
|
39 |
-
url,
|
40 |
-
file_map,
|
41 |
-
**kwargs,
|
42 |
-
):
|
43 |
-
|
44 |
-
super(Klaid_Config, self).__init__(version=datasets.Version("1.0.0", ""), **kwargs)
|
45 |
-
self.features = features
|
46 |
-
self.data_url = data_url
|
47 |
-
self.url = url
|
48 |
-
self.file_map = file_map
|
49 |
-
|
50 |
-
|
51 |
-
class Klaid(datasets.GeneratorBasedBuilder):
|
52 |
-
"""Korean Legal Artificial Intelligence Datasets (KLAID) benchmark."""
|
53 |
-
|
54 |
-
BUILDER_CONFIGS = [
|
55 |
-
Klaid_Config(
|
56 |
-
name="ljp",
|
57 |
-
features={
|
58 |
-
"laws_service_id": datasets.Value("int64"),
|
59 |
-
"fact": datasets.Value("string"),
|
60 |
-
"laws_service": datasets.Value("string"),
|
61 |
-
},
|
62 |
-
description="Training data for a classification model that predicts legal judgments from facts. The legal judgment of the data is applied as of 2022.10.15 (data may differ from the actual legal judgment due to subsequent amendments and deletions of the law).",
|
63 |
-
data_url=_DATA_USRs["ljp"],
|
64 |
-
url="https://klaid.net/",
|
65 |
-
file_map={
|
66 |
-
"train": "klaid_ljp_train.json",
|
67 |
-
}
|
68 |
-
),
|
69 |
-
]
|
70 |
-
|
71 |
-
def _info(self):
|
72 |
-
return datasets.DatasetInfo(
|
73 |
-
description=_KLAID_DESCRIPTION,
|
74 |
-
features=datasets.Features(self.config.features),
|
75 |
-
homepage=self.config.url,
|
76 |
-
citation="",
|
77 |
-
license=_LICENSE,
|
78 |
-
)
|
79 |
-
|
80 |
-
def _split_generators(self, dl_manager):
|
81 |
-
dl_dir = {
|
82 |
-
"train": dl_manager.download_and_extract(
|
83 |
-
self.config.data_url + self.config.file_map['train']
|
84 |
-
)
|
85 |
-
}
|
86 |
-
return [
|
87 |
-
datasets.SplitGenerator(
|
88 |
-
name=datasets.Split.TRAIN,
|
89 |
-
gen_kwargs={
|
90 |
-
"data_file": dl_dir["train"],
|
91 |
-
"split": datasets.Split.TRAIN,
|
92 |
-
}
|
93 |
-
),
|
94 |
-
]
|
95 |
-
|
96 |
-
def _generate_examples(self, data_file, split):
|
97 |
-
with open(data_file) as f:
|
98 |
-
f = json.load(f)
|
99 |
-
for id_, row in enumerate(f):
|
100 |
-
yield id_, {key: row[key] for key in row if key in self.config.features}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
LICENSE.cc-by-nc-nd-4.0
DELETED
@@ -1,319 +0,0 @@
|
|
1 |
-
Attribution-NonCommercial-NoDerivatives 4.0 International
|
2 |
-
|
3 |
-
=======================================================================
|
4 |
-
|
5 |
-
Creative Commons Corporation ("Creative Commons") is not a law firm and
|
6 |
-
does not provide legal services or legal advice. Distribution of
|
7 |
-
Creative Commons public licenses does not create a lawyer-client or
|
8 |
-
other relationship. Creative Commons makes its licenses and related
|
9 |
-
information available on an "as-is" basis. Creative Commons gives no
|
10 |
-
warranties regarding its licenses, any material licensed under their
|
11 |
-
terms and conditions, or any related information. Creative Commons
|
12 |
-
disclaims all liability for damages resulting from their use to the
|
13 |
-
fullest extent possible.
|
14 |
-
|
15 |
-
Using Creative Commons Public Licenses
|
16 |
-
|
17 |
-
Creative Commons public licenses provide a standard set of terms and
|
18 |
-
conditions that creators and other rights holders may use to share
|
19 |
-
original works of authorship and other material subject to copyright
|
20 |
-
and certain other rights specified in the public license below. The
|
21 |
-
following considerations are for informational purposes only, are not
|
22 |
-
exhaustive, and do not form part of our licenses.
|
23 |
-
|
24 |
-
Considerations for licensors: Our public licenses are
|
25 |
-
intended for use by those authorized to give the public
|
26 |
-
permission to use material in ways otherwise restricted by
|
27 |
-
copyright and certain other rights. Our licenses are
|
28 |
-
irrevocable. Licensors should read and understand the terms
|
29 |
-
and conditions of the license they choose before applying it.
|
30 |
-
Licensors should also secure all rights necessary before
|
31 |
-
applying our licenses so that the public can reuse the
|
32 |
-
material as expected. Licensors should clearly mark any
|
33 |
-
material not subject to the license. This includes other CC-
|
34 |
-
licensed material, or material used under an exception or
|
35 |
-
limitation to copyright. More considerations for licensors:
|
36 |
-
wiki.creativecommons.org/Considerations_for_licensors
|
37 |
-
|
38 |
-
Considerations for the public: By using one of our public
|
39 |
-
licenses, a licensor grants the public permission to use the
|
40 |
-
licensed material under specified terms and conditions. If
|
41 |
-
the licensor's permission is not necessary for any reason--for
|
42 |
-
example, because of any applicable exception or limitation to
|
43 |
-
copyright--then that use is not regulated by the license. Our
|
44 |
-
licenses grant only permissions under copyright and certain
|
45 |
-
other rights that a licensor has authority to grant. Use of
|
46 |
-
the licensed material may still be restricted for other
|
47 |
-
reasons, including because others have copyright or other
|
48 |
-
rights in the material. A licensor may make special requests,
|
49 |
-
such as asking that all changes be marked or described.
|
50 |
-
Although not required by our licenses, you are encouraged to
|
51 |
-
respect those requests where reasonable. More considerations
|
52 |
-
for the public:
|
53 |
-
wiki.creativecommons.org/Considerations_for_licensees
|
54 |
-
=======================================================================
|
55 |
-
Creative Commons Attribution-NonCommercial-NoDerivatives 4.0
|
56 |
-
International Public License
|
57 |
-
By exercising the Licensed Rights (defined below), You accept and agree
|
58 |
-
to be bound by the terms and conditions of this Creative Commons
|
59 |
-
Attribution-NonCommercial-NoDerivatives 4.0 International Public
|
60 |
-
License ("Public License"). To the extent this Public License may be
|
61 |
-
interpreted as a contract, You are granted the Licensed Rights in
|
62 |
-
consideration of Your acceptance of these terms and conditions, and the
|
63 |
-
Licensor grants You such rights in consideration of benefits the
|
64 |
-
Licensor receives from making the Licensed Material available under
|
65 |
-
these terms and conditions.
|
66 |
-
Section 1 -- Definitions.
|
67 |
-
a. Adapted Material means material subject to Copyright and Similar
|
68 |
-
Rights that is derived from or based upon the Licensed Material
|
69 |
-
and in which the Licensed Material is translated, altered,
|
70 |
-
arranged, transformed, or otherwise modified in a manner requiring
|
71 |
-
permission under the Copyright and Similar Rights held by the
|
72 |
-
Licensor. For purposes of this Public License, where the Licensed
|
73 |
-
Material is a musical work, performance, or sound recording,
|
74 |
-
Adapted Material is always produced where the Licensed Material is
|
75 |
-
synched in timed relation with a moving image.
|
76 |
-
b. Copyright and Similar Rights means copyright and/or similar rights
|
77 |
-
closely related to copyright including, without limitation,
|
78 |
-
performance, broadcast, sound recording, and Sui Generis Database
|
79 |
-
Rights, without regard to how the rights are labeled or
|
80 |
-
categorized. For purposes of this Public License, the rights
|
81 |
-
specified in Section 2(b)(1)-(2) are not Copyright and Similar
|
82 |
-
Rights.
|
83 |
-
c. Effective Technological Measures means those measures that, in the
|
84 |
-
absence of proper authority, may not be circumvented under laws
|
85 |
-
fulfilling obligations under Article 11 of the WIPO Copyright
|
86 |
-
Treaty adopted on December 20, 1996, and/or similar international
|
87 |
-
agreements.
|
88 |
-
d. Exceptions and Limitations means fair use, fair dealing, and/or
|
89 |
-
any other exception or limitation to Copyright and Similar Rights
|
90 |
-
that applies to Your use of the Licensed Material.
|
91 |
-
e. Licensed Material means the artistic or literary work, database,
|
92 |
-
or other material to which the Licensor applied this Public
|
93 |
-
License.
|
94 |
-
f. Licensed Rights means the rights granted to You subject to the
|
95 |
-
terms and conditions of this Public License, which are limited to
|
96 |
-
all Copyright and Similar Rights that apply to Your use of the
|
97 |
-
Licensed Material and that the Licensor has authority to license.
|
98 |
-
g. Licensor means the individual(s) or entity(ies) granting rights
|
99 |
-
under this Public License.
|
100 |
-
h. NonCommercial means not primarily intended for or directed towards
|
101 |
-
commercial advantage or monetary compensation. For purposes of
|
102 |
-
this Public License, the exchange of the Licensed Material for
|
103 |
-
other material subject to Copyright and Similar Rights by digital
|
104 |
-
file-sharing or similar means is NonCommercial provided there is
|
105 |
-
no payment of monetary compensation in connection with the
|
106 |
-
exchange.
|
107 |
-
i. Share means to provide material to the public by any means or
|
108 |
-
process that requires permission under the Licensed Rights, such
|
109 |
-
as reproduction, public display, public performance, distribution,
|
110 |
-
dissemination, communication, or importation, and to make material
|
111 |
-
available to the public including in ways that members of the
|
112 |
-
public may access the material from a place and at a time
|
113 |
-
individually chosen by them.
|
114 |
-
j. Sui Generis Database Rights means rights other than copyright
|
115 |
-
resulting from Directive 96/9/EC of the European Parliament and of
|
116 |
-
the Council of 11 March 1996 on the legal protection of databases,
|
117 |
-
as amended and/or succeeded, as well as other essentially
|
118 |
-
equivalent rights anywhere in the world.
|
119 |
-
k. You means the individual or entity exercising the Licensed Rights
|
120 |
-
under this Public License. Your has a corresponding meaning.
|
121 |
-
Section 2 -- Scope.
|
122 |
-
a. License grant.
|
123 |
-
1. Subject to the terms and conditions of this Public License,
|
124 |
-
the Licensor hereby grants You a worldwide, royalty-free,
|
125 |
-
non-sublicensable, non-exclusive, irrevocable license to
|
126 |
-
exercise the Licensed Rights in the Licensed Material to:
|
127 |
-
a. reproduce and Share the Licensed Material, in whole or
|
128 |
-
in part, for NonCommercial purposes only; and
|
129 |
-
b. produce and reproduce, but not Share, Adapted Material
|
130 |
-
for NonCommercial purposes only.
|
131 |
-
2. Exceptions and Limitations. For the avoidance of doubt, where
|
132 |
-
Exceptions and Limitations apply to Your use, this Public
|
133 |
-
License does not apply, and You do not need to comply with
|
134 |
-
its terms and conditions.
|
135 |
-
3. Term. The term of this Public License is specified in Section
|
136 |
-
6(a).
|
137 |
-
4. Media and formats; technical modifications allowed. The
|
138 |
-
Licensor authorizes You to exercise the Licensed Rights in
|
139 |
-
all media and formats whether now known or hereafter created,
|
140 |
-
and to make technical modifications necessary to do so. The
|
141 |
-
Licensor waives and/or agrees not to assert any right or
|
142 |
-
authority to forbid You from making technical modifications
|
143 |
-
necessary to exercise the Licensed Rights, including
|
144 |
-
technical modifications necessary to circumvent Effective
|
145 |
-
Technological Measures. For purposes of this Public License,
|
146 |
-
simply making modifications authorized by this Section 2(a)
|
147 |
-
(4) never produces Adapted Material.
|
148 |
-
5. Downstream recipients.
|
149 |
-
a. Offer from the Licensor -- Licensed Material. Every
|
150 |
-
recipient of the Licensed Material automatically
|
151 |
-
receives an offer from the Licensor to exercise the
|
152 |
-
Licensed Rights under the terms and conditions of this
|
153 |
-
Public License.
|
154 |
-
b. No downstream restrictions. You may not offer or impose
|
155 |
-
any additional or different terms or conditions on, or
|
156 |
-
apply any Effective Technological Measures to, the
|
157 |
-
Licensed Material if doing so restricts exercise of the
|
158 |
-
Licensed Rights by any recipient of the Licensed
|
159 |
-
Material.
|
160 |
-
6. No endorsement. Nothing in this Public License constitutes or
|
161 |
-
may be construed as permission to assert or imply that You
|
162 |
-
are, or that Your use of the Licensed Material is, connected
|
163 |
-
with, or sponsored, endorsed, or granted official status by,
|
164 |
-
the Licensor or others designated to receive attribution as
|
165 |
-
provided in Section 3(a)(1)(A)(i).
|
166 |
-
b. Other rights.
|
167 |
-
1. Moral rights, such as the right of integrity, are not
|
168 |
-
licensed under this Public License, nor are publicity,
|
169 |
-
privacy, and/or other similar personality rights; however, to
|
170 |
-
the extent possible, the Licensor waives and/or agrees not to
|
171 |
-
assert any such rights held by the Licensor to the limited
|
172 |
-
extent necessary to allow You to exercise the Licensed
|
173 |
-
Rights, but not otherwise.
|
174 |
-
2. Patent and trademark rights are not licensed under this
|
175 |
-
Public License.
|
176 |
-
3. To the extent possible, the Licensor waives any right to
|
177 |
-
collect royalties from You for the exercise of the Licensed
|
178 |
-
Rights, whether directly or through a collecting society
|
179 |
-
under any voluntary or waivable statutory or compulsory
|
180 |
-
licensing scheme. In all other cases the Licensor expressly
|
181 |
-
reserves any right to collect such royalties, including when
|
182 |
-
the Licensed Material is used other than for NonCommercial
|
183 |
-
purposes.
|
184 |
-
Section 3 -- License Conditions.
|
185 |
-
Your exercise of the Licensed Rights is expressly made subject to the
|
186 |
-
following conditions.
|
187 |
-
a. Attribution.
|
188 |
-
1. If You Share the Licensed Material, You must:
|
189 |
-
a. retain the following if it is supplied by the Licensor
|
190 |
-
with the Licensed Material:
|
191 |
-
i. identification of the creator(s) of the Licensed
|
192 |
-
Material and any others designated to receive
|
193 |
-
attribution, in any reasonable manner requested by
|
194 |
-
the Licensor (including by pseudonym if
|
195 |
-
designated);
|
196 |
-
ii. a copyright notice;
|
197 |
-
iii. a notice that refers to this Public License;
|
198 |
-
iv. a notice that refers to the disclaimer of
|
199 |
-
warranties;
|
200 |
-
v. a URI or hyperlink to the Licensed Material to the
|
201 |
-
extent reasonably practicable;
|
202 |
-
b. indicate if You modified the Licensed Material and
|
203 |
-
retain an indication of any previous modifications; and
|
204 |
-
c. indicate the Licensed Material is licensed under this
|
205 |
-
Public License, and include the text of, or the URI or
|
206 |
-
hyperlink to, this Public License.
|
207 |
-
For the avoidance of doubt, You do not have permission under
|
208 |
-
this Public License to Share Adapted Material.
|
209 |
-
2. You may satisfy the conditions in Section 3(a)(1) in any
|
210 |
-
reasonable manner based on the medium, means, and context in
|
211 |
-
which You Share the Licensed Material. For example, it may be
|
212 |
-
reasonable to satisfy the conditions by providing a URI or
|
213 |
-
hyperlink to a resource that includes the required
|
214 |
-
information.
|
215 |
-
3. If requested by the Licensor, You must remove any of the
|
216 |
-
information required by Section 3(a)(1)(A) to the extent
|
217 |
-
reasonably practicable.
|
218 |
-
Section 4 -- Sui Generis Database Rights.
|
219 |
-
Where the Licensed Rights include Sui Generis Database Rights that
|
220 |
-
apply to Your use of the Licensed Material:
|
221 |
-
a. for the avoidance of doubt, Section 2(a)(1) grants You the right
|
222 |
-
to extract, reuse, reproduce, and Share all or a substantial
|
223 |
-
portion of the contents of the database for NonCommercial purposes
|
224 |
-
only and provided You do not Share Adapted Material;
|
225 |
-
b. if You include all or a substantial portion of the database
|
226 |
-
contents in a database in which You have Sui Generis Database
|
227 |
-
Rights, then the database in which You have Sui Generis Database
|
228 |
-
Rights (but not its individual contents) is Adapted Material; and
|
229 |
-
c. You must comply with the conditions in Section 3(a) if You Share
|
230 |
-
all or a substantial portion of the contents of the database.
|
231 |
-
For the avoidance of doubt, this Section 4 supplements and does not
|
232 |
-
replace Your obligations under this Public License where the Licensed
|
233 |
-
Rights include other Copyright and Similar Rights.
|
234 |
-
Section 5 -- Disclaimer of Warranties and Limitation of Liability.
|
235 |
-
a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
|
236 |
-
EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
|
237 |
-
AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
|
238 |
-
ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
|
239 |
-
IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
|
240 |
-
WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
241 |
-
PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
|
242 |
-
ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
|
243 |
-
KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
|
244 |
-
ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
|
245 |
-
b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
|
246 |
-
TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
|
247 |
-
NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
|
248 |
-
INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
|
249 |
-
COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
|
250 |
-
USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
|
251 |
-
ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
|
252 |
-
DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
|
253 |
-
IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
|
254 |
-
c. The disclaimer of warranties and limitation of liability provided
|
255 |
-
above shall be interpreted in a manner that, to the extent
|
256 |
-
possible, most closely approximates an absolute disclaimer and
|
257 |
-
waiver of all liability.
|
258 |
-
Section 6 -- Term and Termination.
|
259 |
-
a. This Public License applies for the term of the Copyright and
|
260 |
-
Similar Rights licensed here. However, if You fail to comply with
|
261 |
-
this Public License, then Your rights under this Public License
|
262 |
-
terminate automatically.
|
263 |
-
b. Where Your right to use the Licensed Material has terminated under
|
264 |
-
Section 6(a), it reinstates:
|
265 |
-
1. automatically as of the date the violation is cured, provided
|
266 |
-
it is cured within 30 days of Your discovery of the
|
267 |
-
violation; or
|
268 |
-
2. upon express reinstatement by the Licensor.
|
269 |
-
For the avoidance of doubt, this Section 6(b) does not affect any
|
270 |
-
right the Licensor may have to seek remedies for Your violations
|
271 |
-
of this Public License.
|
272 |
-
c. For the avoidance of doubt, the Licensor may also offer the
|
273 |
-
Licensed Material under separate terms or conditions or stop
|
274 |
-
distributing the Licensed Material at any time; however, doing so
|
275 |
-
will not terminate this Public License.
|
276 |
-
d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
|
277 |
-
License.
|
278 |
-
Section 7 -- Other Terms and Conditions.
|
279 |
-
a. The Licensor shall not be bound by any additional or different
|
280 |
-
terms or conditions communicated by You unless expressly agreed.
|
281 |
-
b. Any arrangements, understandings, or agreements regarding the
|
282 |
-
Licensed Material not stated herein are separate from and
|
283 |
-
independent of the terms and conditions of this Public License.
|
284 |
-
Section 8 -- Interpretation.
|
285 |
-
a. For the avoidance of doubt, this Public License does not, and
|
286 |
-
shall not be interpreted to, reduce, limit, restrict, or impose
|
287 |
-
conditions on any use of the Licensed Material that could lawfully
|
288 |
-
be made without permission under this Public License.
|
289 |
-
b. To the extent possible, if any provision of this Public License is
|
290 |
-
deemed unenforceable, it shall be automatically reformed to the
|
291 |
-
minimum extent necessary to make it enforceable. If the provision
|
292 |
-
cannot be reformed, it shall be severed from this Public License
|
293 |
-
without affecting the enforceability of the remaining terms and
|
294 |
-
conditions.
|
295 |
-
c. No term or condition of this Public License will be waived and no
|
296 |
-
failure to comply consented to unless expressly agreed to by the
|
297 |
-
Licensor.
|
298 |
-
d. Nothing in this Public License constitutes or may be interpreted
|
299 |
-
as a limitation upon, or waiver of, any privileges and immunities
|
300 |
-
that apply to the Licensor or You, including from the legal
|
301 |
-
processes of any jurisdiction or authority.
|
302 |
-
=======================================================================
|
303 |
-
Creative Commons is not a party to its public
|
304 |
-
licenses. Notwithstanding, Creative Commons may elect to apply one of
|
305 |
-
its public licenses to material it publishes and in those instances
|
306 |
-
will be considered the โLicensor.โ The text of the Creative Commons
|
307 |
-
public licenses is dedicated to the public domain under the CC0 Public
|
308 |
-
Domain Dedication. Except for the limited purpose of indicating that
|
309 |
-
material is shared under a Creative Commons public license or as
|
310 |
-
otherwise permitted by the Creative Commons policies published at
|
311 |
-
creativecommons.org/policies, Creative Commons does not authorize the
|
312 |
-
use of the trademark "Creative Commons" or any other trademark or logo
|
313 |
-
of Creative Commons without its prior written consent including,
|
314 |
-
without limitation, in connection with any unauthorized modifications
|
315 |
-
to any of its public licenses or any other arrangements,
|
316 |
-
understandings, or agreements concerning use of licensed material. For
|
317 |
-
the avoidance of doubt, this paragraph does not form part of the
|
318 |
-
public licenses.
|
319 |
-
Creative Commons may be contacted at creativecommons.org.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
README.md
DELETED
@@ -1,93 +0,0 @@
|
|
1 |
-
---
|
2 |
-
pretty_name: KLAID
|
3 |
-
viewer: true
|
4 |
-
language: ko
|
5 |
-
multilinguality:
|
6 |
-
- monolingual
|
7 |
-
license: cc-by-nc-nd-4.0
|
8 |
-
task_categories:
|
9 |
-
- text-classification
|
10 |
-
task_ids:
|
11 |
-
- multi-class-classification
|
12 |
-
---
|
13 |
-
# Dataset Card for KLAID
|
14 |
-
## Table of Contents
|
15 |
-
- [Table of Contents](#table-of-contents)
|
16 |
-
- [Dataset Description](#dataset-description)
|
17 |
-
- [Dataset Summary](#dataset-summary)
|
18 |
-
- [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
|
19 |
-
- [Languages](#languages)
|
20 |
-
- [Dataset Structure](#dataset-structure)
|
21 |
-
- [Data Instances](#data-instances)
|
22 |
-
- [Data Fields](#data-fields)
|
23 |
-
- [Data Splits](#data-splits)
|
24 |
-
- [Dataset Creation](#dataset-creation)
|
25 |
-
- [Curation Rationale](#curation-rationale)
|
26 |
-
- [Source Data](#source-data)
|
27 |
-
- [Personal and Sensitive Information](#personal-and-sensitive-information)
|
28 |
-
- [Considerations for Using the Data](#considerations-for-using-the-data)
|
29 |
-
- [Other Known Limitations](#other-known-limitations)
|
30 |
-
- [Additional Information](#additional-information)
|
31 |
-
- [Other Inquiries](#other_inquiries)
|
32 |
-
- [Licensing Information](#licensing-information)
|
33 |
-
- [Contributions](#contributions)
|
34 |
-
## Dataset Description
|
35 |
-
- **Homepage:** [https://klaid.net](https://klaid.net)
|
36 |
-
- **Leaderboard:** [https://klaid.net](https://klaid.net)
|
37 |
-
- **Point of Contact:** [klaid@lawcompany.co.kr](klaid@lawcompany.co.kr)
|
38 |
-
### Dataset Summary
|
39 |
-
Korean Legal Artificial Intelligence Datasets(KLAID) is a dataset for the development of Korean legal artificial intelligence technology. This time we offer 1 task, which is legal judgment prediction(LJP).
|
40 |
-
### Supported Tasks and Leaderboards
|
41 |
-
Legal Judgment Prediction(LJP)
|
42 |
-
### Languages
|
43 |
-
`korean`
|
44 |
-
### How to use
|
45 |
-
```python
|
46 |
-
from datasets import load_dataset
|
47 |
-
# legal judgment prediction
|
48 |
-
dataset = load_dataset("lawcompany/KLAID", 'ljp')
|
49 |
-
```
|
50 |
-
## Dataset Structure
|
51 |
-
### Data Instances
|
52 |
-
#### ljp
|
53 |
-
An example of 'train' looks as follows.
|
54 |
-
```
|
55 |
-
{
|
56 |
-
'fact': 'ํผ๊ณ ์ธ์ 2022. 11. 14. ํ์ค์์ฝ๋๋ 0.123%์ ์ ์ ์ทจํ ์ํ๋ก ์น์ฉ์ฐจ๋ฅผ ์ด์ ํ์๋ค.',
|
57 |
-
'laws_service': '๋๋ก๊ตํต๋ฒ ์ 148์กฐ์2 ์ 3ํญ ์ 2ํธ,๋๋ก๊ตํต๋ฒ ์ 44์กฐ ์ 1ํญ',
|
58 |
-
'laws_service_id': 7
|
59 |
-
}
|
60 |
-
```
|
61 |
-
Other References
|
62 |
-
You can refer to each label's 'laws service content' [here](https://storage.googleapis.com/klaid/ljp/dataset/ljp_laws_service_content.json).
|
63 |
-
'Laws service content' is the statute([source](https://www.law.go.kr/)) corresponding to each label.
|
64 |
-
|
65 |
-
### Data Fields
|
66 |
-
#### ljp
|
67 |
-
+ "fact": a `string` feature
|
68 |
-
+ "laws_service": a `string` feature
|
69 |
-
+ "laws_service_id": a classification label, with 177 legal judgment values
|
70 |
-
|
71 |
-
[More Information Needed](https://klaid.net/tasks-1)
|
72 |
-
### Data Splits
|
73 |
-
#### ljp
|
74 |
-
+ train: 161,192
|
75 |
-
## Dataset Creation
|
76 |
-
### Curation Rationale
|
77 |
-
The legal domain is arguably one of the most expertise fields that require expert knowledge to comprehend. Natural language processing requires many aspects, and we focus on the dataset requirements. As a gold standard is necessary for the testing and the training of a neural model, we hope that our dataset release will help the advances in natural language processing in the legal domain, especially for those for the Korean legal system.
|
78 |
-
### Source Data
|
79 |
-
These are datasets based on Korean legal case data.
|
80 |
-
### Personal and Sensitive Information
|
81 |
-
Due to the nature of legal case data, personal and sensitive information may be included. Therefore, in order to prevent problems that may occur with personal and sensitive information, we proceeded to de-realize the legal case.
|
82 |
-
## Considerations for Using the Data
|
83 |
-
### Other Known Limitations
|
84 |
-
We plan to upload more data and update them as some of the court records may be revised from now on, based on the ever-evolving legal system.
|
85 |
-
## Additional Information
|
86 |
-
### Other Inquiries
|
87 |
-
[klaid@lawcompany.co.kr](klaid@lawcompany.co.kr)
|
88 |
-
### Licensing Information
|
89 |
-
Copyright 2022-present [Law&Company Co. Ltd.](https://career.lawcompany.co.kr/)
|
90 |
-
|
91 |
-
Licensed under the CC-BY-NC-ND-4.0
|
92 |
-
### Contributions
|
93 |
-
[More Information Needed]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ljp/klaid-train.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bfd41afb3562998783dec1c29c651f8b4f7b97600db7caff10ad17c647e98184
|
3 |
+
size 60090687
|