7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/ReasoningEffort.h>
44 m_epochCountHasBeenSet =
true;
61 m_batchSizeHasBeenSet =
true;
78 m_learningRateHasBeenSet =
true;
79 m_learningRate = value;
96 m_maxPromptLengthHasBeenSet =
true;
97 m_maxPromptLength = value;
113 m_trainingSamplePerPromptHasBeenSet =
true;
114 m_trainingSamplePerPrompt = value;
130 m_inferenceMaxTokensHasBeenSet =
true;
131 m_inferenceMaxTokens = value;
147 m_reasoningEffortHasBeenSet =
true;
148 m_reasoningEffort = value;
164 m_evalIntervalHasBeenSet =
true;
165 m_evalInterval = value;
177 double m_learningRate{0.0};
179 int m_maxPromptLength{0};
181 int m_trainingSamplePerPrompt{0};
183 int m_inferenceMaxTokens{0};
187 int m_evalInterval{0};
188 bool m_epochCountHasBeenSet =
false;
189 bool m_batchSizeHasBeenSet =
false;
190 bool m_learningRateHasBeenSet =
false;
191 bool m_maxPromptLengthHasBeenSet =
false;
192 bool m_trainingSamplePerPromptHasBeenSet =
false;
193 bool m_inferenceMaxTokensHasBeenSet =
false;
194 bool m_reasoningEffortHasBeenSet =
false;
195 bool m_evalIntervalHasBeenSet =
false;
void SetBatchSize(int value)
RFTHyperParameters & WithLearningRate(double value)
bool ReasoningEffortHasBeenSet() const
bool BatchSizeHasBeenSet() const
void SetReasoningEffort(ReasoningEffort value)
bool EvalIntervalHasBeenSet() const
int GetEvalInterval() const
void SetInferenceMaxTokens(int value)
void SetTrainingSamplePerPrompt(int value)
RFTHyperParameters & WithInferenceMaxTokens(int value)
bool InferenceMaxTokensHasBeenSet() const
bool LearningRateHasBeenSet() const
void SetMaxPromptLength(int value)
RFTHyperParameters & WithTrainingSamplePerPrompt(int value)
AWS_BEDROCK_API RFTHyperParameters(Aws::Utils::Json::JsonView jsonValue)
RFTHyperParameters & WithMaxPromptLength(int value)
AWS_BEDROCK_API RFTHyperParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
double GetLearningRate() const
int GetTrainingSamplePerPrompt() const
void SetEvalInterval(int value)
RFTHyperParameters & WithEvalInterval(int value)
bool EpochCountHasBeenSet() const
bool MaxPromptLengthHasBeenSet() const
int GetMaxPromptLength() const
int GetInferenceMaxTokens() const
RFTHyperParameters & WithBatchSize(int value)
void SetLearningRate(double value)
bool TrainingSamplePerPromptHasBeenSet() const
int GetEpochCount() const
AWS_BEDROCK_API RFTHyperParameters()=default
ReasoningEffort GetReasoningEffort() const
void SetEpochCount(int value)
RFTHyperParameters & WithEpochCount(int value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
RFTHyperParameters & WithReasoningEffort(ReasoningEffort value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue