carowagner/classify-questions-2B
Interrogative Type Classifier (Belnap & Steel Taxonomy)
1. Model Overview
This model is a fine-tuned version of google-bert/bert-base-uncased with AutoTrain Advanced on a custom dataset annotated with question-type labels according to the taxonomy of interrogatives defined by Belnap & Steel (1976). It forms part of a broader ensemble of models that classify English-language questions into one of several interrogative categories, as described in the table below.
Interrogative Taxonomy Overview
Validation Metrics
loss: 0.21065853536128998
f1_macro: 0.7477924163007036
f1_micro: 0.93
f1_weighted: 0.9184048732115031
precision_macro: 0.975177304964539
precision_micro: 0.93
precision_weighted: 0.9352127659574468
recall_macro: 0.6481481481481481
recall_micro: 0.93
recall_weighted: 0.93
accuracy: 0.93
2. Intended Use
This model is intended for academic, research, and educational use.
3. How to Use
- Input: Plain English text (trained on interrogatives that diverse participants asked Language Models)
- Output: Predicted category label + confidence score
- Training metrics: Available on the model’s Hugging Face page under the “Training Metrics” section (TensorBoard enabled)
Please find an example implementation in python below:
from transformers import pipeline
classifier = pipeline("text-classification", model="carowagner/classify-questions-2B")
classifier("How does this model work?")
4. Training Data Labelling Instructions
The annotators who labeled the fine-tuning dataset were given the following instructions for classification:
2B. Does it explicitly present a series of options?
- Answer YES if the question explicitly presents a list from which the answerer must choose.
- Answer NO if the question does not define an explicit list.
- Example: “Do you think animals go to heaven or hell?” → YES, because the answerer must choose between “heaven” and “hell.”
