The model predicts when a court case should have an 'r', 'v', or 'a' flag. These stand for a judge's order: "reversing", "vacating" or "affirming". This is successfully solved by fine-tuning Google’s Bidirectional Encoder Representations from Transformers.
pablo-tech/BERT-Legal-Classification
CaseText Court Case analysis with fine-tuned BERT Transformer
Jupyter Notebook