Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -328,7 +328,7 @@ def merge_loop():
|
|
| 328 |
|
| 329 |
# Merge configs
|
| 330 |
yaml_config = create_config(models)
|
| 331 |
-
print(f"YAML config
|
| 332 |
|
| 333 |
# Merge models
|
| 334 |
merge_models()
|
|
@@ -361,11 +361,11 @@ sys.stdout = Logger("output.log")
|
|
| 361 |
title = """
|
| 362 |
<div align="center">
|
| 363 |
<p style="font-size: 44px;">♾️ AutoMerger</p>
|
| 364 |
-
<p style="font-size: 20px;">📃 <a href="https://huggingface.co/automerger">Merged models</a> • 🏆 <a href="https://huggingface.co/spaces/automerger/Yet_Another_LLM_Leaderboard">Leaderboard</a> • 📝 <a href="https://
|
| 365 |
<p><em>AutoMerger selects two 7B models on top of the Open LLM Leaderboard, combine them with a merge technique, and evaluate the resulting model.</em></p>
|
| 366 |
</div>
|
| 367 |
"""
|
| 368 |
-
with gr.Blocks(theme=gr.themes.Soft(primary_hue="
|
| 369 |
gr.Markdown(title)
|
| 370 |
logs = gr.Textbox(label="Logs")
|
| 371 |
demo.load(read_logs, None, logs, every=1)
|
|
|
|
| 328 |
|
| 329 |
# Merge configs
|
| 330 |
yaml_config = create_config(models)
|
| 331 |
+
print(f"YAML config:{yaml_config}")
|
| 332 |
|
| 333 |
# Merge models
|
| 334 |
merge_models()
|
|
|
|
| 361 |
title = """
|
| 362 |
<div align="center">
|
| 363 |
<p style="font-size: 44px;">♾️ AutoMerger</p>
|
| 364 |
+
<p style="font-size: 20px;">📃 <a href="https://huggingface.co/automerger">Merged models</a> • 🏆 <a href="https://huggingface.co/spaces/automerger/Yet_Another_LLM_Leaderboard">Leaderboard</a> • 📝 <a href="https://huggingface.co/blog/mlabonne/merge-models">Article</a> • 🐦 <a href="https://twitter.com/maximelabonne">Follow me on X</a></p>
|
| 365 |
<p><em>AutoMerger selects two 7B models on top of the Open LLM Leaderboard, combine them with a merge technique, and evaluate the resulting model.</em></p>
|
| 366 |
</div>
|
| 367 |
"""
|
| 368 |
+
with gr.Blocks(theme=gr.themes.Soft(primary_hue="blue")) as demo:
|
| 369 |
gr.Markdown(title)
|
| 370 |
logs = gr.Textbox(label="Logs")
|
| 371 |
demo.load(read_logs, None, logs, every=1)
|