R/inference.R
hf_text_classification_payload.Rd
Usually used for sentiment-analysis this will output the likelihood of classes of an input.
hf_text_classification_payload(string)
a string to be classified
An inference payload
https://huggingface.co/docs/api-inference/detailed_parameters#text-classification-task