eleftherias commited on
Commit
9a86da8
·
1 Parent(s): 8678000

Ensure average score is shown

Browse files
frontend/src/pages/LeaderboardPage/components/Leaderboard/constants/defaults.js CHANGED
@@ -103,24 +103,18 @@ const COLUMNS = {
103
  defaultVisible: true,
104
  label: "Rank",
105
  },
106
- "model.type_icon": {
107
- group: "fixed",
108
- size: COLUMN_SIZES.TYPE_ICON,
109
- defaultVisible: true,
110
- label: "Type",
111
- },
112
  id: {
113
  group: "fixed",
114
  size: COLUMN_SIZES.MODEL,
115
  defaultVisible: true,
116
  label: "Model",
117
  },
118
- //"model.average_score": {
119
- // group: "fixed",
120
- // size: COLUMN_SIZES.AVERAGE_SCORE,
121
- // defaultVisible: true,
122
- // label: "Average Score",
123
- //},
124
  },
125
  EVALUATION: {
126
  "evaluations.safetensors.value": {
@@ -352,7 +346,6 @@ export const HIGHLIGHT_COLORS = [
352
  export const SKELETON_COLUMNS = [
353
  40, // Checkbox
354
  COLUMN_SIZES.RANK, // Rank
355
- COLUMN_SIZES.TYPE_ICON, // Type icon
356
  COLUMN_SIZES.MODEL, // Model name
357
  COLUMN_SIZES.AVERAGE_SCORE, // Average score
358
  COLUMN_SIZES.BENCHMARK, // Benchmark 1
 
103
  defaultVisible: true,
104
  label: "Rank",
105
  },
 
 
 
 
 
 
106
  id: {
107
  group: "fixed",
108
  size: COLUMN_SIZES.MODEL,
109
  defaultVisible: true,
110
  label: "Model",
111
  },
112
+ "model.average_score": {
113
+ group: "fixed",
114
+ size: COLUMN_SIZES.AVERAGE_SCORE,
115
+ defaultVisible: true,
116
+ label: "Average Score",
117
+ },
118
  },
119
  EVALUATION: {
120
  "evaluations.safetensors.value": {
 
346
  export const SKELETON_COLUMNS = [
347
  40, // Checkbox
348
  COLUMN_SIZES.RANK, // Rank
 
349
  COLUMN_SIZES.MODEL, // Model name
350
  COLUMN_SIZES.AVERAGE_SCORE, // Average score
351
  COLUMN_SIZES.BENCHMARK, // Benchmark 1