Updates a Model.
PUT {{baseUrl}}/models/:modelId
Pre-General Availability: 2023-09-18 |Important| |- |The following legal notice applies to Oracle pre-GA (Beta) releases. For copyright and other applicable notices, see Oracle Legal Notices.
Pre-General Availability Draft Documentation Notice |
---|
This documentation is in pre-General Availability status and is intended for demonstration and preliminary use only. It may not be specific to the hardware on which you are using the software. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to this documentation and will not be responsible for any loss, costs, or damages incurred due to the use of this documentation. This documentation is not a commitment by Oracle to deliver any material, code, functionality or services. This documentation, and Oracle Pre-GA programs and services are subject to change at any time without notice and, accordingly, should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality for Oracle’s Pre-GA programs and services remains at the sole discretion of Oracle. All release dates or other predictions of future events are subject to change. The future availability of any future Oracle program or service should not be relied on in entering into any license or service agreement with Oracle. |
UpdateModel
Updates the properties of a custom model such as name, description, freeform tags and defined tags.
Request Body
{"description"=>"<string>", "displayName"=>"<string>", "freeformTags"=>{"dolore_d"=>"<string>", "deserunt67"=>"<string>"}, "vendor"=>"<string>", "version"=>"<string>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
if-match | string | For optimistic concurrency control. In the PUT or DELETE call for a resource, set the | |
if-match parameter to the value of the etag from a previous GET or POST response for | |||
that resource. The resource will be updated or deleted only if the etag you provide | |||
matches the resource's current etag value. | |||
opc-request-id | string | Unique Oracle-assigned identifier for the request. If you need to contact | |
Oracle about a particular request, please provide the request ID. | |||
The only valid characters for request IDs are letters, numbers, | |||
underscore, and dash. | |||
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"id":"\u003cstring\u003e","compartmentId":"\u003cstring\u003e","timeCreated":"\u003cdateTime\u003e","capabilities":["FINE_TUNE","TEXT_SUMMARIZATION"],"lifecycleState":"CREATING","type":"CUSTOM","baseModelId":"\u003cstring\u003e","category":"SMALL","definedTags":{"dolore_3e":{"pariatur_bf4":{}},"consequat9c1":{"ea8":{}}},"description":"\u003cstring\u003e","displayName":"\u003cstring\u003e","fineTuneDetails":{"trainingDataset":{"datasetType":"OBJECT_STORAGE"},"dedicatedAiClusterId":"\u003cstring\u003e","trainingConfig":{"trainingConfigType":"TFEW_TRAINING_CONFIG","earlyStoppingPatience":"\u003cinteger\u003e","earlyStoppingThreshold":"\u003cdouble\u003e","learningRate":"\u003cdouble\u003e","logModelMetricsIntervalInSteps":"\u003cinteger\u003e","totalTrainingEpochs":"\u003cinteger\u003e","trainingBatchSize":"\u003cinteger\u003e"}},"freeformTags":{"cupidatat_bfb":"\u003cstring\u003e"},"lifecycleDetails":"\u003cstring\u003e","modelMetrics":{"modelMetricsType":"TEXT_GENERATION_MODEL_METRICS"},"systemTags":{"consectetur_593":{"nisi_4_":{}}},"timeUpdated":"\u003cdateTime\u003e","vendor":"\u003cstring\u003e","version":"\u003cstring\u003e"}