Spaces:
Runtime error
Runtime error
move minotaur-13b-fixed into the arena
Browse files
app.py
CHANGED
@@ -138,6 +138,7 @@ AVAILABLE_MODELS = {
|
|
138 |
"mpt-7b-instruct": ("jpqbvnyluj18b0", prompt_instruct),
|
139 |
"guanaco-13b": ("yxl8w98z017mw2", prompt_instruct),
|
140 |
# "minotaur-13b": ("6f1baphxjpjk7b", prompt_chat),
|
|
|
141 |
"wizardlm-13b": ("k0chcxsgukov8x", prompt_instruct),
|
142 |
"selfee-13b": ("50rnvxln9bmf4c", prompt_instruct),
|
143 |
}
|
@@ -150,7 +151,6 @@ OAAIC_MODELS = [
|
|
150 |
OAAIC_MODELS_ROLEPLAY = {
|
151 |
"manticore-13b-chat-roleplay": ("u6tv84bpomhfei", prompt_roleplay),
|
152 |
"minotaur-13b-roleplay": ("6f1baphxjpjk7b", prompt_roleplay),
|
153 |
-
"minotaur-13b-fixed": ("sjnkstd3e40ojj", prompt_roleplay),
|
154 |
"minotaur-13b-fixed-roleplay": ("sjnkstd3e40ojj", prompt_roleplay),
|
155 |
# "minotaur-mpt-7b": ("vm1wcsje126x1x", prompt_chat),
|
156 |
}
|
@@ -232,7 +232,7 @@ def chat(history1, history2, system_msg, state):
|
|
232 |
# stream the response
|
233 |
# [arena_chatbot1, arena_chatbot2, arena_message, reveal1, reveal2, arena_state]
|
234 |
yield history1, history2, "", gr.update(value=battle[0]), gr.update(value=battle[1]), {"models": [model1.name, model2.name]}
|
235 |
-
sleep(0.
|
236 |
|
237 |
|
238 |
def chosen_one(label, choice1_history, choice2_history, system_msg, nudge_msg, rlhf_persona, state):
|
|
|
138 |
"mpt-7b-instruct": ("jpqbvnyluj18b0", prompt_instruct),
|
139 |
"guanaco-13b": ("yxl8w98z017mw2", prompt_instruct),
|
140 |
# "minotaur-13b": ("6f1baphxjpjk7b", prompt_chat),
|
141 |
+
"minotaur-13b-fixed": ("sjnkstd3e40ojj", prompt_roleplay),
|
142 |
"wizardlm-13b": ("k0chcxsgukov8x", prompt_instruct),
|
143 |
"selfee-13b": ("50rnvxln9bmf4c", prompt_instruct),
|
144 |
}
|
|
|
151 |
OAAIC_MODELS_ROLEPLAY = {
|
152 |
"manticore-13b-chat-roleplay": ("u6tv84bpomhfei", prompt_roleplay),
|
153 |
"minotaur-13b-roleplay": ("6f1baphxjpjk7b", prompt_roleplay),
|
|
|
154 |
"minotaur-13b-fixed-roleplay": ("sjnkstd3e40ojj", prompt_roleplay),
|
155 |
# "minotaur-mpt-7b": ("vm1wcsje126x1x", prompt_chat),
|
156 |
}
|
|
|
232 |
# stream the response
|
233 |
# [arena_chatbot1, arena_chatbot2, arena_message, reveal1, reveal2, arena_state]
|
234 |
yield history1, history2, "", gr.update(value=battle[0]), gr.update(value=battle[1]), {"models": [model1.name, model2.name]}
|
235 |
+
sleep(0.05)
|
236 |
|
237 |
|
238 |
def chosen_one(label, choice1_history, choice2_history, system_msg, nudge_msg, rlhf_persona, state):
|