HfHub.InferenceEndpoints.ModelConfig (HfHub v0.2.0)

Copy Markdown View Source

Model configuration for an inference endpoint.

Summary

Functions

Creates a ModelConfig struct from an API response.

Types

t()

@type t() :: %HfHub.InferenceEndpoints.ModelConfig{
  framework: String.t() | nil,
  image: map() | nil,
  repository: String.t() | nil,
  revision: String.t() | nil,
  task: String.t() | nil
}

Functions

from_response(response)

@spec from_response(map()) :: t()

Creates a ModelConfig struct from an API response.