# Run Sedweave 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. ```bash ollama create sedweave-7b -f Modelfile ``` Generate a command with a request and representative input: ```bash ollama run sedweave-7b $'Request:\nReplace every occurrence of amber with delta.\n\nSample input:\n```text\namber birch\ncobalt amber\n```' ``` Expected output: ```sed sed 's/amber/delta/g' ``` Review generated commands before execution. To run that example with `sed` itself: ```bash printf 'amber birch\ncobalt amber\n' | sed 's/amber/delta/g' ``` For a local HTTP API, use `llama-server` with `sedweave-7b.Q4_K_M.gguf` or the larger Q8_0 build.