Spaces:
Running
Running
Removed Selene models as being active
Browse files- app.py +2 -19
- data/models.jsonl +2 -2
app.py
CHANGED
@@ -705,25 +705,8 @@ with gr.Blocks(theme="default", css=CSS_STYLES) as demo:
|
|
705 |
active_models = [name for name, info in model_data.items()
|
706 |
if info.get("active", True) is True] # Explicitly check for True
|
707 |
|
708 |
-
#
|
709 |
-
|
710 |
-
|
711 |
-
# New models appear 40% of the time
|
712 |
-
if random.random() < 0.4:
|
713 |
-
# Randomly choose between new models
|
714 |
-
new_model = random.choice(new_models)
|
715 |
-
other_models = [m for m in active_models if m not in new_models]
|
716 |
-
other_model = random.choice(other_models)
|
717 |
-
|
718 |
-
if random.random() < 0.5:
|
719 |
-
model_a, model_b = new_model, other_model
|
720 |
-
else:
|
721 |
-
model_a, model_b = other_model, new_model
|
722 |
-
else:
|
723 |
-
# For other cases, exclude new models
|
724 |
-
non_special_models = [m for m in active_models if m not in new_models]
|
725 |
-
model1, model2 = random.sample(non_special_models, 2)
|
726 |
-
model_a, model_b = (model1, model2) if random.random() < 0.5 else (model2, model1)
|
727 |
|
728 |
# Get responses from models
|
729 |
response_a = get_model_response(
|
|
|
705 |
active_models = [name for name, info in model_data.items()
|
706 |
if info.get("active", True) is True] # Explicitly check for True
|
707 |
|
708 |
+
# Randomly select two different models
|
709 |
+
model_a, model_b = random.sample(active_models, 2)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
710 |
|
711 |
# Get responses from models
|
712 |
response_a = get_model_response(
|
data/models.jsonl
CHANGED
@@ -24,5 +24,5 @@
|
|
24 |
{"name": "QwQ 32B Preview", "organization": "Qwen", "license": "Open Source", "api_model": "Qwen/QwQ-32B-Preview", "active": true}
|
25 |
{"name": "Flow-Judge-v0.1", "organization": "Flow AI", "license": "Open Source", "api_model": "Flow-Judge-v0.1-4.65bpw-exl2", "active": false}
|
26 |
{"name": "SFR-LLaMA-3.1-70B-Judge", "organization": "Salesforce", "license": "Proprietary", "api_model": "sfr-llama-3.1-70b-judge", "active": true}
|
27 |
-
{"name": "Atla Selene 1 Mini", "organization": "Atla", "license": "Open Source", "api_model": "Atla-Selene-Mini", "active":
|
28 |
-
{"name": "Atla Selene 1", "organization": "Atla", "license": "Proprietary", "api_model": "Atla-Selene", "active":
|
|
|
24 |
{"name": "QwQ 32B Preview", "organization": "Qwen", "license": "Open Source", "api_model": "Qwen/QwQ-32B-Preview", "active": true}
|
25 |
{"name": "Flow-Judge-v0.1", "organization": "Flow AI", "license": "Open Source", "api_model": "Flow-Judge-v0.1-4.65bpw-exl2", "active": false}
|
26 |
{"name": "SFR-LLaMA-3.1-70B-Judge", "organization": "Salesforce", "license": "Proprietary", "api_model": "sfr-llama-3.1-70b-judge", "active": true}
|
27 |
+
{"name": "Atla Selene 1 Mini", "organization": "Atla", "license": "Open Source", "api_model": "Atla-Selene-Mini", "active": false}
|
28 |
+
{"name": "Atla Selene 1", "organization": "Atla", "license": "Proprietary", "api_model": "Atla-Selene", "active": false}
|