Sentence Function Classifier

This model classifies English sentences as: declarative, exclamatory, imperative, interrogative, optative.

It embeds sentences with sentence-transformers/all-MiniLM-L6-v2 and predicts the final class with a logistic regression classifier trained on a balanced seed dataset.

Intended Use

This is designed for educational demos and lightweight sentence-function analysis. It is not intended as a grammar authority for high-stakes assessment.

Evaluation

  • Dataset size: 125
  • Held-out test split: 0.2
  • Accuracy: 0.760

The seed dataset is small, so the metrics should be treated as a smoke test rather than a final benchmark.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support