action_prob: Float32[1] — sigmoid probability of action required (threshold 0.5)
No text generation, no decoder, no beam search.
Example:
Input: "Subject: Your order has shipped\n\nBody: Your order #12345 is on its way..."
Output: category_probs → TRANSACTION (0.94), action_prob → 0.12 (NO_ACTION)
Intended Use
Primary: On-device email triage in mobile apps (iOS/Android)
Runtime: ONNX Runtime React Native
Use case: Prioritizing inbox, filtering noise, surfacing actionable emails
Model Details
Attribute
Value
Base Model
microsoft/Multilingual-MiniLM-L12-H384
Parameters
~117M
Architecture
XLM-R encoder + dual classification heads
ONNX Size
113 MB (INT8 quantized)
Max Sequence
256 tokens
Tokenizer
SentencePiece BPE (250K vocab)
Performance
Metric
Score
Category Accuracy
92.0%
Action Accuracy
82.8%
Quantization
INT8 dynamic (4x compression)
Training Data
Source: Personal Gmail inboxes (anonymized)
Languages: English, French
Labeling: Human-annotated with category + action flag
Input format:Subject: ...\n\nBody: ... (no instruction prefix)