Dream icon indicating copy to clipboard operation
Dream copied to clipboard

Empty responses for complex queries when running demo_multiturn_chat.py

Open tanhuajie opened this issue 1 year ago • 4 comments

Hi team! Thanks for such an amazing work on this project!

I'm encountering an issue when running the provided demo_multiturn_chat.py script. The model seems to work fine with only simple inputs like "Hi" or "What's your name?".

Image

But when I try more complex questions such as:

  • "Can you recommend me some places to visit in Beijing?"
  • "How can I learn to play the violin?"

After running through the default 256 steps of forward diffusion, the model returns empty responses. This behavior seems inconsistent since simpler queries work as expected.

Image

Have you encountered this issue before? Any suggestions on how to resolve it or what might be causing this behavior? Thanks again!!

tanhuajie avatar Apr 05 '25 17:04 tanhuajie

Same issue here. I also notice that when alg_temp tends to 0, the model behaves like an AR model and the accuracy improves significantly for math problems.

zihaoli0629 avatar Apr 06 '25 19:04 zihaoli0629

Hi there, the empty response is mostly because the model generates a sentence with all tokens, which may be because of the lower temperature and randomness. You can consider trying a slightly higher temperature.

Hi team! Thanks for such an amazing work on this project!

I'm encountering an issue when running the provided demo_multiturn_chat.py script. The model seems to work fine with only simple inputs like "Hi" or "What's your name?".

Image

But when I try more complex questions such as:

  • "Can you recommend me some places to visit in Beijing?"
  • "How can I learn to play the violin?"

After running through the default 256 steps of forward diffusion, the model returns empty responses. This behavior seems inconsistent since simpler queries work as expected.

Image

Have you encountered this issue before? Any suggestions on how to resolve it or what might be causing this behavior? Thanks again!!

jiacheng-ye avatar Apr 07 '25 11:04 jiacheng-ye

Same issue here. I also notice that when alg_temp tends to 0, the model behaves like an AR model and the accuracy improves significantly for math problems.

Good observation!

jiacheng-ye avatar Apr 07 '25 11:04 jiacheng-ye

Thanks!

tanhuajie avatar Apr 22 '25 11:04 tanhuajie