Question Classification Model for Bank Queries

This model is fine-tuned specifically for banking-related queries to classify whether a user intends to perform a transaction or not.

🧠 Use Case

Given a text input (a user question or statement), the model returns:

  • "True": if the query is a question
  • "False": otherwise

πŸ”§ How to Use

You can use this model directly with the Hugging Face transformers pipeline:

from transformers import pipeline

hf_model = "pankaj1881/question-classification"

classifier = pipeline("text-classification", model=hf_model)

query = "I want to transfer 500 dollars to my friend"
result = classifier(query)

print(result)
# Output example: [{'label': 'False', 'score': 0.8767889142036438}] i.e it's not a question.
Downloads last month
47
Safetensors
Model size
109M params
Tensor type
F32
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for pankaj1881/question-classification

Finetuned
(5491)
this model