Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 1.06 KB

File metadata and controls

27 lines (19 loc) · 1.06 KB

Negative Precedent in Legal Outcome Prediction

This is a repository for code used in the paper: On the Role of Negative Precedent in Legal Outcome Prediction

Model options

  • baseline_positive
  • baseline_negative
  • mtl
  • claim_outcome
  • joint_model
  • claims

To train the Claim-Outcome model, first train a baseline_positive and claims model and provide a path to them using the --pos_path and --claim_path arguments. You must also set the --inference flag.

Get Started

Create a conda environment with the envirionment.yml file.

Outcome corpus

To preprocess the datasets, first download from the links below:

Make a new 'ECHR' directory and copy the Outcome corpus files into a 'ECHR/Outcome' sub-directory. Similarily, copy the Chalkdis et al. files into a 'ECHR/Chalkidis' sub-directory.

You can now run 'preprocess_data.py' to create the tokenized files.