Multi-line translation problem

#8
by ZhaoYundi - opened

When I use the GemmaX2-28-9B-v0.1 model to do multi-line translation, I try two methods

  1. Translate line by line. This will lead to inconsistent context.
  2. Replace \n with
    . However,
    is occasionally lost after translation.

Is there any recommended way to handle multi-line translation? Or other line break characters are recommended

Replace "\n" with " "(blank sapce)

Replace "\n" with " "(blank sapce)

The original text also has blank spaces. after translation, I don't know whether the blank spaces are replaced line breaks.

Sign up or log in to comment