diff --git a/Modelfile b/Modelfile new file mode 100644 index 000000000..cdf0a0cad --- /dev/null +++ b/Modelfile @@ -0,0 +1,8 @@ +FROM mychen76/qwen3_cline_roocode +PARAMETER num_ctx 65536 # Or higher if supported/needed. Maximize context. +PARAMETER temperature 0.25 # Low for precision, but slightly higher than 0.1/0.2 for minor flexibility +PARAMETER top_p 0.9 # Focuses on probable tokens, cutting off the long tail (less likely than top_p=1) +PARAMETER top_k 40 # Further restricts sampling pool (often works well with top_p) +PARAMETER repeat_penalty 1.1 # Mild penalty to discourage nonsensical loops, but allows necessary code repetition. +PARAMETER num_keep 1024 # Keep initial instructions/context +PARAMETER num_predict 16384 # Generous prediction length for substantial code blocks \ No newline at end of file