hf_translation_payload: Translation Payload

View source: R/inference.R

hf_translation_payloadR Documentation

Translation Payload

Description

This task is well known to translate text from one language to another

Usage

hf_translation_payload(string)

Arguments

string

a string to be translated in the original languages

Value

An inference payload

See Also

https://huggingface.co/docs/api-inference/detailed_parameters#translation-task


farach/huggingfaceR documentation built on Feb. 4, 2023, 10:31 p.m.