Doc: fix problems of the 'Execute Notebooks / run-all-notebooks' ci caused by the unstability of deepseek-ai/DeepSeek-R1-Distill-Qwen-7B (#5503)

This commit is contained in:
mlmz
2025-04-18 02:37:43 +08:00
committed by GitHub
parent 06d0a3d92b
commit f13d65a7ea
2 changed files with 2 additions and 2 deletions

View File

@@ -423,7 +423,7 @@
"\n",
"\n",
"reasoing_content = response.json()[\"text\"].split(\"</think>\")[0]\n",
"content = json.loads(response.json()[\"text\"].split(\"</think>\")[1])\n",
"content = response.json()[\"text\"].split(\"</think>\")[1]\n",
"print_highlight(f\"reasoing_content: {reasoing_content}\\n\\ncontent: {content}\")"
]
},