joelniklaus commited on
Commit
8790de5
·
verified ·
1 Parent(s): 7cb1ed6

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +192 -0
README.md ADDED
@@ -0,0 +1,192 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ configs:
3
+ - config_name: bge_level
4
+ data_files:
5
+ - split: train
6
+ path: bge_level/train.jsonl.gz
7
+ - split: validation
8
+ path: bge_level/val.jsonl.gz
9
+ - split: test
10
+ path: bge_level/test.jsonl.gz
11
+ - config_name: regeste_level
12
+ data_files:
13
+ - split: train
14
+ path: regeste_level/train.jsonl.gz
15
+ - split: validation
16
+ path: regeste_level/val.jsonl.gz
17
+ - split: test
18
+ path: regeste_level/test.jsonl.gz
19
+ - config_name: text_level
20
+ data_files:
21
+ - split: train
22
+ path: text_level/train.jsonl.gz
23
+ - split: validation
24
+ path: text_level/val.jsonl.gz
25
+ - split: test
26
+ path: text_level/test.jsonl.gz
27
+ task_categories:
28
+ - translation
29
+ language:
30
+ - de
31
+ - fr
32
+ - it
33
+ tags:
34
+ - legal
35
+ pretty_name: Swiss Decision Summary Translations
36
+ size_categories:
37
+ - 10K<n<100K
38
+ ---
39
+
40
+ # Dataset Card for Swiss Decision Summary Translations
41
+
42
+ This dataset card aims to describe a dataset from summaries of Swiss leading court decisions (also known as "BGE" or "Bundesgerichtsentscheide") from the Swiss Supreme Court: [https://bger.ch](https://bger.ch). It is a parallel dataset that offers translations at three different levels: the entire summary (bge_level), the regeste level (regeste_level), and the text level (text_level).
43
+
44
+ ## Dataset Details
45
+
46
+ ### Dataset Description
47
+
48
+ This dataset consists of summaries of leading Swiss Supreme Court decisions. These summaries are provided in three languages (German, French, Italian) and are available at three distinct levels of granularity:
49
+ - **bge_level**: The entire summary of the court decision.
50
+ - **regeste_level**: A summary focused on the core legal issue.
51
+ - **text_level**: A further detailed extraction of specific legal statements.
52
+
53
+ The dataset can be used for various natural language processing tasks such as multilingual text alignment, machine translation, and legal text analysis.
54
+
55
+ - **Curated by:** Joel Niklaus
56
+ - **Funded by [optional]:** Swiss Federal Supreme Court
57
+ - **Shared by [optional]:** Joel Niklaus
58
+ - **Language(s) (NLP):** German (de), French (fr), Italian (it)
59
+ - **License:** [More Information Needed]
60
+
61
+ ### Dataset Sources [optional]
62
+
63
+ - **Repository:** https://github.com/JoelNiklaus/SwissLegalTranslations
64
+ - **Paper [optional]:** [More Information Needed]
65
+ - **Demo [optional]:** [More Information Needed]
66
+
67
+ ## Uses
68
+
69
+ ### Direct Use
70
+
71
+ This dataset can be used for:
72
+ - Multilingual text alignment and translation tasks between German, French, and Italian.
73
+ - Legal text analysis and summarization, with a focus on Swiss law.
74
+ - Language model training or fine-tuning on legal domain-specific text.
75
+
76
+ ### Out-of-Scope Use
77
+
78
+ The dataset is not suitable for tasks unrelated to legal text processing or without consideration for the specific legal context of Swiss Supreme Court decisions.
79
+
80
+ ## Dataset Structure
81
+
82
+ The dataset is structured into three levels:
83
+ 1. **bge_level**: Contains full summaries of court decisions in German, French, and Italian.
84
+ - Fields:
85
+ - `bge`: Case identifier.
86
+ - `year`: Year of the decision.
87
+ - `volume`: Volume number of the decision.
88
+ - `pageNumber`: Page number of the decision.
89
+ - `de_bgeText`: Full summary in German.
90
+ - `fr_bgeText`: Full summary in French.
91
+ - `it_bgeText`: Full summary in Italian.
92
+
93
+ 2. **regeste_level**: Contains regeste summaries (core legal issues) in the three languages.
94
+ - Fields:
95
+ - `bge`: Case identifier.
96
+ - `year`: Year of the decision.
97
+ - `volume`: Volume number of the decision.
98
+ - `pageNumber`: Page number of the decision.
99
+ - `regesteNumber`: Number assigned to the regeste.
100
+ - `de_regesteTitle`: Regeste title in German.
101
+ - `fr_regesteTitle`: Regeste title in French.
102
+ - `it_regesteTitle`: Regeste title in Italian.
103
+ - `de_regesteText`: Regeste text in German.
104
+ - `fr_regesteText`: Regeste text in French.
105
+ - `it_regesteText`: Regeste text in Italian.
106
+
107
+ 3. **text_level**: Contains more detailed text extracts from the decisions, available in all three languages.
108
+ - Fields:
109
+ - `bge`: Case identifier.
110
+ - `year`: Year of the decision.
111
+ - `volume`: Volume number of the decision.
112
+ - `pageNumber`: Page number of the decision.
113
+ - `regesteNumber`: Number assigned to the regeste.
114
+ - `textNumber`: Number assigned to the specific text extract.
115
+ - `de_text`: Text extract in German.
116
+ - `fr_text`: Text extract in French.
117
+ - `it_text`: Text extract in Italian.
118
+
119
+ ### Example Code
120
+
121
+ ```python
122
+ from datasets import load_dataset
123
+
124
+ # Load the datasets for each level
125
+ bge_dataset = load_dataset('joelniklaus/SwissDecisionSummaryTranslations', name='bge_level', trust_remote_code=True)
126
+ regeste_dataset = load_dataset('joelniklaus/SwissDecisionSummaryTranslations', name='regeste_level', trust_remote_code=True)
127
+ text_dataset = load_dataset('joelniklaus/SwissDecisionSummaryTranslations', name='text_level', trust_remote_code=True)
128
+
129
+ # Print datasets for inspection
130
+ print(bge_dataset, regeste_dataset, text_dataset)
131
+ ```
132
+
133
+ ## Dataset Creation
134
+
135
+ ### Curation Rationale
136
+
137
+ The dataset was created to enable the development of multilingual models for the legal domain, specifically focused on Swiss law. By providing translations at multiple levels of granularity, it supports a range of use cases from high-level summaries to detailed legal text analysis.
138
+
139
+ ### Source Data
140
+
141
+ The dataset is derived from official Swiss Supreme Court decision summaries, which are publicly available on [bger.ch](https://bger.ch).
142
+
143
+ #### Data Collection and Processing
144
+
145
+ The summaries were extracted and processed from official court records, normalized across the three languages (German, French, Italian), and structured into the different levels (bge_level, regeste_level, text_level). The dataset was cleaned and formatted into JSONL format for ease of use.
146
+
147
+ #### Who are the source data producers?
148
+
149
+ The source data is produced by the Swiss Federal Supreme Court, which publishes leading court decisions in multiple languages (German, French, and Italian).
150
+
151
+ ### Annotations [optional]
152
+
153
+ No additional annotations have been added beyond the original translations provided by the Swiss Supreme Court.
154
+
155
+ #### Personal and Sensitive Information
156
+
157
+ The dataset does not contain any personal, sensitive, or private information as it consists solely of legal summaries from public court decisions.
158
+
159
+ ## Bias, Risks, and Limitations
160
+
161
+ The dataset may reflect biases inherent in the Swiss legal system and judicial processes. Users should be aware that the dataset only represents leading decisions from the Swiss Supreme Court, which may not reflect the entirety of Swiss law or legal perspectives.
162
+
163
+ ### Recommendations
164
+
165
+ Users should consider the legal context and jurisdiction-specific nature of the dataset when applying models trained on this data. The dataset is best used for tasks related to legal language and multilingual processing in the legal domain.
166
+
167
+ ## Citation [optional]
168
+
169
+ **BibTeX:**
170
+
171
+ [More Information Needed]
172
+
173
+ **APA:**
174
+
175
+ [More Information Needed]
176
+
177
+ ## Glossary [optional]
178
+
179
+ - **BGE**: Bundesgerichtsentscheide (leading court decisions from the Swiss Supreme Court).
180
+ - **Regeste**: A concise summary of the legal issue(s) in a court decision.
181
+
182
+ ## More Information [optional]
183
+
184
+ [More Information Needed]
185
+
186
+ ## Dataset Card Authors
187
+
188
+ Joel Niklaus
189
+
190
+ ## Dataset Card Contact
191
+
192
+ [Joel Niklaus](mailto:[email protected])