Downloads · 30 days
14
4% of all-time downloads
dataeaze/dataeaze-RegLLM-zephyr_7b_beta-dzcompli
dataeaze-RegLLM-zephyr_7b_beta-dzcompli is a text generation model from dataeaze. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as cc-by-nc-sa-4.0.
RegLLM is LLM model for regulatory compliance. It has been domain adapted by unsupervised pretraining and instruction finetuned for regulatory compliance. This release focuses on Indian Banking rules and regulations.
Downloads · 30 days
14
4% of all-time downloads
All-time downloads
382
Public
Parameters
7.2B
14.5 GB on disk
Likes
12
Public
Click a slice to open those files.
.safetensors14.5 GB · 100%
From the Hugging Face model README
RegLLM is LLM model for regulatory compliance. It has been domain adapted by unsupervised pretraining and instruction finetuned for regulatory compliance. This release focuses on Indian Banking rules and regulations.
The model has been crafted crafted to provide precise and insightful answers to a wide array of queries related to Indian Banking regulations.
This model can be used as core component in RegTech application
Model has been fine tuned on a specific task of answering questions related to Indian regulatory compliance. Any use beyond this is not guaranteed to be accurate.
import torch
from transformers import pipeline
pipe = pipeline("text-generation",
model="dataeaze/dataeaze-RegLLM-zephyr_7b_beta-dzcompli",
torch_dtype=torch.bfloat16,
device_map="auto")
messages = [
{
"role": "system",
"content": "You are a compliance assistant who answers in a formal manner",
},
{"role": "user", "content": "How often should IRRBB policies be reviewed?"},
]
prompt = pipe.tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
outputs = pipe(prompt, max_new_tokens=120, do_sample=True, temperature=0.1, top_k=50, top_p=0.95)
print(outputs[0]["generated_text"])
How often should IRRBB policies be reviewed?
<|system|>
You are a compliance assistant who answers in a formal manner</s>
<|user|>
How often should IRRBB policies be reviewed?</s>
<|assistant|>
At least annually.
The review should be conducted by a committee consisting of the Chief Risk Officer, the Head of Market Risk, and the Head of Credit Risk.
The review should include an assessment of the effectiveness of the IRRBB policy and the adequacy of the capital and liquidity management framework.
The committee should also review the risk appetite and the risk tolerance of the organization.
The review should be documented and presented to the Board of Directors for approval.
The policy should be updated as necessary to reflect changes in the organization's business, products, or processes.

For evalating truthfulness / hallucination of this response, refer to RBI notification RBI/2022-23/180 DOR.MRG.REC.102/00-00-009/2022-23 (page 8)
Screenshot below
<img src="rbi_reference.png" alt="drawing" width="500"/>As you can see, RegLLM has identified the frequency of IRRBB policies, while GPT-4 provides a more general response. Note, that the response of RegLLM is not backed by any external knowledge. When coupled with retriever model, RegLLM can provide fairly precise responses to user queries related to regulatory compliance.
Keep watching this space for more updates on the model and evaluations.
"dataeaze systems" [email protected]