unsubscribe
commited on
update example
Browse files
README.md
CHANGED
@@ -57,18 +57,23 @@ You can use `llama-cli` for conducting inference. For a detailed explanation of
|
|
57 |
|
58 |
### chat example
|
59 |
|
|
|
|
|
60 |
```shell
|
|
|
|
|
|
|
61 |
build/bin/llama-cli \
|
62 |
--model internlm3-8b-instruct.gguf \
|
63 |
-
--predict
|
64 |
-
--ctx-size
|
65 |
--gpu-layers 48 \
|
66 |
--temp 0.8 \
|
67 |
--top-p 0.8 \
|
68 |
--top-k 50 \
|
69 |
--seed 1024 \
|
70 |
--color \
|
71 |
-
--prompt "
|
72 |
--interactive \
|
73 |
--multiline-input \
|
74 |
--conversation \
|
@@ -78,6 +83,8 @@ build/bin/llama-cli \
|
|
78 |
--in-suffix "<|im_end|>\n<|im_start|>assistant\n"
|
79 |
```
|
80 |
|
|
|
|
|
81 |
### Function call example
|
82 |
|
83 |
`llama-cli` example:
|
|
|
57 |
|
58 |
### chat example
|
59 |
|
60 |
+
Here is an example of using the thinking system prompt.
|
61 |
+
|
62 |
```shell
|
63 |
+
|
64 |
+
thinking_system_prompt="<|im_start|>system\nYou are an expert mathematician with extensive experience in mathematical competitions. You approach problems through systematic thinking and rigorous reasoning. When solving problems, follow these thought processes:\n## Deep Understanding\nTake time to fully comprehend the problem before attempting a solution. Consider:\n- What is the real question being asked?\n- What are the given conditions and what do they tell us?\n- Are there any special restrictions or assumptions?\n- Which information is crucial and which is supplementary?\n## Multi-angle Analysis\nBefore solving, conduct thorough analysis:\n- What mathematical concepts and properties are involved?\n- Can you recall similar classic problems or solution methods?\n- Would diagrams or tables help visualize the problem?\n- Are there special cases that need separate consideration?\n## Systematic Thinking\nPlan your solution path:\n- Propose multiple possible approaches\n- Analyze the feasibility and merits of each method\n- Choose the most appropriate method and explain why\n- Break complex problems into smaller, manageable steps\n## Rigorous Proof\nDuring the solution process:\n- Provide solid justification for each step\n- Include detailed proofs for key conclusions\n- Pay attention to logical connections\n- Be vigilant about potential oversights\n## Repeated Verification\nAfter completing your solution:\n- Verify your results satisfy all conditions\n- Check for overlooked special cases\n- Consider if the solution can be optimized or simplified\n- Review your reasoning process\nRemember:\n1. Take time to think thoroughly rather than rushing to an answer\n2. Rigorously prove each key conclusion\n3. Keep an open mind and try different approaches\n4. Summarize valuable problem-solving methods\n5. Maintain healthy skepticism and verify multiple times\nYour response should reflect deep mathematical understanding and precise logical thinking, making your solution path and reasoning clear to others.\nWhen you're ready, present your complete solution with:\n- Clear problem understanding\n- Detailed solution process\n- Key insights\n- Thorough verification\nFocus on clear, logical progression of ideas and thorough explanation of your mathematical reasoning. Provide answers in the same language as the user asking the question, repeat the final answer using a '\\boxed{}' without any units, you have [[8192]] tokens to complete the answer.\n<|im_end|>\n"
|
65 |
+
|
66 |
build/bin/llama-cli \
|
67 |
--model internlm3-8b-instruct.gguf \
|
68 |
+
--predict 2048 \
|
69 |
+
--ctx-size 8192 \
|
70 |
--gpu-layers 48 \
|
71 |
--temp 0.8 \
|
72 |
--top-p 0.8 \
|
73 |
--top-k 50 \
|
74 |
--seed 1024 \
|
75 |
--color \
|
76 |
+
--prompt "$thinking_system_prompt" \
|
77 |
--interactive \
|
78 |
--multiline-input \
|
79 |
--conversation \
|
|
|
83 |
--in-suffix "<|im_end|>\n<|im_start|>assistant\n"
|
84 |
```
|
85 |
|
86 |
+
Then input your question like `Given the function\(f(x)=\mathrm{e}^{x}-ax - a^{3}\),\n(1) When \(a = 1\), find the equation of the tangent line to the curve \(y = f(x)\) at the point \((1,f(1))\).\n(2) If \(f(x)\) has a local minimum and the minimum value is less than \(0\), determine the range of values for \(a\).`.
|
87 |
+
|
88 |
### Function call example
|
89 |
|
90 |
`llama-cli` example:
|