HF RL Explorer

I want libcache to provide a least-frequently-used cache replacement policy for stateful cache instances.

I want libcache to provide a least-frequently-used cache replacement policy for stateful cache instances.: a task in MiMo-V2.6-RL-oss: Agentic RL Environments (MiMo RL release). In Go, I should be able to import github.com/shaj13/libcache/lfu and call lfu.New(cap int) libcache.Cache; if I…

The task

In Go, I should be able to import github.com/shaj13/libcache/lfu and call lfu.New(cap int) libcache.Cache; if I blank-import that package, libcache.LFU.Available() should be true and libcache.LFU.New(cap int) / libcache.LFU.NewUnsafe(cap int) should construct LFU-backed caches.…

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