Class DpoHyperparameters.Builder
- 
                    
                    - All Implemented Interfaces:
 
 public final class DpoHyperparameters.BuilderA builder for DpoHyperparameters. 
- 
                
                    
                    - 
                                
                            
                                Method Summary- 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        batchSizefinal DpoHyperparameters.Builder batchSize(DpoHyperparameters.BatchSize batchSize) Number of examples in each batch. A larger batch size means that model parameters are updated less frequently, but with lower variance. 
 - 
                                        batchSizefinal DpoHyperparameters.Builder batchSize(JsonField<DpoHyperparameters.BatchSize> batchSize) Sets Builder.batchSize to an arbitrary JSON value. You should usually call Builder.batchSize with a well-typed BatchSize value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        batchSizefinal DpoHyperparameters.Builder batchSize(Long integer) Alias for calling batchSize with BatchSize.ofInteger(integer).
 - 
                                        batchSizeAutofinal DpoHyperparameters.Builder batchSizeAuto() Alias for calling batchSize with BatchSize.ofAuto().
 - 
                                        betafinal DpoHyperparameters.Builder beta(DpoHyperparameters.Beta beta) The beta value for the DPO method. A higher beta value will increase the weight of the penalty between the policy and reference model. 
 - 
                                        betafinal DpoHyperparameters.Builder beta(JsonField<DpoHyperparameters.Beta> beta) Sets Builder.beta to an arbitrary JSON value. You should usually call Builder.beta with a well-typed Beta value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        betafinal DpoHyperparameters.Builder beta(Double number) Alias for calling beta with Beta.ofNumber(number).
 - 
                                        betaAutofinal DpoHyperparameters.Builder betaAuto() Alias for calling beta with Beta.ofAuto().
 - 
                                        learningRateMultiplierfinal DpoHyperparameters.Builder learningRateMultiplier(DpoHyperparameters.LearningRateMultiplier learningRateMultiplier) Scaling factor for the learning rate. A smaller learning rate may be useful to avoid overfitting. 
 - 
                                        learningRateMultiplierfinal DpoHyperparameters.Builder learningRateMultiplier(JsonField<DpoHyperparameters.LearningRateMultiplier> learningRateMultiplier) Sets Builder.learningRateMultiplier to an arbitrary JSON value. You should usually call Builder.learningRateMultiplier with a well-typed LearningRateMultiplier value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        learningRateMultiplierfinal DpoHyperparameters.Builder learningRateMultiplier(Double number) Alias for calling learningRateMultiplier with LearningRateMultiplier.ofNumber(number).
 - 
                                        learningRateMultiplierAutofinal DpoHyperparameters.Builder learningRateMultiplierAuto() Alias for calling learningRateMultiplier with LearningRateMultiplier.ofAuto().
 - 
                                        nEpochsfinal DpoHyperparameters.Builder nEpochs(DpoHyperparameters.NEpochs nEpochs) The number of epochs to train the model for. An epoch refers to one full cycle through the training dataset. 
 - 
                                        nEpochsfinal DpoHyperparameters.Builder nEpochs(JsonField<DpoHyperparameters.NEpochs> nEpochs) Sets Builder.nEpochs to an arbitrary JSON value. You should usually call Builder.nEpochs with a well-typed NEpochs value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        nEpochsfinal DpoHyperparameters.Builder nEpochs(Long integer) Alias for calling nEpochs with NEpochs.ofInteger(integer).
 - 
                                        nEpochsAutofinal DpoHyperparameters.Builder nEpochsAuto() Alias for calling nEpochs with NEpochs.ofAuto().
 - 
                                        additionalPropertiesfinal DpoHyperparameters.Builder additionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        putAdditionalPropertyfinal DpoHyperparameters.Builder putAdditionalProperty(String key, JsonValue value) 
 - 
                                        putAllAdditionalPropertiesfinal DpoHyperparameters.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        removeAdditionalPropertyfinal DpoHyperparameters.Builder removeAdditionalProperty(String key) 
 - 
                                        removeAllAdditionalPropertiesfinal DpoHyperparameters.Builder removeAllAdditionalProperties(Set<String> keys) 
 - 
                                        buildfinal DpoHyperparameters build() Returns an immutable instance of DpoHyperparameters. Further updates to this Builder will not mutate the returned instance. 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-