Class DpoHyperparameters.Beta
- 
                    
                    
- All Implemented Interfaces:
 
public final class DpoHyperparameters.BetaThe beta value for the DPO method. A higher beta value will increase the weight of the penalty between the policy and reference model.
 
- 
                
                    
                    
- 
                                
                            
                                
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceDpoHyperparameters.Beta.VisitorAn interface that defines how to map each variant of Beta to a value of type T.
 
- 
                                
                            
                                
Method Summary
Modifier and Type Method Description final Optional<JsonValue>auto()final Optional<Double>number()final BooleanisAuto()final BooleanisNumber()final JsonValueasAuto()final DoubleasNumber()final Optional<JsonValue>_json()final <T extends Any> Taccept(DpoHyperparameters.Beta.Visitor<T> visitor)final DpoHyperparameters.Betavalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static DpoHyperparameters.BetaofAuto()final static DpoHyperparameters.BetaofNumber(Double number)- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
accept
final <T extends Any> T accept(DpoHyperparameters.Beta.Visitor<T> visitor)
 
- 
                                        
validate
final DpoHyperparameters.Beta validate()
 
- 
                                        
ofAuto
final static DpoHyperparameters.Beta ofAuto()
 
- 
                                        
ofNumber
final static DpoHyperparameters.Beta ofNumber(Double number)
 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -