YAML Metadata
Warning:
empty or missing yaml metadata in repo card
(https://huggingface.co/docs/hub/model-cards#model-card-metadata)
Email Classifier โ RandomForest + TF-IDF
A machine learning model that classifies IT service desk emails into four categories: Incident, Problem, Change, and Request.
Model Details
- Vectorizer: TF-IDF (1โ3 n-grams, 15k features)
- Classifier: RandomForestClassifier
- Preprocessing: Lowercasing, lemmatization, stopword removal (retains negations)
- Oversampling:
RandomOverSamplerto handle class imbalance
Overall accuracy: 76%
Macro avg F1: 0.73
How to Use
Load Pretrained Model
import joblib
# Load model
model = joblib.load("email_classifier.joblib")
# Predict
sample = ["My Outlook stopped working after update."]
prediction = model.predict(sample)
print(prediction)
Inference Providers
NEW
This model isn't deployed by any Inference Provider.
๐
Ask for provider support