How Receipt Category Classifier works
Press Load model once: your browser downloads Gemma 4 E2B instruction-tuned (web build) (2.0 GB) from this site and keeps it in its cache. Then add your text and press Classify receipt. The model runs on this device using your graphics card, so nothing you enter is sent to a server. Until the model is loaded, or if your device cannot run it, the tool falls back to a simple keyword check and labels the result as the fallback.
Gemma 4 E2B instruction-tuned (web build) is a small open language model from Google. The tool sends it the instruction below plus your text, asks for a JSON answer with fixed fields, and shows each field as a card. It runs at temperature 0, so the same input gives the same answer on the same device, though different graphics cards can word it slightly differently.
Inputs longer than 6,000 characters are cut to that length before they reach the model, and the result says so. The model only sees what you paste: it does not look anything up.
The instruction the model gets
You read the text of a receipt (or a short note about one) and give it a budget category so it can be filed. Use one of: Groceries, Restaurant and coffee, Fuel and transport, Pharmacy and health, Travel and lodging, Subscriptions and software, Utilities, Office and business supplies, Household and shopping, Other. Use what you know about common merchants and the items listed. If the receipt mixes categories, give the main one and list the items that belong elsewhere. If the text is not a receipt, say the category is Other and explain. This is not financial, tax or legal advice, so do not tell the user what they should do with their money. Do not do any arithmetic: copy every amount, date and percentage exactly as written, and never compute totals, differences, gaps, averages or percentages.
What it returns
- Category: One category from the list, then a few words on why.
- Merchant: The store or company name exactly as written, or empty if none is given.
- Items that belong elsewhere: Items that fit a different category, written as 'item → Category'.
- Details to keep: Date, payment method, receipt number and total exactly as written.
