Text Classification
Transformers
PyTorch
Safetensors
English
bert
neural-search-query-classification
neural-search
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("shahrukhx01/question-vs-statement-classifier")
model = AutoModelForSequenceClassification.from_pretrained("shahrukhx01/question-vs-statement-classifier")Quick Links
KEYWORD STATEMENT VS QUESTION CLASSIFIER FOR NEURAL SEARCH
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("shahrukhx01/question-vs-statement-classifier")
model = AutoModelForSequenceClassification.from_pretrained("shahrukhx01/question-vs-statement-classifier")
Trained to add the feature for classifying queries between Question Query vs Statement Query using classification in Haystack
- Downloads last month
- 27,563
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="shahrukhx01/question-vs-statement-classifier")