deepseek-ai / deepseek-ai/DeepSeek-Math

Why adding "hey\n" before model output staring with "```python"?

Open
#25 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
3.4k
Forks
592
PR merge metrics
No merged PRs in 30d

Description

https://github.com/deepseek-ai/DeepSeek-Math/blob/b8b0f8ce093d80bf8e9a641e44142f06d092c305/evaluation/infer/run_tool_integrated_eval.py#L30

This seems weird. Could anyone explain what this is for?

Contributor guide

No contributing guide indexed for this repository

Research direction

Read evaluation/infer/run_tool_integrated_eval.py at line 30 and inspect the surrounding model-output handling. Trace where the generated text is consumed, then determine the purpose of the `hey\n` prefix for outputs beginning with ```python. Done means recording the rationale in the issue or relevant project documentation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.