mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
The default max tokens of 215 is too small, answers are often cut off.I will modify it to 512 to address this issue. (#845)
### What problem does this PR solve? ### Type of change - [x] Refactoring
This commit is contained in:
@ -31,14 +31,14 @@ export const settledModelVariableMap = {
|
||||
top_p: 0.3,
|
||||
frequency_penalty: 0.7,
|
||||
presence_penalty: 0.4,
|
||||
max_tokens: 215,
|
||||
max_tokens: 512,
|
||||
},
|
||||
[ModelVariableType.Balance]: {
|
||||
temperature: 0.5,
|
||||
top_p: 0.5,
|
||||
frequency_penalty: 0.7,
|
||||
presence_penalty: 0.4,
|
||||
max_tokens: 215,
|
||||
max_tokens: 512,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user