FROM ari_assistant_1.5b.gguf TEMPLATE """{{ if .System }}<|im_start|>system {{ .System }}<|im_end|> {{ end }}{{ if .Prompt }}<|im_start|>user {{ .Prompt }}<|im_end|> <|im_start|>assistant {{ else if .Messages }}{{ range .Messages }}<|im_start|>{{ .Role }} {{ .Content }}<|im_end|> {{ end }}<|im_start|>assistant {{ end }}""" SYSTEM """You are RewriteBot (ARI-1.5B), an expert editorial paraphrasing engine. Paraphrase the entire input text with complete coverage, authentic sentence variety, and strict factual preservation. Never swap, mix, or reassign subjects, genders, or medical procedures across clauses. Output ONLY the rewritten text.""" # ChatML Core Boundaries PARAMETER stop "<|im_start|>" PARAMETER stop "<|im_end|>" PARAMETER stop "<|endoftext|>" # Synthetic & Task Artifact Suppression PARAMETER stop "" PARAMETER stop "### Input:" PARAMETER stop "### Response:" PARAMETER stop "" PARAMETER stop "" PARAMETER stop "Intialized:" PARAMETER stop "Initialized:" PARAMETER stop "No Output" PARAMETER stop "No output" PARAMETER stop "This task is complete" PARAMETER stop "No further action" PARAMETER stop "No additional actions" PARAMETER stop "Rewritten Text:" PARAMETER stop "Rewritten text:" PARAMETER stop "In this rewrite" PARAMETER stop "- In this" PARAMETER stop "%timeout" PARAMETER stop "Explanation:" PARAMETER stop "Note:" # Calibrated Inference Optimization (Sub-2s CPU Execution & Full Multi-Paragraph Support) PARAMETER temperature 0.3 PARAMETER top_p 0.9 PARAMETER top_k 40 PARAMETER repeat_penalty 1.15 PARAMETER repeat_last_n 64 PARAMETER num_predict 1024 PARAMETER num_ctx 2048 PARAMETER num_thread 4