Scorio - v0.2.3
Scorio
npm
GitHub
Preparing search index...
aggregate
tokenEntropy
Variable tokenEntropy
Const
tokenEntropy
:
(
topkLogprobs
:
TopKLogprobs
,
options
?:
ReducerOptions
)
=>
number
= confidence.tokenEntropy
Type Declaration
(
topkLogprobs
:
TopKLogprobs
,
options
?:
ReducerOptions
)
:
number
Shannon entropy of the renormalized top-k law (lower is more confident).
Parameters
topkLogprobs
:
TopKLogprobs
options
:
ReducerOptions
= {}
Returns
number
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Python documentation
Julia documentation
Scorio
npm
GitHub
Scorio - v0.2.3
Loading...
Shannon entropy of the renormalized top-k law (lower is more confident).