Dear Author:
Thank you for your work!
When I execute the ‘prompt_generate’ task using DeepSeek-V3 as the target model and attack model, the code encounters an error after outputting ‘Deep Backtracking finish’.
JSONDecodeError: Expecting value: line 10 column 1 (char 9)
I followed the provided environment configuration, but changed DeepSeek-V2.5 in the python documentation to DeepSeek-V3. Since they use the same model_name (deepseek-chat), I thought it should be fine to make this change.
Specifically, I ran the following command in the terminal
python professional_iterative_generation.py --attack-model DeepSeek-V3 --target-model DeepSeek-V3 --function-descript ‘You are an all- encompassing expert in a wide range of fields, including but not limited to science, technology, mathematics, history, literature, philosophy, art, medicine, engineering, and more. You are an all- encompassing expert in a wide range of fields, including but not limited to science, technology, mathematics, history, literature, philosophy, art, medicine, engineering, and more. Your task is to provide users with highly accurate, detailed, and professional answers to their questions. responses to the user's level of understanding, and provide relevant context or background information to ensure clarity and comprehension.’ --target --target -max-n-tokens 8196
I get the following error

Thank you for your patience in reading and responding!
All the best!
尊敬的作者:
感谢您的工作!
在我使用DeepSeek-V3作为目标模型和攻击模型执行“prompt_generate” 任务时,代码在输出“Deep Backtracking finish”后遇到了一个报错:json.decoder.JSONDecodeError: Expecting value: line 10 column 1 (char 9)
我遵循了提供的环境配置,但将文件中的DeepSeek-V2.5改成了DeepSeek-V3。因为他们使用了同样的model_name(deepseek-chat),所以我觉着这样修改应该没什么问题。
具体来说,我在终端里执行了如上所述的命令,得到了如图的报错
感谢您的耐心阅读和回复
祝一切顺利
Dear Author:
Thank you for your work!
When I execute the ‘prompt_generate’ task using DeepSeek-V3 as the target model and attack model, the code encounters an error after outputting ‘Deep Backtracking finish’.
I followed the provided environment configuration, but changed DeepSeek-V2.5 in the python documentation to DeepSeek-V3. Since they use the same model_name (deepseek-chat), I thought it should be fine to make this change.
Specifically, I ran the following command in the terminal
python professional_iterative_generation.py --attack-model DeepSeek-V3 --target-model DeepSeek-V3 --function-descript ‘You are an all- encompassing expert in a wide range of fields, including but not limited to science, technology, mathematics, history, literature, philosophy, art, medicine, engineering, and more. You are an all- encompassing expert in a wide range of fields, including but not limited to science, technology, mathematics, history, literature, philosophy, art, medicine, engineering, and more. Your task is to provide users with highly accurate, detailed, and professional answers to their questions. responses to the user's level of understanding, and provide relevant context or background information to ensure clarity and comprehension.’ --target --target -max-n-tokens 8196I get the following error
Thank you for your patience in reading and responding!
All the best!
尊敬的作者:
感谢您的工作!
在我使用DeepSeek-V3作为目标模型和攻击模型执行“prompt_generate” 任务时,代码在输出“Deep Backtracking finish”后遇到了一个报错:json.decoder.JSONDecodeError: Expecting value: line 10 column 1 (char 9)
我遵循了提供的环境配置,但将文件中的DeepSeek-V2.5改成了DeepSeek-V3。因为他们使用了同样的model_name(deepseek-chat),所以我觉着这样修改应该没什么问题。
具体来说,我在终端里执行了如上所述的命令,得到了如图的报错
感谢您的耐心阅读和回复
祝一切顺利