techwithsergiu commited on
Commit
e336b80
·
verified ·
1 Parent(s): 127a706

upd readme thinking section

Browse files
Files changed (2) hide show
  1. README.md +21 -8
  2. diagrams/diagram_02.png +2 -2
README.md CHANGED
@@ -67,14 +67,27 @@ Recommended quant: `Q4_K_M`.
67
  ### Thinking mode
68
 
69
  Qwen3.5 supports an optional chain-of-thought `<think>` block before the answer.
70
- In the transformers API this is controlled via `enable_thinking=True/False` in
71
- `apply_chat_template`.
72
-
73
- **llama.cpp:** thinking appears to be enabled by default. `--reasoning-budget 0`
74
- and `--chat-template-kwargs '{"enable_thinking":false}'` have been tested but do
75
- not reliably disable it — this may be a llama.cpp issue with Qwen3 thinking models.
76
- Check [llama.cpp issues](https://github.com/ggml-org/llama.cpp/issues) for the
77
- current status.
 
 
 
 
 
 
 
 
 
 
 
 
 
78
 
79
  ## Pipeline diagram
80
 
 
67
  ### Thinking mode
68
 
69
  Qwen3.5 supports an optional chain-of-thought `<think>` block before the answer.
70
+ Thinking is **enabled by default** in llama.cpp.
71
+
72
+ **Note:** `--chat-template-kwargs '{"enable_thinking":...}'` is deprecated — do not use.
73
+ **Known issue:** `--reasoning off` is accepted but does not actually disable thinking.
74
+ **Workaround:** use `--reasoning-budget 0` this reliably disables the `<think>` block.
75
+ Track the bug at [llama.cpp issues](https://github.com/ggml-org/llama.cpp/issues).
76
+
77
+ ```bash
78
+ # Thinking OFF — direct answer (workaround: --reasoning-budget 0)
79
+ ./llama.cpp/build/bin/llama-cli \
80
+ -m Qwen3.5-text-0.8B-Q4_K_M.gguf \
81
+ --reasoning-budget 0 \
82
+ -p "What is the capital of Romania?" \
83
+ -n 256
84
+
85
+ # Thinking ON — default, no flag needed
86
+ ./llama.cpp/build/bin/llama-cli \
87
+ -m Qwen3.5-text-0.8B-Q4_K_M.gguf \
88
+ -p "What is 17 × 34?" \
89
+ -n 1024
90
+ ```
91
 
92
  ## Pipeline diagram
93
 
diagrams/diagram_02.png CHANGED

Git LFS Details

  • SHA256: 3378efa94d85ccc52ec06285a50f95879f4e88abbe88a9d42d8d123bd16ee678
  • Pointer size: 131 Bytes
  • Size of remote file: 338 kB

Git LFS Details

  • SHA256: aea772c27d8e837bbd7787253daeab69286fec70601e11000c35105fb84835ac
  • Pointer size: 131 Bytes
  • Size of remote file: 338 kB