HuggingfaceClient.Inference.Task.ZeroShotClassification
(huggingface_client v0.1.0)
Copy Markdown
View Source
Zero-shot text classification with candidate labels.
Summary
Functions
Runs the zero-shot-classification task.
Functions
@spec run(HuggingfaceClient.Client.t(), map()) :: {:ok, term()} | {:error, Exception.t()}
Runs the zero-shot-classification task.
Returns {:ok, result} or {:error, exception}.