NyayaAnumana & INLegalLlama: The Largest Indian Legal Judgment Prediction Dataset and Specialized Language Model for Enhanced Decision Analysis
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
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2018CAIL2018: A Large-Scale Legal Dataset for Judgment Predictioncited by 170
- 2020Fill in the BLANC: Human-free quality estimation of document summariescited by 82
- 2021Swiss-Judgment-Prediction: A Multilingual Legal Judgment Prediction Benchmarkcited by 60
- 2023Lawyer LLaMA Technical Reportcited by 54
- 2022Pre-trained Language Models for the Legal Domain: A Case Study on Indian Lawcited by 39
- 2017Exploring the Use of Text Classification in the Legal Domaincited by 31
- 2021Semantic Segmentation of Legal Documents via Rhetorical Rolescited by 26
- 2024Legal Judgment Reimagined: PredEx and the Rise of Intelligent AI Interpretation in Indian Courtscited by 15
- 2023Legal Question-Answering in the Indian Context: Efficacy, Challenges, and Potential of Modern AI Modelscited by 10
1 more
Built on by
Citing papers per year: 2025: 4.
4 papers.
- 2025NyayaRAG: Realistic Legal Judgment Prediction with RAG under the Indian Common Law Systemcited by 6
- 2025TathyaNyaya and FactLegalLlama: Advancing Factual Judgment Prediction and Explanation in the Indian Legal Contextcited by 1
- 2025JBE-QA: Japanese Bar Exam QA Dataset for Assessing Legal Domain Knowledgecited by 1
- 2025Judging by Appearances? Auditing and Intervening Vision-Language Models for Bail Predictioncited by 0
- 2025JBE-QA: Japanese Bar Exam QA Dataset for Assessing Legal Domain Knowledge28 Nov 2025
- 2025Judging by Appearances? Auditing and Intervening Vision-Language Models for Bail Prediction30 Sep 2025
- 2025NyayaRAG: Realistic Legal Judgment Prediction with RAG under the Indian Common Law System1 Aug 2025
- 2025TathyaNyaya and FactLegalLlama: Advancing Factual Judgment Prediction and Explanation in the Indian Legal Context7 Apr 2025