GGUF
conversational

Legal Assistant LLM (GGUF) ๐Ÿ“Œ Overview

This is a fine-tuned legal-domain language model designed to answer legal questions in an instruction-following format.

Base Model: LLaMA 3.2 1B Instruct

Fine-tuning Method: LoRA

Quantization: Q4_K_M (GGUF)

Format: GGUF

Inference Compatible With:

Ollama

llama.cpp

๐ŸŽฏ Intended Use

This model is intended for:

Educational purposes

Legal concept explanation

Academic research

โš ๏ธ Not intended for professional legal advice.

๐Ÿ“Š Training Details

Method: Supervised Fine-Tuning (SFT)

LoRA rank: 64

Epochs: 3

Batch Size: 2

Gradient Accumulation: 4

Max Sequence Length: 2048

๐Ÿงพ Dataset

Custom instruction-response legal dataset in JSON format:

{ "Instruction": "What is Article 21?", "Response": "Article 21 of the Indian Constitution guarantees..." } ๐Ÿ’ป How To Run Using Ollama ollama create legal-assistant -f Modelfile ollama run legal-assistant Using llama.cpp ./main -m Llama-3.2-1B-Instruct_Q4_K_M.gguf -p "What is bail under Indian law?" โš ๏ธ Limitations

May hallucinate legal details

Does not replace a lawyer

Requires human verification

Downloads last month
21
GGUF
Model size
1B params
Architecture
llama
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support