nemo_microservices.types.model_de#
Module Contents#
Classes#
API#
- class nemo_microservices.types.model_de.ModelDe(/, **data: Any)#
Bases:
nemo_microservices._models.BaseModel- api_endpoint: nemo_microservices.types.shared.api_endpoint_data.APIEndpointData | None#
None
Data about an API endpoint.
- artifact: nemo_microservices.types.model_artifact_de.ModelArtifactDe | None#
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: str | Dict[str, object] | None#
None
Link to another model which is used as a base for the current model.
Used in conjunction with
peft,promptandguardrails.
- created_at: datetime.datetime | None#
None
Timestamp for when the entity was created.
- custom_fields: Dict[str, object] | None#
None
A set of custom fields that the user can define and use for various purposes.
- description: str | None#
None
The description of the entity.
- guardrails: nemo_microservices.types.guardrail_config_de.GuardrailConfigDe | None#
None
A guardrail configuration
- name: str | None#
None
The name of the identity.
Must be unique inside the namespace. If not specified, it will be the same as the automatically generated id.
- namespace: str | None#
None
The if of the namespace of the entity.
This can be missing for namespace entities or in deployments that don’t use namespaces.
- ownership: nemo_microservices.types.shared.ownership.Ownership | None#
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: nemo_microservices.types.parameter_efficient_finetuning_data_de.ParameterEfficientFinetuningDataDe | None#
None
Data about a parameter-efficient finetuning.
- project: str | None#
None
The id of project associated with this entity.
- prompt: nemo_microservices.types.prompt_data_de.PromptDataDe | None#
None
Prompt engineering data.
- schema_version: str | None#
None
The version of the schema for the object. Internal use only.
- spec: nemo_microservices.types.model_spec_de.ModelSpecDe | None#
None
Detailed spec about a model.
- updated_at: datetime.datetime | None#
None
Timestamp for when the entity was last updated.