joelniklaus commited on
Commit
ee6c42b
1 Parent(s): c45e46c

added large brazilian caselaw dataset

Browse files
.gitattributes CHANGED
@@ -78,3 +78,8 @@ data/it/caselaw/switzerland_entscheidsuche.jsonl.xz filter=lfs diff=lfs merge=lf
78
  data/en/legislation/uk_uk_lex.jsonl.xz filter=lfs diff=lfs merge=lfs -text
79
  data/hu/legislation/hungary_marcell.jsonl.xz filter=lfs diff=lfs merge=lfs -text
80
  data/pt/caselaw/brazil_creta.jsonl.xz filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
78
  data/en/legislation/uk_uk_lex.jsonl.xz filter=lfs diff=lfs merge=lfs -text
79
  data/hu/legislation/hungary_marcell.jsonl.xz filter=lfs diff=lfs merge=lfs -text
80
  data/pt/caselaw/brazil_creta.jsonl.xz filter=lfs diff=lfs merge=lfs -text
81
+ data/pt/caselaw/brazil_cjpg_0.jsonl.xz filter=lfs diff=lfs merge=lfs -text
82
+ data/pt/caselaw/brazil_cjpg_1.jsonl.xz filter=lfs diff=lfs merge=lfs -text
83
+ data/pt/caselaw/brazil_cjpg_2.jsonl.xz filter=lfs diff=lfs merge=lfs -text
84
+ data/pt/caselaw/brazil_cjpg_3.jsonl.xz filter=lfs diff=lfs merge=lfs -text
85
+ data/pt/caselaw/brazil_cjpg_4.jsonl.xz filter=lfs diff=lfs merge=lfs -text
Multi_Legal_Pile.py CHANGED
@@ -22,6 +22,8 @@ _CITATION = """
22
 
23
  _URL = "https://huggingface.co/datasets/joelito/Multi_Legal_Pile"
24
 
 
 
25
  CASELAW = "caselaw"
26
  LEGISLATION = "legislation"
27
  CONTRACTS = "contracts"
@@ -65,7 +67,8 @@ _DATA_NAME = {
65
  LEGISLATION: ["poland_marcell"],
66
  },
67
  "pt": {
68
- CASELAW: ["brazil_rulingbr", "brazil_creta"],
 
69
  },
70
  "ro": {
71
  LEGISLATION: ["romania_marcell"],
@@ -323,9 +326,9 @@ _LANGUAGES = ["bg", "cs", "da", "de", "el", "en", "es", "et", "fi", "fr", "ga",
323
  _TYPES = [CASELAW, CONTRACTS, LEGISLATION, OTHER, MC4_LEGAL]
324
 
325
  _JURISDICTIONS = ["Austria", "Belgium", "Brazil", "Bulgaria", "Croatia", "Czechia", "Denmark", "Estonia", "Finland",
326
- "France", "Germany", "Greece", "Hungary", "Ireland", "Italy", "Latvia", "Lithuania", "Luxembourg",
327
- "Malta", "Netherlands", "Poland", "Portugal", "Romania", "Slovakia", "Slovenia", "Spain", "Sweden",
328
- "EU", "Switzerland", "UK", "US", "Canada", "N/A"]
329
 
330
 
331
  class MultiLegalPileConfig(datasets.BuilderConfig):
@@ -349,7 +352,6 @@ class MultiLegalPileConfig(datasets.BuilderConfig):
349
  class MultiLegalPile(datasets.GeneratorBasedBuilder):
350
  """MultiLegalPile: A Corpus Covering Large-Scale Multilingual Legal Data"""
351
  BUILDER_CONFIG_CLASS = MultiLegalPileConfig
352
- VERSION = datasets.Version("2.0.0", "")
353
 
354
  BUILDER_CONFIGS = [MultiLegalPileConfig(f"{language}_{type}",
355
  version=VERSION,
 
22
 
23
  _URL = "https://huggingface.co/datasets/joelito/Multi_Legal_Pile"
24
 
25
+ VERSION = datasets.Version("1.0.0", "")
26
+
27
  CASELAW = "caselaw"
28
  LEGISLATION = "legislation"
29
  CONTRACTS = "contracts"
 
67
  LEGISLATION: ["poland_marcell"],
68
  },
69
  "pt": {
70
+ CASELAW: ["brazil_rulingbr", "brazil_creta",
71
+ "brazil_cjpg_0", "brazil_cjpg_1", "brazil_cjpg_2", "brazil_cjpg_3", "brazil_cjpg_4"],
72
  },
73
  "ro": {
74
  LEGISLATION: ["romania_marcell"],
 
326
  _TYPES = [CASELAW, CONTRACTS, LEGISLATION, OTHER, MC4_LEGAL]
327
 
328
  _JURISDICTIONS = ["Austria", "Belgium", "Brazil", "Bulgaria", "Croatia", "Czechia", "Denmark", "Estonia", "Finland",
329
+ "France", "Germany", "Greece", "Hungary", "Ireland", "Italy", "Latvia", "Lithuania", "Luxembourg",
330
+ "Malta", "Netherlands", "Poland", "Portugal", "Romania", "Slovakia", "Slovenia", "Spain", "Sweden",
331
+ "EU", "Switzerland", "UK", "US", "Canada", "N/A"]
332
 
333
 
334
  class MultiLegalPileConfig(datasets.BuilderConfig):
 
352
  class MultiLegalPile(datasets.GeneratorBasedBuilder):
353
  """MultiLegalPile: A Corpus Covering Large-Scale Multilingual Legal Data"""
354
  BUILDER_CONFIG_CLASS = MultiLegalPileConfig
 
355
 
356
  BUILDER_CONFIGS = [MultiLegalPileConfig(f"{language}_{type}",
357
  version=VERSION,
README.md CHANGED
@@ -126,9 +126,9 @@ all_legislation').
126
 
127
  The file format is jsonl.xz and there is one split available ("train").
128
 
129
- The complete dataset (653GB) consists of four large subsets:
130
 
131
- - Native Multi Legal Pile (49GB)
132
  - Eurlex Resources (179GB)
133
  - MC4 Legal (133GB)
134
  - Pile of Law (292GB)
@@ -162,10 +162,11 @@ The complete dataset (653GB) consists of four large subsets:
162
  | pl | legislation | Poland | MARCELL | 264 | xxx | xxx | xxx | | |
163
  | pt | caselaw | Brazil | RulingBR | 173 | xxx | xxx | xxx | | |
164
  | pt | caselaw | Brazil | CRETA | 19000 | xxx | xxx | xxx | | |
 
165
  | ro | legislation | Romania | MARCELL | 2704 | xxx | xxx | xxx | | |
166
  | sk | legislation | Slovakia | MARCELL | 192 | xxx | xxx | xxx | | |
167
  | sl | legislation | Slovenia | MARCELL | 753 | xxx | xxx | xxx | | |
168
- | total | all | all | all | 48759 | xxx | xxx | xxx | | |
169
 
170
  #### Eurlex Resources
171
 
 
126
 
127
  The file format is jsonl.xz and there is one split available ("train").
128
 
129
+ The complete dataset (716GB) consists of four large subsets:
130
 
131
+ - Native Multi Legal Pile (112GB)
132
  - Eurlex Resources (179GB)
133
  - MC4 Legal (133GB)
134
  - Pile of Law (292GB)
 
162
  | pl | legislation | Poland | MARCELL | 264 | xxx | xxx | xxx | | |
163
  | pt | caselaw | Brazil | RulingBR | 173 | xxx | xxx | xxx | | |
164
  | pt | caselaw | Brazil | CRETA | 19000 | xxx | xxx | xxx | | |
165
+ | pt | caselaw | Brazil | CJPG | 63480 | xxx | xxx | xxx | | |
166
  | ro | legislation | Romania | MARCELL | 2704 | xxx | xxx | xxx | | |
167
  | sk | legislation | Slovakia | MARCELL | 192 | xxx | xxx | xxx | | |
168
  | sl | legislation | Slovenia | MARCELL | 753 | xxx | xxx | xxx | | |
169
+ | total | all | all | all | 112239 | xxx | xxx | xxx | | |
170
 
171
  #### Eurlex Resources
172
 
data/pt/caselaw/brazil_cjpg_0.jsonl.xz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3bc6d3761275495ee730063245cf56368fb2a0aaedb73e1f9cb0128fed600420
3
+ size 2000060776
data/pt/caselaw/brazil_cjpg_1.jsonl.xz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f459db3989866936eb9d448186014c848de5c04b72ef51dfdee2b421d97f7f33
3
+ size 2000058292
data/pt/caselaw/brazil_cjpg_2.jsonl.xz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d06ab48d4612dfc9acb614d950675261e1ff685e6f785d2230e792625af736ca
3
+ size 2000012928
data/pt/caselaw/brazil_cjpg_3.jsonl.xz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:49bdfeaa3cc4db9161ab5be7bc42d74d991769810bece4ea73103ba957613f43
3
+ size 2000039164
data/pt/caselaw/brazil_cjpg_4.jsonl.xz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:66ac03c1f07bbcfaca2170f7be7f491fb88881897ab2fa4b645cc9c8f90f3ece
3
+ size 775006040