Gmail Email Classifier (FLAN T5 ONNX) A fine tuned FLAN T5 small model for email classification, optimized for on device inference in mobile apps using ONNX Runtime. Model Description This model classifies emails into 5 categories and determines if action is required: Category Description PERSONAL 1:1 human communication, social messages NEWSLETTER Marketing, promotions, subscribed content TRANSACTION Orders, receipts, payments, confirmations ALERT Security notices, important notifications SOCIAL Social network notifications, community updates Output Format Example: 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 google/flan t5 small Parameters ~80M Architecture T5 Encoder Decoder ONNX Size 357 MB (encoder: 141 MB, decoder: 232 MB) Latency ~79ms (iPhone, CPU) Max Sequence 512 tokens Training Data Size: 2,043 training / 256 validation / 255 test examples Source: Personal Gmail inboxes (anonymized) Languages: English, French Labeling: Human annotated with category + action flag How to Use ONNX Runtime (React N…
We use cookies for essential functionality and analytics. You can accept or reject analytics cookies.Cookie policy