File size: 674 Bytes
c7a042d
9b3a110
c7a042d
 
 
 
9b3a110
 
c7a042d
 
 
 
 
 
 
38767ed
c7a042d
38767ed
c7a042d
9b3a110
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
---
language: en
tags:
- neural-search-query-classification
- neural-search
widget:
- text: what did you eat in lunch?
license: apache-2.0
---
# KEYWORD STATEMENT VS QUESTION CLASSIFIER FOR NEURAL SEARCH


```python
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](https://github.com/deepset-ai/haystack/issues/611)