Skip to content

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

License

Notifications You must be signed in to change notification settings

valvoda/Negative-Precedent-in-Legal-Outcome-Prediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages