This is an experimental quantization of the public legacy Moondream2 GGUF used while developing the Android food-waste reduction project ZjedzNaCzas. The model files run locally after download. Hosting these weights does not provide a photo-recognition service.
The source repository is ggml-org/moondream2-20250414-GGUF, revision 97d0efa4667189aea70998d0b1ee36a7a3214fcb. Its package name identifies the GGUF distribution; the weights use the older phi2 Moondream architecture. See the upstream author's clarification.
The text model was quantized with llama.cpp b8392, commit 627670601a64569d9d822c8d52a8ff39ed69cce5, built from source in Google Colab on CPU. Inputs, the complete output files, GGUF metadata and provenance were checked again on the development computer. provenance.json records the conversion and compiler details.
| Component | Bytes | SHA-256 |
|---|---|---|
moondream2-text-q4_k_m.gguf |
919494144 | 6b04b0516b8e2687f1b17e7c26a07c4a7ff2a9707b5dd6b43c7c7bb2c9e0aa9d |
| Original F16 projector | 909777984 | 4cc1cb3660d87ff56432ebeb7884ad35d67c48c7b9f6b2856f305e39c38eed8f |
The projector is available from the pinned upstream file. The Android package uses the local filename moondream2-mmproj-f16.gguf for these identical bytes. Both components together require approximately 1.83 GB, plus working space during import or download.
The text GGUF metadata contains the inherited vicuna template. For the legacy visual-query path, use the upstream Moondream format: one explicit BOS token, then the image embeddings, \n\nQuestion: , the question, and \n\nAnswer:. The file disables automatic BOS insertion. ZjedzNaCzas prepares this input explicitly.
One synthetic label was read correctly after correcting that framing. On the Colab CPU, that single attempt took 95.267 seconds including loading; the fixture contained USE BY and 15.11.2026, and the generated answer contained the date. This is a development integration check. Accuracy on real packaging, Android latency, cold start, memory use and the five-second target still require device testing. qualityApproved remains false.
Every proposed date requires human confirmation. A model answer must never establish food safety, manufacture a missing date, or silently approve a date. The application's one-attempt limit and manual-entry path remain necessary.
This distribution preserves the Apache-2.0 license and upstream provenance. It does not include user photographs, private food inventory or project participant data.