Skip to content

Commit 47a79d8

Browse files
authored
Merge pull request #5761 from msakande/peer-review-deepseek-tutorial
initial review of deep-seek-r1 tutorial
2 parents e5d53a8 + c2a1018 commit 47a79d8

File tree

9 files changed

+56
-81
lines changed

9 files changed

+56
-81
lines changed

articles/ai-foundry/foundry-models/includes/use-chat-reasoning/about-reasoning.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,13 @@ author: santiagxf
99

1010
## Reasoning models
1111

12-
Reasoning models can reach higher levels of performance in domains like math, coding, science, strategy, and logistics. The way these models produce outputs is by explicitly using chain of thought to explore all possible paths before generating an answer. They verify their answers as they produce them which helps them to arrive to better more accurate conclusions. This means that reasoning models may require less context in prompting in order to produce effective results.
12+
Reasoning models can reach higher levels of performance in domains like math, coding, science, strategy, and logistics. The way these models produce outputs is by explicitly using chain of thought to explore all possible paths before generating an answer. They verify their answers as they produce them, which helps to arrive at more accurate conclusions. As a result, reasoning models might require less context in prompting in order to produce effective results.
1313

14-
Such way of scaling model's performance is referred as *inference compute time* as it trades performance against higher latency and cost. It contrasts to other approaches that scale through *training compute time*.
14+
This way of scaling a model's performance is referred to as *inference compute time* as it trades performance against higher latency and cost. In contrast, other approaches might scale through *training compute time*.
1515

16-
Reasoning models then produce two types of outputs:
16+
Reasoning models produce two types of content as outputs:
1717

18-
> [!div class="checklist"]
19-
> * Reasoning completions
20-
> * Output completions
18+
* Reasoning completions
19+
* Output completions
2120

22-
Both of these completions count towards content generated from the model and hence, towards the token limits and costs associated with the model. Some models may output the reasoning content, like `DeepSeek-R1`. Some others, like `o1`, only outputs the output piece of the completions.
21+
Both of these completions count towards content generated from the model. Therefore, they contribute to the token limits and costs associated with the model. Some models, like `DeepSeek-R1`, might respond with the reasoning content. Others, like `o1`, output only the completions.

articles/ai-foundry/foundry-models/includes/use-chat-reasoning/best-practices.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ When building prompts for reasoning models, take the following into consideratio
1414
> [!div class="checklist"]
1515
> * Use simple instructions and avoid using chain-of-thought techniques.
1616
> * Built-in reasoning capabilities make simple zero-shot prompts as effective as more complex methods.
17-
> * When providing additional context or documents, like in RAG scenarios, including only the most relevant information may help preventing the model from over-complicating its response.
18-
> * Reasoning models may support the use of system messages. However, they may not follow them as strictly as other non-reasoning models.
19-
> * When creating multi-turn applications, consider only appending the final answer from the model, without it's reasoning content as explained at [Reasoning content](#reasoning-content) section.
17+
> * When providing additional context or documents, like in RAG scenarios, including only the most relevant information might help prevent the model from over-complicating its response.
18+
> * Reasoning models may support the use of system messages. However, they might not follow them as strictly as other non-reasoning models.
19+
> * When creating multi-turn applications, consider appending only the final answer from the model, without it's reasoning content, as explained in the [Reasoning content](#reasoning-content) section.
2020
21-
Notice that reasoning models can take longer times to generate responses. They use long reasoning chains of thought that enabled deeper and more structured problem-solving. They also perform self-verification to cross-check its own answers and correct its own mistakes, showcasing emergent self-reflective behaviors.
21+
Notice that reasoning models can take longer times to generate responses. They use long reasoning chains of thought that enable deeper and more structured problem-solving. They also perform self-verification to cross-check their answers and correct their mistakes, thereby showcasing emergent self-reflective behaviors.
62.9 KB
Loading
Loading
351 KB
Loading
-71.1 KB
Loading
Loading
-1.22 MB
Loading

articles/ai-foundry/foundry-models/tutorials/get-started-deepseek-r1.md

Lines changed: 46 additions & 70 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)