2 Downloads Updated 2 days ago
ollama run alfaxad/wild-gemma4:e4b
Updated 2 days ago
2 days ago
47040d33c2c4 · 6.3GB ·
Savanna Sentinel fine-tune of Gemma 4 E4B IT for camera-trap wildlife monitoring.
This model reads image+text camera-trap prompts and is optimized to return structured JSON for Serengeti-style event interpretation, review routing, and biodiversity reporting workflows.
ollama run alfaxad/wild-gemma4:e4b
The model was evaluated with the Gemma 4/Ollama recommended sampling defaults:
temperature 1.0
top_p 0.95
top_k 64
Use image content before text content. Ask for strict JSON and validate the response before using it in a product workflow.
Example system prompt:
You are Savanna Sentinel. Return only valid JSON.
Example user prompt:
Classify this Serengeti camera-trap capture event. Use the image burst first, then the metadata. Return JSON with keys blank, detections, and review.
Gemma 4 supports thinking mode in Ollama. For JSON production, prefer non-thinking mode when you need short schema-only responses. Use thinking mode for harder visual reasoning checks, then strip any thought content and validate only the final JSON.
Do not carry thought content forward in multi-turn history.
{
"schema_version": "savanna_sentinel_event_v1",
"capture_event_id": "ASG...",
"blank": false,
"detections": [
{
"species": "zebra",
"count_bin": "3",
"behaviors": {
"standing": false,
"resting": false,
"moving": true,
"eating": false,
"interacting": false
},
"young_present": false,
"confidence": "high",
"evidence": {
"visual_basis": "Striped equids visible across the image burst.",
"frames_used": [1, 2, 3]
}
}
],
"review": {
"review_needed": false,
"reasons": []
}
}
Diagnostic eval on the corrected Ollama/GGUF export:
| Mode | Rows | JSON valid | Species exact | Blank correct | Review correct |
|---|---|---|---|---|---|
| Non-thinking | 40 | 0.725 | 0.364 | 0.889 | 1.000 |
| Thinking | 24 | 0.792 | 0.500 | 1.000 | 1.000 |
These are small diagnostic checks, not a final scientific benchmark.