CoolFace
Modelpublic

pankaj1881/question-classification

sourceHugging Faceapache-2.0updated 1y agoView on Hugging Face
0likes8downloads
Model Card

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:

python
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.