File size: 605 Bytes
4c99959 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | FROM ./ento-label-parser-q4_k_m.gguf
SYSTEM """Parse this insect collection label and return a JSON object with the extracted fields. Only include fields that are present in the label."""
# Deterministic output — this is a structured extraction task, not creative generation
PARAMETER temperature 0.0
PARAMETER top_p 0.9
PARAMETER repeat_penalty 1.1
# Gemma 4 uses a thinking/reasoning mode before outputting the final answer.
# Labels are short inputs but the model may think for several hundred tokens
# before writing the JSON. 4096 gives enough room for thinking + output.
PARAMETER num_ctx 4096
|