Menu

1 / 2

I fine-tuned a 385 MB model to give money advice offline. It isn't allowed to write a number.

DEV Community: android·Yogin Parmar·12 days ago
#YpyeN3RL
#devtoandroid#devto#dev#model#phone
Long article (898 words) — no AI summary yet.
Reading 0:00
15s threshold

DailyBudget, the Android budgeting app I'm building, has an "Ask" tab. You type or say a money question, in English or Hinglish ("kitna bacha hai?"), and it answers. It works with the phone in flight mode, because the app has no internet permission at all.

The rule that makes it work: the AI writes words, the app writes numbers. The model that runs on the phone is never allowed to put a single rupee amount in its answer.

Below is why, and what it took to make a 385 MB model useful.

Two layers, one answer

Every question goes through the app's own code first.

If it's an exact question ("how much is left today?", "what did I spend on petrol this month?"), a plain Kotlin class called Advisor answers it instantly from the transactions it already parsed from bank SMS.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.