Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion fastchat/serve/monitor/rating_systems.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def preprocess_for_bt(df):
# map 2 -> 1.0, 1 -> 0.5, 0 -> 0.0 which will be used as labels during optimization
outcomes = matchups_outcomes[:, 2].astype(np.float64) / 2.0
weights = weights.astype(np.float64)
# each possible result is weighted according to number of times it occured in the dataset
# each possible result is weighted according to number of times it occurred in the dataset
return matchups, outcomes, models, weights


Expand Down