We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.CY

Change to browse by:

cs

References & Citations

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Computers and Society

Title: Leveraging open-source models for legal language modeling and analysis: a case study on the Indian constitution

Authors: Vikhyath Gupta (Vidya Jyothi Institute of Technology, Hyderabad, Telangana, India), Srinivasa Rao P (Curlvee TechnoLabs, Hyderabad, Telangana, India)
Abstract: In recent years, the use of open-source models has gained immense popularity in various fields, including legal language modelling and analysis. These models have proven to be highly effective in tasks such as summarizing legal documents, extracting key information, and even predicting case outcomes. This has revolutionized the legal industry, enabling lawyers, researchers, and policymakers to quickly access and analyse vast amounts of legal text, saving time and resources. This paper presents a novel approach to legal language modeling (LLM) and analysis using open-source models from Hugging Face. We leverage Hugging Face embeddings via LangChain and Sentence Transformers to develop an LLM tailored for legal texts. We then demonstrate the application of this model by extracting insights from the official Constitution of India. Our methodology involves preprocessing the data, splitting it into chunks, using ChromaDB and LangChainVectorStores, and employing the Google/Flan-T5-XXL model for analysis. The trained model is tested on the Indian Constitution, which is available in PDF format. Our findings suggest that our approach holds promise for efficient legal language processing and analysis.
Comments: 10 Pages , 3 figures
Subjects: Computers and Society (cs.CY)
Cite as: arXiv:2404.06751 [cs.CY]
  (or arXiv:2404.06751v1 [cs.CY] for this version)

Submission history

From: Srinivasa Rao P [view email]
[v1] Wed, 10 Apr 2024 05:35:47 GMT (592kb,D)

Link back to: arXiv, form interface, contact.