carowagner/classify-questions-3A
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.06497155874967575
f1_macro: 0.9505791505791507
f1_micro: 0.99
f1_weighted: 0.9893127413127414
precision_macro: 0.996415770609319
precision_micro: 0.99
precision_weighted: 0.9901075268817204
recall_macro: 0.9166666666666666
recall_micro: 0.99
recall_weighted: 0.99
accuracy: 0.99
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-3A")
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:
3A. Do answers to this interrogative require some other fact/opinion already being true?
- Only questions that ask about the cause of a fact the questioner assumes to be true should be answered with YES.
- Example: “Tell me why Donald Trump will be the next president elect” — the answer presumes that Trump will indeed be elected.
- Example: “Why are people so comfortable with eating animal corpses?” — the question assumes that people are comfortable doing so.
- If the question does not rely on a presupposed fact or opinion, answer NO.
