[QUESTION] How to skip the translation of some tokens?

#18
by deepak-llm-art - opened

I am using t5 in translation task and want to preserve some input text in output

Input:

I have 3 PDF files.

Output:

У меня есть 3 ПДФ-файла.

But i want to keep the PDF from translating:

У меня есть 3 PDF файла.

Sign up or log in to comment