Modify this to `translation` to get better pipeline support

#12
by Narsil HF staff - opened

This is a breaking change, since for pipeline the return type will be modified (from [{"generated_text": ...}] to [{"translated_text": ...}]

Other than that it will enable using src_lang and tgt_lang which are necessary to control the translation for this model.

joaogante changed pull request status to merged

lgtm too, thanks @Narsil

Sign up or log in to comment