[2410.10846] Duo-LLM: A Framework for Studying Adaptive Computation in Large Language Models