Classify texts using any model from the Hugging Face hub.
Examples
ds.first_name
), datasets (ds
or ds[["first_name", "last_name"]]
) or models (referenced
by name e.g. "churn-clf"
).
Inputs
Outputs
labels
parameter (see below).step(..., {"param": "value", ...}) -> (output)
.
Parameters
LABEL_0
,
LABEL_1
, etc. which isn’t very helpful. You can use the “Hosted inference API”
widget on the model’s web page to test its output labels. If necessary, use this parameter
to map the default output labels to ones you prefer.Item properties
Examples
null
, the step will use GPU automatically if one is found
otherwise CPU.API KEYS > Add API Key > Hugging Face > paste an access token previously configured in your huggingface account). Graphext will automatically assign an ID to your integration which gets autocompleted where required (e.g. in the recipe editor).