mlsanityData to 14 Oct 2026

NyayaAnumana & INLegalLlama: The Largest Indian Legal Judgment Prediction Dataset and Specialized Language Model for Enhanced Decision Analysis

arXiv 2412.08385 ↗First posted 11 Dec 2024cs.CL cs.AI cs.IRcited by 4

Not on the map. Why?

Abstract (arXiv)

The integration of artificial intelligence (AI) in legal judgment prediction (LJP) has the potential to transform the legal landscape, particularly in jurisdictions like India, where a significant backlog of cases burdens the legal system. This paper introduces NyayaAnumana, the largest and most diverse corpus of Indian legal cases compiled for LJP, encompassing a total of 7,02,945 preprocessed cases. NyayaAnumana, which combines the words "Nyay" (judgment) and "Anuman" (prediction or inference) respectively for most major Indian languages, includes a wide range of cases from the Supreme Court, High Courts, Tribunal Courts, District Courts, and Daily Orders and, thus, provides unparalleled diversity and coverage. Our dataset surpasses existing datasets like PredEx and ILDC, offering a comprehensive foundation for advanced AI research in the legal domain. In addition to the dataset, we present INLegalLlama, a domain-specific generative large language model (LLM) tailored to the intricacies of the Indian legal system. It is developed through a two-phase training approach over a base LLaMa model. First, Indian legal documents are injected using continual pretraining. Second, task-specific supervised finetuning is done. This method allows the model to achieve a deeper understanding of legal contexts. Our experiments demonstrate that incorporating diverse court data significantly boosts model accuracy, achieving approximately 90% F1-score in prediction tasks. INLegalLlama not only improves prediction accuracy but also offers comprehensible explanations, addressing the need for explainability in AI-assisted legal decisions.

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 13 of its 35 references that are in the map. First posted on arXiv 11 Dec 2024.

Builds on

13 of 35 references.

References · 13

  1. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  2. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  4. 2018CAIL2018: A Large-Scale Legal Dataset for Judgment Predictioncited by 170
  5. 2020Fill in the BLANC: Human-free quality estimation of document summariescited by 82
  6. 2021Swiss-Judgment-Prediction: A Multilingual Legal Judgment Prediction Benchmarkcited by 60
  7. 2023Lawyer LLaMA Technical Reportcited by 54
  8. 2022Pre-trained Language Models for the Legal Domain: A Case Study on Indian Lawcited by 39
  9. 2017Exploring the Use of Text Classification in the Legal Domaincited by 31
  10. 2021Semantic Segmentation of Legal Documents via Rhetorical Rolescited by 26
  11. 2024Legal Judgment Reimagined: PredEx and the Rise of Intelligent AI Interpretation in Indian Courtscited by 15
  12. 2023Legal Question-Answering in the Indian Context: Efficacy, Challenges, and Potential of Modern AI Modelscited by 10
1 more
  1. 2024Aalap: AI Assistant for Legal & Paralegal Functions in Indiacited by 4

Built on by

Cited by year

Citing papers per year: 2025: 4.

4 papers.