mirror of
https://github.com/katanemo/plano.git
synced 2026-06-17 15:25:17 +02:00
modify hallucination threshold and temperature
This commit is contained in:
parent
f2323f771c
commit
a3ab6be51c
2 changed files with 3 additions and 3 deletions
|
|
@ -39,7 +39,7 @@ class ArchFunctionConfig:
|
|||
)
|
||||
|
||||
GENERATION_PARAMS = {
|
||||
"temperature": 0.6,
|
||||
"temperature": 0.1,
|
||||
"top_p": 1.0,
|
||||
"top_k": 10,
|
||||
"max_tokens": 1024,
|
||||
|
|
|
|||
|
|
@ -36,8 +36,8 @@ class MaskToken(Enum):
|
|||
|
||||
|
||||
HALLUCINATION_THRESHOLD_DICT = {
|
||||
"entropy": 0.35,
|
||||
"varentropy": 1.1,
|
||||
"entropy": 0.0001,
|
||||
"varentropy": 0.0001,
|
||||
"probability": 0.8,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue