Downloads · 30 days
20
17% of all-time downloads
dataeaze/dataeaze-RegLLM-microsoft_phi_2-dzcompli
dataeaze-RegLLM-microsoft_phi_2-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
20
17% of all-time downloads
All-time downloads
119
Public
Parameters
2.8B
11.1 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors11.1 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.
from transformers import pipeline
import torch
pipe = pipeline("text-generation", model="dataeaze/dataeaze-RegLLM-microsoft_phi_2-dzcompli",
torch_dtype=torch.bfloat16,
device_map="auto")
pipe.tokenizer.pad_token = pipe.tokenizer.eos_token
result = pipe(f"What are the skills that a CCO should have?",
max_new_tokens=256,
do_sample=True,
temperature=0.1,
top_k=50,
top_p=0.95)[0]['generated_text']
print(result)
What are the skills that a CCO should have?
Instruct: What are the skills that a CCO should have?
Output: The skills that a CCO should have include leadership, communication, and a strong understanding of compliance.
They should also be able to work effectively with other departments and have a good track record of compliance.
For evalating truthfulness / hallucination of this response, refer to RBI notification RBI/2022-23/24 Ref.No.DoS.CO.PPG./SEC.01/11.01.005/2022-23 (page 8)
Screenshot below
<img src="CCO_Skills.png" alt="rbi-gold-answer" width="1000"/>As you can see, RegLLM has identified CCO has identified Chief Compliance Officer, while GPT-4 (Copilot) identifies CCO has Chief Commercial Officer. 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" contactus@dataeaze.io