fix: clarify trigger_len default discrepancy between constructor and config

Constructor default is 10, config.yaml recommends 15. Added explicit note
so users know to pass the parameter when using the programmatic API.
This commit is contained in:
kigland
2026-03-09 13:00:21 +08:00
parent 35edfae1c7
commit 6f779c96b2
+1 -1
View File
@@ -192,7 +192,7 @@ print(f"Optimized trigger: {adversarial_trigger}")
| `popsize` | 64 | CMA-ES population size per generation |
| `sigma` | 0.5 | Initial step-size for CMA-ES |
> **Note:** `config.yaml` provides recommended defaults. Constructor and method arguments override config values when specified explicitly.
> **Note:** The constructor defaults (e.g., `trigger_len=10`) may differ from the `config.yaml` recommended values (e.g., `trigger_length: 15`). When calling the API directly, pass parameters explicitly as shown in the example above.
## Compute Requirements