Skip to contents

Usually used for sentiment-analysis this will output the likelihood of classes of an input.

Usage

hf_text_classification_payload(string)

Arguments

string

a string to be classified

Value

An inference payload

Examples

hf_text_classification_payload("I love using R.")
#> $inputs
#> [1] "I love using R."
#>