IlyasMoutawwakil HF staff commited on
Commit
3ee4539
β€’
1 Parent(s): 6a1592c
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -52,6 +52,8 @@ open_llm_race_dataset["type"] = open_llm_race_dataset["model"].apply(
52
  def get_bar_chart(model_type: str, top_n: int = 10):
53
  fig, ax = plt.subplots(figsize=(12, 6))
54
  ax.set_xlim(0, 100)
 
 
55
  subset = open_llm_race_dataset[open_llm_race_dataset["type"] == model_type]
56
  subset = subset.pivot(index="date", columns="model", values="score")
57
  subset.fillna(0, inplace=True)
@@ -78,8 +80,8 @@ with demo:
78
  with gr.Tabs():
79
  with gr.TabItem(label="Pretrained Models"):
80
  get_bar_chart(ModelType.PT.name)
81
- with gr.TabItem(label="Instructions Finetuend Models"):
82
- get_bar_chart(ModelType.IFT.name)
83
  with gr.TabItem(label="RLHF Models"):
84
  get_bar_chart(ModelType.RL.name, top_n=4)
85
 
 
52
  def get_bar_chart(model_type: str, top_n: int = 10):
53
  fig, ax = plt.subplots(figsize=(12, 6))
54
  ax.set_xlim(0, 100)
55
+ ax.tick_params(axis="y", direction="in", pad=-200)
56
+
57
  subset = open_llm_race_dataset[open_llm_race_dataset["type"] == model_type]
58
  subset = subset.pivot(index="date", columns="model", values="score")
59
  subset.fillna(0, inplace=True)
 
80
  with gr.Tabs():
81
  with gr.TabItem(label="Pretrained Models"):
82
  get_bar_chart(ModelType.PT.name)
83
+ # with gr.TabItem(label="Instructions Finetuend Models"):
84
+ # get_bar_chart(ModelType.IFT.name)
85
  with gr.TabItem(label="RLHF Models"):
86
  get_bar_chart(ModelType.RL.name, top_n=4)
87