# Inference on GSM8K with PAL in InternLM-Chat English | [简体中文](pal_inference_zh-CN.md) Utilize [PAL](https://github.com/reasoning-machines/pal) paradigm inference on the [GSM8K](https://huggingface.co/datasets/gsm8k) dataset, enabling the model to write code and execute it through the Python interpreter to solve mathematical problems. The usage is as follows: ```bash python pal_inference.py \ \ \ [--dataset ] \ [--max_length ] \ [--top_p ] \ [--eoh ] \ [--eoa ] \ [--eos ] \ [--temperature ] \ [--time_out