NUST Bank Assistant

A specialized banking assistant for NUST Bank using microsoft/Phi-3-mini-128k-instruct.

Model Details

  • Base Model: microsoft/Phi-3-mini-128k-instruct
  • Model Type: phi3
  • Embedding Model: all-MiniLM-L6-v2
  • Knowledge Base Size: 246 items

Deployment

This model is deployed using safetensors format for improved security and performance.

Usage

You can use this model directly through the Hugging Face API or deploy it locally using the provided app.py script.

Example:

from transformers import AutoModelForCausalLM, AutoTokenizer

tokenizer = AutoTokenizer.from_pretrained("shaheer8431/nust-bank-chatbot")
model = AutoModelForCausalLM.from_pretrained("shaheer8431/nust-bank-chatbot")

# Generate a response
prompt = "What services does NUST Bank offer?"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(response)
Downloads last month
1
Inference Providers NEW
This model isn't deployed by any Inference Provider. 馃檵 Ask for provider support

Model tree for shaheer8431/nust-bank-chatbot

Finetuned
(44)
this model