modify hallucination threshold and temperature

This commit is contained in:
co tran 2025-04-01 17:36:54 +00:00
parent f2323f771c
commit a3ab6be51c
2 changed files with 3 additions and 3 deletions

View file

@ -39,7 +39,7 @@ class ArchFunctionConfig:
)
GENERATION_PARAMS = {
"temperature": 0.6,
"temperature": 0.1,
"top_p": 1.0,
"top_k": 10,
"max_tokens": 1024,

View file

@ -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,
}