public static enum TrainingConfig.TrainingConfigType extends Enum<TrainingConfig.TrainingConfigType> implements BmcEnum
The fine-tuning method for training a custom model.
Enum Constant and Description |
---|
LoraTrainingConfig |
TfewTrainingConfig |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by
this version of the SDK.
|
VanillaTrainingConfig |
Modifier and Type | Method and Description |
---|---|
static TrainingConfig.TrainingConfigType |
create(String key) |
String |
getValue() |
static TrainingConfig.TrainingConfigType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TrainingConfig.TrainingConfigType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrainingConfig.TrainingConfigType TfewTrainingConfig
public static final TrainingConfig.TrainingConfigType VanillaTrainingConfig
public static final TrainingConfig.TrainingConfigType LoraTrainingConfig
public static final TrainingConfig.TrainingConfigType UnknownEnumValue
public static TrainingConfig.TrainingConfigType[] values()
for (TrainingConfig.TrainingConfigType c : TrainingConfig.TrainingConfigType.values()) System.out.println(c);
public static TrainingConfig.TrainingConfigType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static TrainingConfig.TrainingConfigType create(String key)
Copyright © 2016–2024. All rights reserved.