Spaces:
Runtime error
Runtime error
Commit
·
52f5395
1
Parent(s):
80ae653
Update app.py
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ def process(model_A, model_B):
|
|
44 |
return prompt,df[df['model'].isin([model_A, model_B])], prefered
|
45 |
|
46 |
title = "Compare Instruction Models to see which one is more helpful"
|
47 |
-
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 a reward model trained on the [Stanford Human Preferences Dataset (SHP)]
|
48 |
interface = gr.Interface(fn=process,
|
49 |
inputs=[gr.Dropdown(choices=model_list, value=model_list[0], label='Model A'),
|
50 |
gr.Dropdown(choices=model_list, value=model_list[1], label='Model B')],
|
|
|
44 |
return prompt,df[df['model'].isin([model_A, model_B])], prefered
|
45 |
|
46 |
title = "Compare Instruction Models to see which one is more helpful"
|
47 |
+
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 a reward model trained on the [Stanford Human Preferences Dataset (SHP)](https://huggingface.co/datasets/stanfordnlp/SHP)"
|
48 |
interface = gr.Interface(fn=process,
|
49 |
inputs=[gr.Dropdown(choices=model_list, value=model_list[0], label='Model A'),
|
50 |
gr.Dropdown(choices=model_list, value=model_list[1], label='Model B')],
|