repeated terms in the demo case

#1
by conderls - opened

WeChatWorkScreenshot_7f35c12c-38e8-40d9-86de-0bedb80a0284.png

  • although it can be changed with num_beams=3;
  • The model will not stop generation until reaching the length limit max_new_tokens=64;

同样的问题,我加上 repetition_penalty=1.1,输出好很多了。

image.png

Sign up or log in to comment