YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Action Requirement Classifier

This repository contains a lightweight text classifier for predicting whether a message is:

  • action_required
  • informational
  • optional_action

What’s inside

  • classifier.joblib: a scikit-learn classifier trained on SentenceTransformer embeddings
  • encoder/: the SentenceTransformer encoder saved via SentenceTransformer.save()
  • metadata.json: bundle metadata (model selection metric, encoder name, etc.)

Quickstart (Python)

import joblib
from sentence_transformers import SentenceTransformer

encoder = SentenceTransformer("./encoder")
clf = joblib.load("classifier.joblib")

texts = ["Please upload a clearer photo of your ID."]
emb = encoder.encode(texts)
pred = clf.predict(emb)
print(pred[0])

Notes

  • The classifier expects embeddings from the included encoder/ directory.
  • If you move files around, update paths accordingly.
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

Space using McOwska/action-requirement-classifier 1