Predictable Emergent Abilities of LLMs: Proxy Tasks Are All You Need