Spaces:
Runtime error
Runtime error
Commit
·
c75952a
1
Parent(s):
a71da9b
Update app.py
Browse files
app.py
CHANGED
@@ -45,7 +45,7 @@ def process(model_A, model_B):
|
|
45 |
return prompt,df[df['model'].isin([model_A, model_B])], result
|
46 |
|
47 |
title = "Compare Instruction Models to see which one is more helpful"
|
48 |
-
description = "This app compares the outputs of various open-source, instruction-trained models from a [dataset](https://huggingface.co/datasets/{OUTPUTS_DATASET}) of human demonstrations using the SteamSHP reward model trained on the [Stanford Human Preferences Dataset (SHP)](https://huggingface.co/datasets/stanfordnlp/SHP)"
|
49 |
interface = gr.Interface(fn=process,
|
50 |
inputs=[gr.Dropdown(choices=model_list, value=model_list[0], label='Model A'),
|
51 |
gr.Dropdown(choices=model_list, value=model_list[1], label='Model B')],
|
|
|
45 |
return prompt,df[df['model'].isin([model_A, model_B])], result
|
46 |
|
47 |
title = "Compare Instruction Models to see which one is more helpful"
|
48 |
+
description = "This app compares the outputs of various open-source, instruction-trained models from a [dataset](https://huggingface.co/datasets/{OUTPUTS_DATASET}) of human demonstrations using the SteamSHP reward model trained on the [Stanford Human Preferences Dataset (SHP)](https://huggingface.co/datasets/stanfordnlp/SHP). Hit the button below to view a few random samples from the generated outputs"
|
49 |
interface = gr.Interface(fn=process,
|
50 |
inputs=[gr.Dropdown(choices=model_list, value=model_list[0], label='Model A'),
|
51 |
gr.Dropdown(choices=model_list, value=model_list[1], label='Model B')],
|