Downloads · 30 days
0
mjpsm/checkin_or_not_model
checkin_or_not_model is a text classification model from mjpsm. Use it when you need a label for a piece of text. It is set up for xgboost. The card lists the license as apache-2.0.
This model is a binary text classifier that determines whether a Slack message is a CHECKIN or NOTCHECKIN. It was trained using a balanced dataset of real Slack check-ins and synthetic non-check-in examples. The model…
Downloads · 30 days
0
Access
Public
Updated Feb 12, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
.json1.9 MB · 100%
From the Hugging Face model README
This model is a binary text classifier that determines whether a Slack message is a CHECKIN or NOT_CHECKIN. It was trained using a balanced dataset of real Slack check-ins and synthetic non-check-in examples. The model uses sentence-transformer embeddings combined with an XGBoost classifier.
This model is designed for automation systems such as Slack bots, n8n workflows, CIC MCP agents, and productivity tracking tools. It detects whether a user message represents real progress or general conversation.
Example predictions:
"Today I refined the workflow automation" → CHECKIN
"Does anyone have the Zoom link?" → NOT_CHECKIN
Dataset size: 4,277 total examples
Labels:
Training achieved 100% accuracy due to the dataset being clean, consistent, and linearly separable.
checkin_or_not_classifier.json
README.md
from sentence_transformers import SentenceTransformer
import xgboost as xgb
import numpy as np
from huggingface_hub import hf_hub_download
# ----------------------------------------------------
# 1. Load the embedding model (must be downloaded locally)
# ----------------------------------------------------
# Users must install: pip install sentence-transformers
embedder = SentenceTransformer("all-MiniLM-L6-v2")
# ----------------------------------------------------
# 2. Download your XGBoost model from HuggingFace Hub
# ----------------------------------------------------
model_path = hf_hub_download(
repo_id="mjpsm/checkin_or_not_model",
filename="checkin_or_not_classifier.json"
)
# Load the model
booster = xgb.Booster()
booster.load_model(model_path)
# ----------------------------------------------------
# 3. Prediction function
# ----------------------------------------------------
def predict(text: str):
emb = embedder.encode([text])
dmatrix = xgb.DMatrix(emb)
score = float(booster.predict(dmatrix)[0])
label = "CHECKIN" if score >= 0.5 else "NOT_CHECKIN"
return {"label": label, "score": score}
# ----------------------------------------------------
# 4. Example usage
# ----------------------------------------------------
example = "Today I worked on improving the automation workflow."
result = predict(example)
print(result)
This model is intended for binary classification of short messages. It is not intended for sentiment analysis, toxicity detection, or general-purpose NLP tasks.
Apache-2.0
Mazamesso “Mazzy” Meba
University of North Florida
AI Automation & Engineering