jqweave-1.5b / OLLAMA.md
asterbraid's picture
Jqweave 1.5B: higher-capacity offline natural-language-to-jq with GGUF
79a44f0 verified
|
Raw History Blame Contribute Delete
781 Bytes

Run Jqweave with Ollama

The included Modelfile selects the Q4_K_M build, applies the required system prompt, limits the context to 4,096 tokens, and uses deterministic generation.

ollama create jqweave-1.5b -f Modelfile

Generate a command with a request and representative JSON input:

ollama run jqweave-1.5b $'Request:\nExtract the value of the name field.\n\nSample input:\n```json\n{"name":"delta","score":90}\n```'

Expected output:

jq '.name'

Review generated commands before execution. To run that example with jq itself:

printf '%s' '{"name":"delta","score":90}' | jq '.name'

Expected result:

"delta"

For a local HTTP API, use llama-server with jqweave-1.5b.Q4_K_M.gguf or the larger Q8_0 build.