Rename configs from wr* to benchmark_wr* to match codebase convention
#2
by FYYDCC - opened
- README.md +24 -30
- {wr025 → benchmark_wr025}/3_agents.jsonl +0 -0
- {wr025 → benchmark_wr025}/4_agents.jsonl +0 -0
- {wr025 → benchmark_wr025}/5_agents.jsonl +0 -0
- {wr050 → benchmark_wr050}/3_agents.jsonl +0 -0
- {wr050 → benchmark_wr050}/4_agents.jsonl +0 -0
- {wr050 → benchmark_wr050}/5_agents.jsonl +0 -0
- {wr075 → benchmark_wr075}/3_agents.jsonl +0 -0
- {wr075 → benchmark_wr075}/4_agents.jsonl +0 -0
- {wr075 → benchmark_wr075}/5_agents.jsonl +0 -0
README.md
CHANGED
|
@@ -13,30 +13,30 @@ pretty_name: MAPF-FrozenLake Benchmark
|
|
| 13 |
size_categories:
|
| 14 |
- 1K<n<10K
|
| 15 |
configs:
|
| 16 |
-
- config_name:
|
| 17 |
data_files:
|
| 18 |
- split: 3_agents
|
| 19 |
-
path:
|
| 20 |
- split: 4_agents
|
| 21 |
-
path:
|
| 22 |
- split: 5_agents
|
| 23 |
-
path:
|
| 24 |
-
- config_name:
|
| 25 |
data_files:
|
| 26 |
- split: 3_agents
|
| 27 |
-
path:
|
| 28 |
- split: 4_agents
|
| 29 |
-
path:
|
| 30 |
- split: 5_agents
|
| 31 |
-
path:
|
| 32 |
-
- config_name:
|
| 33 |
data_files:
|
| 34 |
- split: 3_agents
|
| 35 |
-
path:
|
| 36 |
- split: 4_agents
|
| 37 |
-
path:
|
| 38 |
- split: 5_agents
|
| 39 |
-
path:
|
| 40 |
---
|
| 41 |
|
| 42 |
# MAPF-FrozenLake Benchmark
|
|
@@ -44,9 +44,9 @@ configs:
|
|
| 44 |
Evaluation benchmark for the paper
|
| 45 |
**[From Trainee to Trainer: LLM-Designed Training Environment for RL with Multi-Agent Reasoning](https://github.com/LARK-AI-Lab/Trainee-to-Trainer)**.
|
| 46 |
|
| 47 |
-
Three configs (`
|
| 48 |
-
wait-ratio threshold of the underlying CBS-optimal
|
| 49 |
-
(higher = more inter-agent coordination required).
|
| 50 |
Each config has three splits by agent count.
|
| 51 |
|
| 52 |
## Load
|
|
@@ -55,35 +55,29 @@ Each config has three splits by agent count.
|
|
| 55 |
from datasets import load_dataset
|
| 56 |
|
| 57 |
ds = load_dataset("LARK-Lab/MAPF-FrozenLake-Benchmark",
|
| 58 |
-
name="
|
| 59 |
print(ds[0]["text"][:400])
|
| 60 |
```
|
| 61 |
|
| 62 |
## Run evaluation
|
| 63 |
|
| 64 |
-
|
| 65 |
[Trainee-to-Trainer](https://github.com/LARK-AI-Lab/Trainee-to-Trainer)
|
| 66 |
-
repo root
|
| 67 |
-
`
|
|
|
|
| 68 |
|
| 69 |
-
|
| 70 |
-
benchmark_wr075/
|
| 71 |
-
├── 3_agents/dataset_nl.jsonl
|
| 72 |
-
├── 4_agents/dataset_nl.jsonl
|
| 73 |
-
└── 5_agents/dataset_nl.jsonl
|
| 74 |
-
```
|
| 75 |
-
|
| 76 |
-
You can download + lay out everything in one go:
|
| 77 |
|
| 78 |
```bash
|
| 79 |
hf download LARK-Lab/MAPF-FrozenLake-Benchmark \
|
| 80 |
--repo-type dataset --local-dir /tmp/mapf_bench
|
| 81 |
|
| 82 |
-
for wr in
|
| 83 |
for n in 3 4 5; do
|
| 84 |
-
mkdir -p
|
| 85 |
cp /tmp/mapf_bench/${wr}/${n}_agents.jsonl \
|
| 86 |
-
|
| 87 |
done
|
| 88 |
done
|
| 89 |
```
|
|
|
|
| 13 |
size_categories:
|
| 14 |
- 1K<n<10K
|
| 15 |
configs:
|
| 16 |
+
- config_name: benchmark_wr025
|
| 17 |
data_files:
|
| 18 |
- split: 3_agents
|
| 19 |
+
path: benchmark_wr025/3_agents.jsonl
|
| 20 |
- split: 4_agents
|
| 21 |
+
path: benchmark_wr025/4_agents.jsonl
|
| 22 |
- split: 5_agents
|
| 23 |
+
path: benchmark_wr025/5_agents.jsonl
|
| 24 |
+
- config_name: benchmark_wr050
|
| 25 |
data_files:
|
| 26 |
- split: 3_agents
|
| 27 |
+
path: benchmark_wr050/3_agents.jsonl
|
| 28 |
- split: 4_agents
|
| 29 |
+
path: benchmark_wr050/4_agents.jsonl
|
| 30 |
- split: 5_agents
|
| 31 |
+
path: benchmark_wr050/5_agents.jsonl
|
| 32 |
+
- config_name: benchmark_wr075
|
| 33 |
data_files:
|
| 34 |
- split: 3_agents
|
| 35 |
+
path: benchmark_wr075/3_agents.jsonl
|
| 36 |
- split: 4_agents
|
| 37 |
+
path: benchmark_wr075/4_agents.jsonl
|
| 38 |
- split: 5_agents
|
| 39 |
+
path: benchmark_wr075/5_agents.jsonl
|
| 40 |
---
|
| 41 |
|
| 42 |
# MAPF-FrozenLake Benchmark
|
|
|
|
| 44 |
Evaluation benchmark for the paper
|
| 45 |
**[From Trainee to Trainer: LLM-Designed Training Environment for RL with Multi-Agent Reasoning](https://github.com/LARK-AI-Lab/Trainee-to-Trainer)**.
|
| 46 |
|
| 47 |
+
Three configs (`benchmark_wr025` / `benchmark_wr050` / `benchmark_wr075`)
|
| 48 |
+
correspond to the wait-ratio threshold of the underlying CBS-optimal
|
| 49 |
+
solution (higher = more inter-agent coordination required).
|
| 50 |
Each config has three splits by agent count.
|
| 51 |
|
| 52 |
## Load
|
|
|
|
| 55 |
from datasets import load_dataset
|
| 56 |
|
| 57 |
ds = load_dataset("LARK-Lab/MAPF-FrozenLake-Benchmark",
|
| 58 |
+
name="benchmark_wr075", split="5_agents")
|
| 59 |
print(ds[0]["text"][:400])
|
| 60 |
```
|
| 61 |
|
| 62 |
## Run evaluation
|
| 63 |
|
| 64 |
+
Drop the downloaded folders directly into the
|
| 65 |
[Trainee-to-Trainer](https://github.com/LARK-AI-Lab/Trainee-to-Trainer)
|
| 66 |
+
repo root — the directory names already match what the evaluators
|
| 67 |
+
expect (`benchmark_wr025/` / `benchmark_wr050/` / `benchmark_wr075/`).
|
| 68 |
+
Each one must contain `<N>_agents/dataset_nl.jsonl`.
|
| 69 |
|
| 70 |
+
One-shot download + layout:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 71 |
|
| 72 |
```bash
|
| 73 |
hf download LARK-Lab/MAPF-FrozenLake-Benchmark \
|
| 74 |
--repo-type dataset --local-dir /tmp/mapf_bench
|
| 75 |
|
| 76 |
+
for wr in benchmark_wr025 benchmark_wr050 benchmark_wr075; do
|
| 77 |
for n in 3 4 5; do
|
| 78 |
+
mkdir -p ${wr}/${n}_agents
|
| 79 |
cp /tmp/mapf_bench/${wr}/${n}_agents.jsonl \
|
| 80 |
+
${wr}/${n}_agents/dataset_nl.jsonl
|
| 81 |
done
|
| 82 |
done
|
| 83 |
```
|
{wr025 → benchmark_wr025}/3_agents.jsonl
RENAMED
|
File without changes
|
{wr025 → benchmark_wr025}/4_agents.jsonl
RENAMED
|
File without changes
|
{wr025 → benchmark_wr025}/5_agents.jsonl
RENAMED
|
File without changes
|
{wr050 → benchmark_wr050}/3_agents.jsonl
RENAMED
|
File without changes
|
{wr050 → benchmark_wr050}/4_agents.jsonl
RENAMED
|
File without changes
|
{wr050 → benchmark_wr050}/5_agents.jsonl
RENAMED
|
File without changes
|
{wr075 → benchmark_wr075}/3_agents.jsonl
RENAMED
|
File without changes
|
{wr075 → benchmark_wr075}/4_agents.jsonl
RENAMED
|
File without changes
|
{wr075 → benchmark_wr075}/5_agents.jsonl
RENAMED
|
File without changes
|