mirror of
https://git.mirrors.martin98.com/https://github.com/jina-ai/reader.git
synced 2025-08-19 01:15:55 +08:00
fix: tweak readerlm parameters
This commit is contained in:
parent
4e5729372e
commit
f95eb027d7
@ -85,8 +85,9 @@ export class LmControl extends AsyncService {
|
|||||||
modelSpecific: {
|
modelSpecific: {
|
||||||
top_k: 1,
|
top_k: 1,
|
||||||
temperature: 0,
|
temperature: 0,
|
||||||
repetition_penalty: 1.2,
|
repetition_penalty: 1.12,
|
||||||
presence_penalty: 0.25,
|
presence_penalty: 0.25,
|
||||||
|
frequency_penalty: 0.25,
|
||||||
max_tokens: 8192,
|
max_tokens: 8192,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -123,8 +124,9 @@ export class LmControl extends AsyncService {
|
|||||||
modelSpecific: {
|
modelSpecific: {
|
||||||
top_k: 1,
|
top_k: 1,
|
||||||
temperature: 0,
|
temperature: 0,
|
||||||
repetition_penalty: 1.2,
|
repetition_penalty: 1.12,
|
||||||
presence_penalty: 0.25,
|
presence_penalty: 0.25,
|
||||||
|
frequency_penalty: 0.25,
|
||||||
max_tokens: 8192,
|
max_tokens: 8192,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user