-
Filter cases to only those decided by the US Supreme Court on or after 1870.
python filter_cases.py
-
Collect samples of data for annotation.
python create_samples.py --output_name annotation_samples --size_sample
-
Evaluate model performance.
A number of files within themodel-testing
folder contain all model testing scripts. -
Prepare data for predictions at the paragraph level.
python prep_predictions.py
-
Run predictions on all opinion paragraphs.
python predictions.py
-
Divide metadata and predictions data.
python split_predictions.py
rosthalken / legal-reasoning Goto Github PK
View Code? Open in Web Editor NEWCode to accompany Modeling Legal Reasoning: LM Annotation at the Edge of Human Agreement