79635080

Date: 2025-05-23 08:05:12
Score: 1.5
Natty:
Report link

According to your two problems:

  1. performing spell checks does not give entire string as an output

  2. sometimes repeats the phrases of the given review

I think you can adjust two arguments ( max_length, no_repeat_ngram_size ) for model.generate() to improve two problems:

  1. Enlarge max_length size to solve problem-1.

  2. Add no_repeat_ngram_size argument to reduce problem-2 error.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Jung-Yi Tsai