Ambedkar-v1
LoRA adapter for legal RAG systems
2 min read
The new LoRA adapter (a small add-on over the base model) Ambedkar-v1-qwen3.5-2b-lora is built on top of the Qwen/Qwen3.5-2B model using Unsloth. Its main task is not to store legal knowledge, but to control model behavior in a RAG pipeline (an approach with document search) concerning Indian law. The model is trained to strictly quote provided excerpts, politely refuse to answer when data is insufficient instead of inventing facts, and ask clarifying questions. The adapter supports English, Hindi, and Hinglish, and will be useful for developers of legal assistants and researchers of compact language models.
Key features
- Behavioral training: focus on context adherence, source citation, and correct refusals.
- Multilingualism: support for English, Hindi, and Hinglish.
- Compact base: based on the efficient language model
Qwen/Qwen3.5-2B. - Training via Unsloth: the adapter is optimized for fast performance and easy integration.
What you can do
- Chatbot integration: connect the adapter to a search system (retriever) for law-based answers within a RAG pipeline.
- Query processing: set up automatic clarification of details from the user when source data is incomplete.
- Legal situation analysis: apply for case breakdown in consumer law, IT acts, labor, and real estate.
Example
from unsloth import FastLanguageModel
model, tokenizer = FastLanguageModel.from_pretrained(
"bhimaailabs/Ambedkar-v1-qwen3.5-2b-lora",
max_seq_length=4096,
load_in_4bit=False,
)
FastLanguageModel.for_inference(model)Read more
DetailsBASE MODEL: Qwen/Qwen3.5-2B
DATASET: bhimaailabs/indian-legal-situations (2,703 training examples)
LICENSE: Apache-2.0
LIMITATIONS: Not legal advice; requires an external verified search module (retriever) for current laws.










Comments