Downloads · 30 days
9
9% of all-time downloads
mjayason/retail-banking-servicing-qa-lora
retail-banking-servicing-qa-lora is a machine learning model from mjayason. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as apache-2.0.
LoRA adapter for retailbanking (ragqa). answer retail banking customer servicing questions grounded in the bank's policy and product documents
Downloads · 30 days
9
9% of all-time downloads
All-time downloads
102
Public
Repo size
51.8 MB
Likes
0
Public
Click a slice to open those files.
.safetensors40.4 MB · 78%
From the Hugging Face model README
LoRA adapter for retail_banking (rag_qa). answer retail banking customer servicing questions grounded in the bank's policy and product documents
A demonstration adapter from the SLM Suite: trained on a fictional policy corpus (no real customer or institutional data), promoted through gated evaluations (retrieval_recall, citation_correct, groundedness, key_fact_match, assistive_refusal, no_regression), and assistive by training — it cites its sources and refuses to make decisions for the user (refusal behavior is a measured gate, not a prompt).
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
base = AutoModelForCausalLM.from_pretrained('Qwen/Qwen2.5-7B-Instruct')
model = PeftModel.from_pretrained(base, 'mjayason/retail-banking-servicing-qa-lora')
tok = AutoTokenizer.from_pretrained('Qwen/Qwen2.5-7B-Instruct')
Prompt shape: a Context: block of policy snippets, then the question — answers cite the [POLICY-ID]s present in the context.
The corpus is fictional and small; this is a capability demonstration, not a production system. Do not rely on it for real financial decisions.