Menu

I fine-tuned a 270M model to read receipts as well as a 3 GB one (free Colab GPU, fictional data, C# test)
📰

I fine-tuned a 270M model to read receipts as well as a 3 GB one (free Colab GPU, fictional data, C# test)

DEV Community: dotnet·Gabby Gill·7 days ago
#GcuwFKPY
#devtodotnet#devto#dev#model#receipts
Long article (1401 words) — no AI summary yet.
Reading 0:00
15s threshold

In October I built Shoebox , a private receipt and GST sorter, for the Hacktoberfest Open-Source AI Challenge. It used Gemma 3 4B through Ollama to read receipt photos on my own computer. It worked, but it was slow (about 80 seconds per receipt on a CPU-only machine), and it got the GST wrong on 2 of 6 sample receipts.

So I asked a simple question: can a tiny model, trained for just this one job, do it as well as a much bigger general model?

Short answer: on my test, yes. A fine-tuned Gemma 3 270M (about 0.3 GB) got every field right on all 6 test receipts, in about 1 second per receipt on my laptop CPU. The big model needed 31 seconds for the same result.…

Continue reading — create a free account

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