mirror of
https://github.com/katanemo/plano.git
synced 2026-06-17 15:25:17 +02:00
Merge branch 'shuguang/main' of https://github.com/katanemo/archgw into shuguang/main
This commit is contained in:
commit
791ce0a7ed
2 changed files with 2 additions and 1 deletions
|
|
@ -521,6 +521,7 @@ class ArchFunctionHandler(ArchBaseHandler):
|
|||
if has_tool_call is False:
|
||||
# [TODO] - Review: remove the following code
|
||||
print("No tool call found, start parameter gathering")
|
||||
print(f"Token entropy/varentropy map: {self.hallu_handler.token_probs_map}")
|
||||
prefill_response = self._engage_parameter_gathering(messages)
|
||||
model_response = prefill_response.choices[0].message.content
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ HALLUCINATION_THRESHOLD_DICT = {
|
|||
},
|
||||
MaskToken.PARAMETER_VALUE.value: {
|
||||
"entropy": 0.5437773168087006,
|
||||
"varentropy": 2.413176417350769,
|
||||
"varentropy": 0.49826696813106713,
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue