CoolFace
Modelpublic

imShub10/msgsense-sms-albert-cleanaddr-fulldata-20260424

sourceHugging Facemitupdated 5mo agoView on Hugging Face
0likes15downloads
Model Card

MsgSense SMS Classifier

This model predicts a composite label in the format:

<score>_<sms_type_id>

  • —score (first digit): message importance used by app policy.
  • —sms_type_id (second part): category id from SmsClassificationTypeEntity mapping.

Input Format

Sender: <clean_address> | Message: <normalized body>

Output Decoding

Example output label: 3_37

  • —score = 3
  • —sms_type_id = 37 (SERVICE_NOTIFICATION)

Usage

python
from transformers import pipeline

pipe = pipeline(
    "text-classification",
    model="imShub10/msgsense-sms-albert-cleanaddr-fulldata-20260424",
)

text = "Sender: DAIKIN | Message: Your service request is scheduled."
print(pipe(text))

ALBERT

  • —accuracy: 0.95984
  • —f1 (weighted): 0.95965
  • —f1_macro: 0.91522
  • —precision: 0.96071
  • —recall: 0.95984
  • —test_loss: 0.59873
  • —train_loss: 0.01425
  • —trainingtimemin: 91.7
  • —modelsizemb: 46.6