Model
Object Hierarchy:
Description:
public class Model :
Object,
Serializable
Hub model metadata from search or detail responses.
id is the repo path (author/name). Usage examples are on the OLLMhf namespace page.
Content:
Properties:
- public bool @private { get; set; }
True when the repo is private on the Hub.
- public string author { get; set; }
Repo owner from Hub metadata.
- public ModelCardData cardData { get; set; }
Hub detail cardData.
- public ModelConfig config { get; set; }
Hub detail config.
- public string createdAt { get; set; }
Hub createdAt when present.
- public bool disabled { get; set; }
True when the repo is disabled on the Hub.
- public string download_revision { get; set; }
Revision used for resolve URLs during an in-progress download.
- public int64 downloads { get; set; }
Download count from Hub search/detail metadata.
- public string gated { get; set; }
Hub gating mode when present (`false`, `true`, `auto`, `manual`, or
empty).
- public ModelGguf gguf { get; set; }
Hub detail gguf metadata when present.
- public string id { get; set; }
Hub repo id author/name.
- public string lastModified { get; set; }
Hub lastModified when present.
- public string library_name { get; set; }
Primary library name from Hub metadata.
- public int likes { get; set; }
Like count from Hub metadata.
- public string modelId { get; set; }
Hub modelId when present.
- public string model_index { get; set; }
Hub model-index when present.
- public string pipeline_tag { get; set; }
Hub pipeline_tag when set.
- public string sha { get; set; }
Hub commit sha when present.
- public ArrayList<ModelFile> siblings { get; set; }
Repo files from Hub siblings[].
- public string[] spaces { get; set; }
Hub detail spaces[].
- public string[] tags { get; set; }
Hub tags (e.g. gguf, text-generation).
- public ModelTransformersInfo transformersInfo { get; set; }
Hub detail transformersInfo.
- public int trendingScore { get; set; }
Hub trending score when present (full search).
- public string underscore_id { get; set; }
Hub document id (JSON _id →
underscore_id).
- public int64 usedStorage { get; set; }
Hub storage used when present (detail).
- public ArrayList<ModelWidgetData> widgetData { get; set; }
Hub detail widgetData[].
Static methods:
Creation methods:
Methods:
Inherited Members:
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref
All known members inherited from interface OLLMrpc.Bin.Serializable