mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-23 23:16:58 +08:00
Feat: Reset the default values of large model parameters (#8262)
### What problem does this PR solve? Feat: Reset the default values of large model parameters ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -23,25 +23,25 @@ export enum ModelVariableType {
|
||||
|
||||
export const settledModelVariableMap = {
|
||||
[ModelVariableType.Improvise]: {
|
||||
temperature: 0.9,
|
||||
temperature: 0.8,
|
||||
top_p: 0.9,
|
||||
frequency_penalty: 0.2,
|
||||
presence_penalty: 0.4,
|
||||
max_tokens: 512,
|
||||
frequency_penalty: 0.1,
|
||||
presence_penalty: 0.1,
|
||||
max_tokens: 4096,
|
||||
},
|
||||
[ModelVariableType.Precise]: {
|
||||
temperature: 0.1,
|
||||
top_p: 0.3,
|
||||
frequency_penalty: 0.7,
|
||||
presence_penalty: 0.4,
|
||||
max_tokens: 512,
|
||||
temperature: 0.2,
|
||||
top_p: 0.75,
|
||||
frequency_penalty: 0.5,
|
||||
presence_penalty: 0.5,
|
||||
max_tokens: 4096,
|
||||
},
|
||||
[ModelVariableType.Balance]: {
|
||||
temperature: 0.5,
|
||||
top_p: 0.5,
|
||||
frequency_penalty: 0.7,
|
||||
presence_penalty: 0.4,
|
||||
max_tokens: 512,
|
||||
top_p: 0.85,
|
||||
frequency_penalty: 0.3,
|
||||
presence_penalty: 0.2,
|
||||
max_tokens: 4096,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user