--- language: en tags: - sentence-classification - sentence-transformers - text-classification library_name: scikit-learn --- # 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.