Spaces:
Runtime error
Runtime error
itsZaid05 commited on
Update openenv.yaml
Browse files- openenv.yaml +24 -9
openenv.yaml
CHANGED
|
@@ -7,19 +7,34 @@ port: 7860
|
|
| 7 |
description: "Carbon-aware RL environment for multi-objective LLM query routing"
|
| 8 |
version: "1.0.0"
|
| 9 |
|
|
|
|
| 10 |
tasks:
|
| 11 |
- id: task_1
|
| 12 |
-
name: Single Query Routing
|
| 13 |
difficulty: easy
|
| 14 |
-
|
| 15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
- id: task_2
|
| 17 |
-
name: Multi-Query Episode
|
| 18 |
difficulty: medium
|
| 19 |
-
|
| 20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
- id: task_3
|
| 22 |
-
name: Stateful Carbon-Aware Routing
|
| 23 |
difficulty: hard
|
| 24 |
-
|
| 25 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
description: "Carbon-aware RL environment for multi-objective LLM query routing"
|
| 8 |
version: "1.0.0"
|
| 9 |
|
| 10 |
+
# ββ Tasks (Phase 2 validator requires β₯ 3 with graders) ββββββββββββββββββββββ
|
| 11 |
tasks:
|
| 12 |
- id: task_1
|
| 13 |
+
name: "Single Query Routing (Easy)"
|
| 14 |
difficulty: easy
|
| 15 |
+
max_steps: 10
|
| 16 |
+
num_queries: 1
|
| 17 |
+
max_reward: 1.5
|
| 18 |
+
description: "Route a single LLM query to the optimal model tier."
|
| 19 |
+
grader: "server.app:grade_episode"
|
| 20 |
+
score_range: [0.0, 1.0]
|
| 21 |
+
|
| 22 |
- id: task_2
|
| 23 |
+
name: "Multi-Query Episode (Medium)"
|
| 24 |
difficulty: medium
|
| 25 |
+
max_steps: 20
|
| 26 |
+
num_queries: 3
|
| 27 |
+
max_reward: 4.5
|
| 28 |
+
description: "Route 3 queries; LARGE model penalised -0.2 per use."
|
| 29 |
+
grader: "server.app:grade_episode"
|
| 30 |
+
score_range: [0.0, 1.0]
|
| 31 |
+
|
| 32 |
- id: task_3
|
| 33 |
+
name: "Stateful Carbon-Aware Routing (Hard)"
|
| 34 |
difficulty: hard
|
| 35 |
+
max_steps: 50
|
| 36 |
+
num_queries: 5
|
| 37 |
+
max_reward: 7.5
|
| 38 |
+
description: "5-query episode with caching, KB lookups, and carbon-aware waiting."
|
| 39 |
+
grader: "server.app:grade_episode"
|
| 40 |
+
score_range: [0.0, 1.0]
|