Instructions to use mjayason/retail-banking-servicing-qa-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use mjayason/retail-banking-servicing-qa-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-7B-Instruct") model = PeftModel.from_pretrained(base_model, "mjayason/retail-banking-servicing-qa-lora") - Notebooks
- Google Colab
- Kaggle
retail_banking-rag_qa-v0
LoRA adapter for retail_banking (rag_qa). answer retail banking customer servicing questions grounded in the bank's policy and product documents
What this is
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).
Usage
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.
Limits
The corpus is fictional and small; this is a capability demonstration, not a production system. Do not rely on it for real financial decisions.
- Downloads last month
- 82