You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 990b5f9
Browse filesBrowse the repository at this point in the historyBrowse files
fix(deepconf): Vote and calibrate as in the DeepConf reference implementation
- Score each answer by the sum of its traces' confidences, DeepConf's
confidence-weighted majority vote. The 0.7 * mean confidence + 0.3 *
frequency mix let one trace outvote many agreeing ones, since token
confidences are several units while the frequency term is at most 1.
- Leave early-terminated traces out of the vote, and let warmup traces
vote only if they pass the threshold.
- Treat a trace shorter than the window as one group of all its tokens,
instead of reporting 0 for its lowest and bottom-10% group confidence.
- Default confidence_metric to lowest_group, the trace confidence the
online threshold is calibrated on.
|`top_k`|`5`| Number of top tokens for confidence calculation |
71
71
|`min_trace_length`|`100`| Minimum tokens before allowing early termination |
72
72
|`max_tokens_per_trace`|`4096`| Maximum tokens per individual trace |
73
-
|`confidence_metric`|`"average_confidence"`|Metric used for threshold calculation|
73
+
|`confidence_metric`|`"lowest_group"`|Trace confidence used for the threshold and as voting weight (`"lowest_group"`, `"bottom_10_percent"` or `"average_confidence"`)|
74
74
|`include_stats`|`false`| Include processing statistics in response |
0 commit comments