Digital Repository

Enhancing Domain-Specific Accuracy and Reliability in Large Language Models: A Case Study on a Marriage and Divorce Information Chat System Based on Sri Lankan Law.

Show simple item record

dc.contributor.author Pathirage, Rajith
dc.date.accessioned 2025-06-27T04:06:55Z
dc.date.available 2025-06-27T04:06:55Z
dc.date.issued 2024
dc.identifier.citation Pathirage, Rajith (2024) Enhancing Domain-Specific Accuracy and Reliability in Large Language Models: A Case Study on a Marriage and Divorce Information Chat System Based on Sri Lankan Law.. BSc. Dissertation, Informatics Institute of Technology en_US
dc.identifier.issn 20191155
dc.identifier.uri http://dlib.iit.ac.lk/xmlui/handle/123456789/2714
dc.description.abstract "The effectiveness of Large Language Models (LLMs) is critical for providing legal advice about Sri Lankan marriage and divorce laws. The novel improvements using Retrieval-Augmented Generation (RAG) and QLORA-efficient fine-tuning techniques are investigated in this thesis. Using a customised dataset, the QLORA-efficient fine-tuning method modifies the Mistral-7B-Instruct-v0.2 LLM, utilising quantification and Low-Rank Adaptation approaches to maximise accuracy. Simultaneously, the addition of verifiable legal text from genuine court papers enhances model replies through RAG integration, improving accuracy and decreasing false positives. Comprehensive metrics evaluation, such as total scores, BERTScore F1, and ROUGE scores, show that the RAG-enhanced model regularly outperforms the fine-tuned model and the original LLM. The effectiveness of the RAG methodology in providing relevant and well-supported legal advice is further validated by expert reviews. A chatbot that made use of the RAG model was then created to operationalize this better strategy. This application not only increases the model's faithfulness but also creates a trustworthy resource for anyone looking for accurate legal advice regarding marriage and divorce laws in Sri Lanka. " en_US
dc.language.iso en en_US
dc.subject Retrieval Augmented Generation en_US
dc.subject Data Augmentation en_US
dc.subject Fine-Tuning Large Language Models en_US
dc.title Enhancing Domain-Specific Accuracy and Reliability in Large Language Models: A Case Study on a Marriage and Divorce Information Chat System Based on Sri Lankan Law. en_US
dc.type Thesis en_US


Files in this item

This item appears in the following Collection(s)

Show simple item record

Search


Advanced Search

Browse

My Account