R/inference.R
hf_translation_payload.Rd
This task is well known to translate text from one language to another
hf_translation_payload(string)
a string to be translated in the original languages
An inference payload
https://huggingface.co/docs/api-inference/detailed_parameters#translation-task