paper-with-me

홈 › Papers

ALKAFI-LLAMA3: Fine-Tuning LLMs for Precise Legal Understanding in Palestine

2024-12-19 · Rabee Qasem, Mohannad Hendi, Banan Tantour

Large Language Models (LLMs) have demonstrated remarkable potential in diverse domains, yet their application in the legal sector, particularly in low-resource contexts, remains limited. This study addresses the challenges of adapting LLMs to the Palestinian legal domain, where political instability, fragmented legal frameworks, and limited AI resources hinder effective machine-learning applications. We present a fine-tuned model based on a quantized version of Llama-3.2-1B-Instruct, trained on a synthetic data set derived from Palestinian legal texts. Using smaller-scale models and strategically generated question-answer pairs, we achieve a cost-effective, locally sustainable solution that provides accurate and contextually relevant legal guidance. Our experiments demonstrate promising performance on various query types, ranging from yes/no questions and narrative explanations to complex legal differentiations, while highlighting areas for improvement, such as handling calculation-based inquiries and structured list formatting. This work provides a pathway for the deployment of AI-driven legal assistance tools tailored to the needs of resource-constrained environments.

📄 PDF Abstract BibTeX arXiv:2412.14771

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically

Similar Papers 제목 키워드 기반

Label Supervised LLaMA Finetuning

2023-10-02 · Zongxi Li, Xianming Li, Yuzhang Liu, Haoran Xie 외

The recent success of Large Language Models (LLMs) has gained significant attention in both academia and industry. Substantial efforts have been made to enhance the zero- and few-shot generalization capabilities of open-…

GPUnamed-entity-recognitionNamed Entity RecognitionNamed Entity Recognition (NER)+7

Scaling Laws for Forgetting When Fine-Tuning Large Language Models

2024-01-11 · Damjan Kalajdzievski

We study and quantify the problem of forgetting when fine-tuning pre-trained large language models (LLMs) on a downstream task. We find that parameter-efficient fine-tuning (PEFT) strategies, such as Low-Rank Adapters (L…

parameter-efficient fine-tuning

LlamaCare: A Large Medical Language Model for Enhancing Healthcare Knowledge Sharing

2024-06-04 · Maojun Sun

Large language models (LLMs) have shown amazing capabilities in knowledge memorization and the present. However, when it comes to domain-specific knowledge and downstream tasks like medical, general LLMs are often unable…

ClassificationGPULanguage ModelingLanguage Modelling+2

SceneGenAgent: Precise Industrial Scene Generation with Coding Agent

2024-10-29 · Xiao Xia, Dan Zhang, Zibo Liao, Zhenyu Hou 외

The modeling of industrial scenes is essential for simulations in industrial manufacturing. While large language models (LLMs) have shown significant progress in generating general 3D scenes from textual descriptions, ge…

C++ codeScene Generation

RepairLLaMA: Efficient Representations and Fine-Tuned Adapters for Program Repair

2023-12-25 · André Silva, Sen Fang, Martin Monperrus

Automated Program Repair (APR) has evolved significantly with the advent of Large Language Models (LLMs). Fine-tuning LLMs for program repair is a recent avenue of research, with many dimensions which have not been explo…

HumanEvalparameter-efficient fine-tuningProgram Repair