File size: 2,133 Bytes
701218a
 
d788a92
 
 
 
 
 
 
 
 
 
 
 
d6e5738
 
d788a92
0ed90cf
d6e5738
d788a92
d6e5738
 
e08ae2c
701218a
 
 
 
 
 
 
 
 
 
 
bfb119b
 
701218a
 
bfb119b
701218a
bfb119b
 
e08ae2c
 
 
 
 
 
 
 
 
 
 
 
38440b4
 
e08ae2c
 
38440b4
e08ae2c
38440b4
 
701218a
d788a92
 
0ed90cf
 
701218a
 
 
 
e08ae2c
 
 
 
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
---
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
  download_size: 11721404
  dataset_size: 20746554.315389965
- 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
  download_size: 48290290
  dataset_size: 124966347
- 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
  download_size: 34691991
  dataset_size: 82357950
configs:
- config_name: 1k
  data_files:
  - split: test
    path: 1k/test-*
- config_name: sc
  data_files:
  - split: test
    path: sc/test-*
- config_name: songer
  data_files:
  - 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