fintech-chatbot-t5

Model Description

This model was fine-tuned using a retail banking chatbot dataset. It is based on the T5-small architecture and is capable of answering common banking-related queries like account balances, transaction details, card activations, and more.

The model has been trained to generate responses to banking-related customer queries and is suited for use in automated customer service systems or virtual assistants.

Model Details

Training Details

  • Number of Epochs: 3
  • Training Loss: 0.79
  • Evaluation Loss: 0.46
  • Evaluation Metric: Mean Squared Error
  • Batch Size: 8

How to Use the Model

You can load and use this model with the following code:

from transformers import T5Tokenizer, T5ForConditionalGeneration

tokenizer = T5Tokenizer.from_pretrained("cuneytkaya/fintech-chatbot-t5")
model = T5ForConditionalGeneration.from_pretrained("cuneytkaya/fintech-chatbot-t5")

input_text = "How can I activate my credit card?"
inputs = tokenizer.encode(input_text, return_tensors="pt")
outputs = model.generate(inputs)

print(tokenizer.decode(outputs[0]))

Downloads last month
96
Safetensors
Model size
60.5M params
Tensor type
F32
·
Inference Examples
Unable to determine this model's library. Check the docs .

Model tree for cuneytkaya/fintech-chatbot-t5

Base model

google-t5/t5-small
Finetuned
(1622)
this model

Dataset used to train cuneytkaya/fintech-chatbot-t5

Space using cuneytkaya/fintech-chatbot-t5 1