Spaces:
Running
Running
Commit
•
accf6c6
1
Parent(s):
caa372d
Update app.py
Browse files
app.py
CHANGED
@@ -125,7 +125,7 @@ for category in pretty_category_names.values():
|
|
125 |
table[category] = table[category].map('{:,.2f}%'.format)
|
126 |
|
127 |
avg_token_counts = requests.get("https://llmleaderboard.blob.core.windows.net/llmleaderboard/token_count.json").json()
|
128 |
-
table['Avg. Response Length'] = [int(avg_token_counts[model]) if model != reference_model_name else int(avg_token_counts["TheBloke/guanaco-13B-HF"]) for model in table['Model']]
|
129 |
table['HF Hub Link'] = [f"https://huggingface.co/{model}" if "/" in model else "" for model in table["Model"]]
|
130 |
table["Model"] = [pretty_model_names[model] if model in pretty_model_names else model for model in table["Model"]]
|
131 |
|
|
|
125 |
table[category] = table[category].map('{:,.2f}%'.format)
|
126 |
|
127 |
avg_token_counts = requests.get("https://llmleaderboard.blob.core.windows.net/llmleaderboard/token_count.json").json()
|
128 |
+
table['Avg. Response Length (in characters)'] = [int(avg_token_counts[model]) if model != reference_model_name else int(avg_token_counts["TheBloke/guanaco-13B-HF"]) for model in table['Model']]
|
129 |
table['HF Hub Link'] = [f"https://huggingface.co/{model}" if "/" in model else "" for model in table["Model"]]
|
130 |
table["Model"] = [pretty_model_names[model] if model in pretty_model_names else model for model in table["Model"]]
|
131 |
|