Granite H350M — event commands, Q4_K_M
Selected fine-tune (epoch-1), merged with the pinned upstream model and quantized for offline CPU use in an Android application. This is a modified derivative, not the stock upstream model.
Intended use
Extract baby-tracking requests into proposed function calls. It is not a conversational assistant, medical adviser, memory-navigation model or storytelling model. Validate names, arguments, dates, quantities, permissions and record IDs in application code. Require user review before writes. No calibrated confidence score is provided.
Artifact
- File:
q4_k_m.gguf - Size: 222,662,080 bytes
- SHA-256:
90d3a78abbbe47f71655ac6551dd47eb8335fb51893230b4f352d773cbabdc73 - Base: ibm-granite/granite-4.0-h-350m, revision
3b17b717b8f2f5d305b0a92c1491e239aeda19c8 - Export: LoRA merge, GGUF, Q4_K_M; pinned llama.cpp
3d65c90d04d337e88f2b1f7f0061f40a5324e662.
App protocol
Use the granite-function-calls chat template, the extraction instruction and context layout in prompt_protocol.json, and the thirteen supported functions in command_tools.json. Those files are technical protocol definitions, not family data. JSON call envelopes are used for Granite/Qwen; FunctionGemma emits its native <start_function_call> format. An ordinary chat prompt or a broad application planning schema is not equivalent. The app converts complete, validated calls into reviewable plans; it does not fabricate confidence.
The tokenizer and chat template are embedded in GGUF. The tested mobile configuration uses an 8,192-token context, greedy command decoding and a 512-token output cap. JSON syntax constraints do not establish factual correctness; reject partial/truncated outputs.
Evaluation and limits
The earlier BF16 desktop checkpoint scored 85.2% exact tool/argument matches across 440 synthetic matched cases in ten languages, with separate weak-language Amharic stress tests. This is not a mobile-Q4 accuracy claim or native-speaker validation. The desktop tool catalog was broader than the thirteen-tool app protocol. Quantization, different prompts/catalogs and hardware can change results. Errors can include wrong quantities, dates, IDs and unwanted writes despite valid syntax. English and Brazilian Portuguese were the training languages.
No dataset, family conversations, logs, credentials or app database is included in this release. See MODEL_MANIFEST.json for provenance and NOTICE for modifications. The model weights remain subject to the upstream license in LICENSE.
Mobile integration check
Eight synthetic app-catalog requests (six English and two Portuguese) through the actual Android runtime on Samsung SM-S901E, Q4_K_M, CPU, 8K context. Exact complete tool/argument matches: 8/8. Peak whole Flutter debug app RSS 1.20 GiB, maximum request-baseline increase 504 MiB, median 33.0 seconds. This tiny integration sample is not a production accuracy estimate, model-only RAM measurement, or validation on smaller phones.
The published prompt examples omit application branding; the integration measurements used the original corresponding prompts.