fix: remove escaped quotes in CyclePlan prompt example
Browse files
README.md
CHANGED
|
@@ -63,23 +63,23 @@ Then, place your final plan between <SOLUTION> and </SOLUTION>.
|
|
| 63 |
|
| 64 |
```bash
|
| 65 |
llama-cli -m DeepSignal-CyclePlan-4B_V1.Q4_K_M.gguf \
|
| 66 |
-
-p
|
| 67 |
Please carefully analyze the predicted traffic states for each phase in the next cycle, provide the timing plan for the next cycle, and give your reasoning process.
|
| 68 |
Place the reasoning process between <start_working_out> and <end_working_out>.
|
| 69 |
Then, place your final plan between <SOLUTION> and </SOLUTION>.
|
| 70 |
|
| 71 |
【cycle_predict_input_json】{
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
{
|
| 76 |
-
{
|
| 77 |
]
|
| 78 |
}
|
| 79 |
}【/cycle_predict_input_json】
|
| 80 |
|
| 81 |
Task (must complete):
|
| 82 |
-
Mainly based on prediction.phase_waits pred_saturation (already calculated), output the final green light time for each phase in the next cycle (unit: seconds), while satisfying hard constraints.
|
| 83 |
```
|
| 84 |
|
| 85 |
**Input format**: JSON wrapped in `【cycle_predict_input_json】...【/cycle_predict_input_json】` tags, containing `prediction.phase_waits` — an array of per-phase objects with `phase_id`, `pred_saturation`, `min_green`, `max_green`, and `capacity`.
|
|
|
|
| 63 |
|
| 64 |
```bash
|
| 65 |
llama-cli -m DeepSignal-CyclePlan-4B_V1.Q4_K_M.gguf \
|
| 66 |
+
-p 'You are a traffic signal timing optimization expert.
|
| 67 |
Please carefully analyze the predicted traffic states for each phase in the next cycle, provide the timing plan for the next cycle, and give your reasoning process.
|
| 68 |
Place the reasoning process between <start_working_out> and <end_working_out>.
|
| 69 |
Then, place your final plan between <SOLUTION> and </SOLUTION>.
|
| 70 |
|
| 71 |
【cycle_predict_input_json】{
|
| 72 |
+
"prediction": {
|
| 73 |
+
"as_of": "2026-02-22T10:00:00",
|
| 74 |
+
"phase_waits": [
|
| 75 |
+
{"phase_id": 0, "pred_saturation": 0.8, "min_green": 20, "max_green": 60, "capacity": 100},
|
| 76 |
+
{"phase_id": 1, "pred_saturation": 0.5, "min_green": 15, "max_green": 45, "capacity": 80}
|
| 77 |
]
|
| 78 |
}
|
| 79 |
}【/cycle_predict_input_json】
|
| 80 |
|
| 81 |
Task (must complete):
|
| 82 |
+
Mainly based on prediction.phase_waits pred_saturation (already calculated), output the final green light time for each phase in the next cycle (unit: seconds), while satisfying hard constraints.'
|
| 83 |
```
|
| 84 |
|
| 85 |
**Input format**: JSON wrapped in `【cycle_predict_input_json】...【/cycle_predict_input_json】` tags, containing `prediction.phase_waits` — an array of per-phase objects with `phase_id`, `pred_saturation`, `min_green`, `max_green`, and `capacity`.
|