toJson method
General Library Documentation Undocument By General Corporation & Global Corporation & General Developer
Implementation
Map<String, dynamic> toJson() {
return {
'greedy': greedy,
'seed': seed,
'softmax': softmax,
'topK': topK,
'topP': topP,
'topPKeep': topPKeep,
'minP': minP,
'minPKeep': minPKeep,
'typical': typical,
'typicalKeep': typicalKeep,
'temp': temp,
'xtcTemperature': xtcTemperature,
'xtcStartValue': xtcStartValue,
'xtcKeep': xtcKeep,
'xtcLength': xtcLength,
'mirostatTau': mirostatTau,
'mirostatEta': mirostatEta,
'mirostatM': mirostatM,
'mirostat2Tau': mirostat2Tau,
'mirostat2Eta': mirostat2Eta,
'grammarStr': grammarStr,
'grammarRoot': grammarRoot,
'penaltyLastTokens': penaltyLastTokens,
'penaltyRepeat': penaltyRepeat,
'penaltyFreq': penaltyFreq,
'penaltyPresent': penaltyPresent,
'penaltyNewline': penaltyNewline,
'ignoreEOS': ignoreEOS,
'dryPenalty': dryPenalty,
'dryMultiplier': dryMultiplier,
'dryAllowedLen': dryAllowedLen,
'dryLookback': dryLookback,
'dryBreakers': dryBreakers,
};
}