Skip to main content

HuggingFaceModelInfo

Information about a HuggingFace model to store.

Attributes

AttributeTypeDescription
repostrThe HuggingFace repository ID (e.g., 'meta-llama/Llama-2-7b-hf').
artifact_name`strNone` = None
architecture`strNone` = None
taskstr = "auto"Model task (e.g., 'generate', 'classify', 'embed').
modalitytuple[str, ...] = ("text",)Modalities supported by the model (e.g., 'text', 'image').
serial_format`strNone` = None
model_type`strNone` = None
short_description`strNone` = None
shard_config`ShardConfigNone` = None