nemo_microservices.types.model_ev#
Module Contents#
Classes#
API#
- class nemo_microservices.types.model_ev.ModelEv(/, **data: typing.Any)#
Bases:
nemo_microservices._models.BaseModel- api_endpoint: Optional[nemo_microservices.types.shared.api_endpoint_data.APIEndpointData]#
None
Data about an API endpoint.
- artifact: Optional[nemo_microservices.types.shared.model_artifact.ModelArtifact]#
None
Data about a model artifact (a set of checkpoint files, configs, and other auxiliary info).
The
files_urlfield can point to a DataStore location.Example:
nds://models/rdinu/my-lora-customization
The
rdinu/my-lora-customizationpart above is the actual repository.If a specific revision needs to be referred, the HuggingFace syntax is used.
nds://models/rdinu/my-lora-customization@v1
nds://models/rdinu/my-lora-customization@8df79a8
- base_model: Union[str, Dict[str, object], None]#
None
Link to another model which is used as a base for the current model.
- created_at: Optional[datetime.datetime]#
None
Timestamp for when the entity was created.
- custom_fields: Optional[Dict[str, object]]#
None
A set of custom fields that the user can define and use for various purposes.
- description: Optional[str]#
None
The description of the entity.
- guardrails: Optional[nemo_microservices.types.shared.guardrail_config.GuardrailConfig]#
None
A guardrail configuration
- id: Optional[str]#
None
The ID of the entity.
With the exception of namespaces, this is always a semantically-prefixed base58-encoded uuid4 [
-base58(uuid4())].
- model_providers: Optional[List[str]]#
None
List of ModelProvider namespace/name resource names that provide inference for this Model Entity
- name: Optional[str]#
None
The name of the entity.
Must be unique inside the namespace. If not specified, it will be the same as the automatically generated id.
- namespace: Optional[str]#
None
The namespace of the entity.
This can be missing for namespace entities or in deployments that don’t use namespaces.
- ownership: Optional[nemo_microservices.types.shared.ownership.Ownership]#
None
Information about ownership of an entity.
If the entity is a namespace, the
access_policieswill typically apply to all entities inside the namespace.
- peft: Optional[nemo_microservices.types.shared.parameter_efficient_finetuning_data.ParameterEfficientFinetuningData]#
None
Data about a parameter-efficient finetuning.
- project: Optional[str]#
None
The URN of the project associated with this entity.
- prompt: Optional[nemo_microservices.types.shared.prompt_data.PromptData]#
None
Prompt engineering data.
- schema_version: Optional[str]#
None
The version of the schema for the object. Internal use only.
- spec: Optional[nemo_microservices.types.shared.model_spec.ModelSpec]#
None
Detailed specification about a model.
- type_prefix: Optional[str]#
None
- updated_at: Optional[datetime.datetime]#
None
Timestamp for when the entity was last updated.
- version_id: Optional[str]#
None
A unique, immutable id for the version. This is similar to the commit hash.
- version_tags: Optional[List[nemo_microservices.types.shared.version_tag.VersionTag]]#
None
The list of version tags associated with this entity.