Class FineTuningJobCheckpoint.Metrics.Builder
-
- All Implemented Interfaces:
public final class FineTuningJobCheckpoint.Metrics.Builder
A builder for Metrics.
-
-
Method Summary
-
-
Method Detail
-
fullValidLoss
final FineTuningJobCheckpoint.Metrics.Builder fullValidLoss(Double fullValidLoss)
-
fullValidLoss
final FineTuningJobCheckpoint.Metrics.Builder fullValidLoss(JsonField<Double> fullValidLoss)
Sets Builder.fullValidLoss to an arbitrary JSON value.
You should usually call Builder.fullValidLoss with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
fullValidMeanTokenAccuracy
final FineTuningJobCheckpoint.Metrics.Builder fullValidMeanTokenAccuracy(Double fullValidMeanTokenAccuracy)
-
fullValidMeanTokenAccuracy
final FineTuningJobCheckpoint.Metrics.Builder fullValidMeanTokenAccuracy(JsonField<Double> fullValidMeanTokenAccuracy)
Sets Builder.fullValidMeanTokenAccuracy to an arbitrary JSON value.
You should usually call Builder.fullValidMeanTokenAccuracy with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
step
final FineTuningJobCheckpoint.Metrics.Builder step(Double step)
-
step
final FineTuningJobCheckpoint.Metrics.Builder step(JsonField<Double> step)
Sets Builder.step to an arbitrary JSON value.
You should usually call Builder.step with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
trainLoss
final FineTuningJobCheckpoint.Metrics.Builder trainLoss(Double trainLoss)
-
trainLoss
final FineTuningJobCheckpoint.Metrics.Builder trainLoss(JsonField<Double> trainLoss)
Sets Builder.trainLoss to an arbitrary JSON value.
You should usually call Builder.trainLoss with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
trainMeanTokenAccuracy
final FineTuningJobCheckpoint.Metrics.Builder trainMeanTokenAccuracy(Double trainMeanTokenAccuracy)
-
trainMeanTokenAccuracy
final FineTuningJobCheckpoint.Metrics.Builder trainMeanTokenAccuracy(JsonField<Double> trainMeanTokenAccuracy)
Sets Builder.trainMeanTokenAccuracy to an arbitrary JSON value.
You should usually call Builder.trainMeanTokenAccuracy with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
validLoss
final FineTuningJobCheckpoint.Metrics.Builder validLoss(Double validLoss)
-
validLoss
final FineTuningJobCheckpoint.Metrics.Builder validLoss(JsonField<Double> validLoss)
Sets Builder.validLoss to an arbitrary JSON value.
You should usually call Builder.validLoss with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
validMeanTokenAccuracy
final FineTuningJobCheckpoint.Metrics.Builder validMeanTokenAccuracy(Double validMeanTokenAccuracy)
-
validMeanTokenAccuracy
final FineTuningJobCheckpoint.Metrics.Builder validMeanTokenAccuracy(JsonField<Double> validMeanTokenAccuracy)
Sets Builder.validMeanTokenAccuracy to an arbitrary JSON value.
You should usually call Builder.validMeanTokenAccuracy with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final FineTuningJobCheckpoint.Metrics.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final FineTuningJobCheckpoint.Metrics.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final FineTuningJobCheckpoint.Metrics.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final FineTuningJobCheckpoint.Metrics.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final FineTuningJobCheckpoint.Metrics.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final FineTuningJobCheckpoint.Metrics build()
Returns an immutable instance of Metrics.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-