HuggingfaceClient.Inference.Task.FillMask (huggingface_client v0.1.0)

Copy Markdown View Source

Fill-mask (masked language modeling) task.

Summary

Functions

Runs the fill-mask task.

Functions

run(client, args)

@spec run(HuggingfaceClient.Client.t(), map()) ::
  {:ok, term()} | {:error, Exception.t()}

Runs the fill-mask task.

Returns {:ok, result} or {:error, exception}.