News for hackers. Stuff that matters.
Re:DeepSeek-v3.1 Release by seunosewa on Thursday August 21, 2025 @05:11PM (#44978153)
Sometimes it will randomly generate something like this in the body of the text: ``` <tool_call>executeshell <arg_key>command</arg_key> <arg_value>echo "" >> novels/AI_Voodoo_Romance/chapter-1-a-new-dawn.txt</arg_value> </tool_call> ```

or this: ``` <|toolcallsbegin|><|toolcallbegin|>executeshell<|toolsep|>{"command": "pwd && ls -la"}<|toolcallend|><|toolcallsend|> ```

Prompting it to use the right format doesn't seem to work. Claude, Gemini, GPT5, and GLM 4.5, don't do that. To accomodate DeepSeek, the tiny agent that I'm building will have to support all the weird formats.

Re:DeepSeek-v3.1 Release by irthomasthomas on Friday August 22, 2025 @07:32AM (#44983225)
Can't you use logit bias to help with this? Might depend how they are tokenized.
Re:DeepSeek-v3.1 Release by ilaksh on Friday August 22, 2025 @08:04AM (#44983486)
Maybe you have your temperature turned up too high.