Narsil HF staff commited on
Commit
abaeb73
1 Parent(s): 716b434

Modify this to `translation` to get better pipeline support

Browse files

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.

Files changed (1) hide show
  1. README.md +1 -0
README.md CHANGED
@@ -201,6 +201,7 @@ language_details: "ace_Arab, ace_Latn, acm_Arab, acq_Arab, aeb_Arab, afr_Latn, a
201
 
202
  tags:
203
  - nllb
 
204
  license: "cc-by-nc-4.0"
205
  datasets:
206
  - flores-200
 
201
 
202
  tags:
203
  - nllb
204
+ - translation
205
  license: "cc-by-nc-4.0"
206
  datasets:
207
  - flores-200