File size: 2,434 Bytes
701218a
 
d788a92
 
 
 
 
 
 
 
 
 
 
 
d6e5738
 
d788a92
ac3610a
 
 
2cf6113
 
 
 
ac3610a
e08ae2c
701218a
 
 
 
 
 
 
 
 
 
 
bfb119b
 
701218a
a5dba95
 
 
2d937f6
 
 
 
a5dba95
e08ae2c
 
 
 
 
 
 
 
 
 
 
 
38440b4
 
e08ae2c
2c9923d
 
 
0b2121a
 
 
 
2c9923d
701218a
d788a92
 
b1eb17f
 
ac3610a
 
701218a
 
cf7435f
 
a5dba95
 
e08ae2c
 
77a518e
 
2c9923d
 
701218a
77ba0ac
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
---
dataset_info:
- config_name: 1k
  features:
  - name: opinion
    dtype: string
  - name: instruction
    dtype: string
  - name: question
    dtype: string
  - name: choices
    sequence: string
  - name: answer
    sequence: int64
  - name: task
    dtype: string
  splits:
  - name: test
    num_bytes: 20746554.315389965
    num_examples: 1000
  - name: val
    num_bytes: 20191583.272299055
    num_examples: 1000
  download_size: 33445966
  dataset_size: 40938137.58768902
- config_name: sc
  features:
  - name: opinion
    dtype: string
  - name: instruction
    dtype: string
  - name: question
    dtype: string
  - name: choices
    sequence: string
  - name: answer
    sequence: int64
  - name: task
    dtype: string
  splits:
  - name: test
    num_bytes: 124966347
    num_examples: 5000
  - name: val
    num_bytes: 125253167
    num_examples: 5000
  download_size: 138383906
  dataset_size: 250219514
- config_name: songer
  features:
  - name: opinion
    dtype: string
  - name: instruction
    dtype: string
  - name: question
    dtype: string
  - name: choices
    sequence: string
  - name: answer
    sequence: int64
  - name: task
    dtype: string
  splits:
  - name: test
    num_bytes: 82357950
    num_examples: 5000
  - name: val
    num_bytes: 79866000
    num_examples: 5000
  download_size: 94738667
  dataset_size: 162223950
configs:
- config_name: 1k
  data_files:
  - split: val
    path: 1k/val-*
  - split: test
    path: 1k/test-*
- config_name: sc
  data_files:
  - split: val
    path: sc/val-*
  - split: test
    path: sc/test-*
- config_name: songer
  data_files:
  - split: val
    path: songer/val-*
  - split: test
    path: songer/test-*
---

CaselawQA is a benchmark comprising legal classification tasks, drawing from the Supreme Court and Songer Court of Appeals legal databases.
The majority of its 10,000 questions are multiple-choice, with 5,000 sourced from each database.
The questions are randomly selected from the test sets of the [Lawma tasks](https://huggingface.co/datasets/ricdomolm/lawma-tasks).
From a technical machine learning perspective, these tasks provide highly non-trivial classification problems where even the best models leave much room for improvement.
From a substantive legal perspective, efficient solutions to such classification problems have rich and important applications in legal research.

Homepage: https://github.com/socialfoundations/lawma