fix typo
This commit is contained in:
parent
6dc88090fb
commit
ed203a9fca
|
@ -46,5 +46,5 @@ class InferenceService:
|
|||
early_stopping=True,
|
||||
no_repeat_ngram_size=2
|
||||
)
|
||||
responses = [self.tokenizer.decode(out, skip_special_tokens=True).replace("Ожидаемый ответ:", "").replace("Запрос:", "Исхоный текст:").strip() for out in outputs]
|
||||
responses = [self.tokenizer.decode(out, skip_special_tokens=True).replace("Ожидаемый ответ:", "").replace("Запрос:", "Исходный текст:").strip() for out in outputs]
|
||||
return responses
|
||||
|
|
Loading…
Reference in New Issue