HF RL Explorer

I’m using the tree helpers and I keep needing to transform a tree without flattening it or manually…

I’m using the tree helpers and I keep needing to transform a tree without flattening it or manually…: a task in MiMo-V2.6-RL-oss: Agentic RL Environments (MiMo RL release). Could we add a way to map over a whole tree while preserving its shape, plus a variant that only maps the leaves? It would…

The task

Could we add a way to map over a whole tree while preserving its shape, plus a variant that only maps the leaves? It would also be nice if the leaf collection / array conversion callbacks got the same traversal context, so I can use parent info or indexes when producing values.…

Part of XiaomiMiMo/MiMo-V2.6-RL-oss.