Towards scientific discovery with language models