HF RL Explorer

I want a generate(model: torch.nn.Module, tokenizer: Any, input text: str, max length: int, temperature…

I want a generate(model: torch.nn.Module, tokenizer: Any, input text: str, max length: int, temperature…: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). The function should encode input text with tokenizer.encode(input text, return tensors="pt") , move the token…

Part of FineEnvs/MiMo-V2.6-RL-harbor-code.