Rethinking Chain-of-Thought from the Perspective of Self-Training