Model Sample¶
This page is generated from the checked-in sample manifest at config/samples/generativeai_v1beta1_model.yaml.
| Field | Value |
|---|---|
| Resource | generativeai/Model |
| API Version | generativeai.oracle.com/v1beta1 |
| Source Path | config/samples/generativeai_v1beta1_model.yaml |
#
# Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
#
#
# Replace the compartment, base model, and DedicatedAiCluster OCIDs before running e2e.
# Keeping spec.displayName empty disables pre-create reuse; setting it allows the
# controller to bind an existing custom Model only when the returned OCI list item
# matches spec.compartmentId, spec.baseModelId, spec.fineTuneDetails.dedicatedAiClusterId,
# and any populated spec.displayName.
#
apiVersion: generativeai.oracle.com/v1beta1
kind: Model
metadata:
name: model-sample
spec:
compartmentId: ocid1.compartment.oc1..exampleuniqueID
baseModelId: ocid1.generativeaimodel.oc1..exampleuniqueID
displayName: osok-model-sample
description: OSOK Model sample
fineTuneDetails:
dedicatedAiClusterId: ocid1.generativeaidedicatedaicluster.oc1..exampleuniqueID
trainingDataset:
datasetType: OBJECT_STORAGE
namespaceName: object-storage-namespace
bucketName: generativeai-training-data
objectName: datasets/model-training.jsonl
freeformTags:
managed-by: oci-service-operator