├── .gitignore ├── README.md ├── arithmetic └── llm_arithmetic_batch.py ├── data ├── generator.py └── proportion.py ├── download.py ├── eval └── evaluation.py ├── eval_tm.py ├── generate.py ├── requirements.txt ├── synthetic ├── add_generate.py ├── aligner_generate.py ├── div_generate.py ├── equal_generate.py ├── greater_than_generate.py ├── left_mask_generate.py ├── less_than_generate.py ├── mul_generate.py ├── reflection_generate.py └── sub_generate.py ├── turing_machine ├── addition │ ├── addition_tm.py │ ├── command.py │ └── state.py ├── alignment │ ├── aligner.py │ └── templates.py ├── division │ ├── call_command.py │ ├── call_state.py │ ├── div_tm.py │ └── input.py ├── equal │ ├── command.py │ ├── equal_tm.py │ └── state.py ├── greater_than │ ├── command.py │ ├── greater_than_tm.py │ └── state.py ├── left_mask │ ├── command.py │ ├── left_mask_tm.py │ └── state.py ├── less_than │ ├── command.py │ ├── less_than_tm.py │ └── state.py ├── multiplication │ ├── call_command.py │ ├── call_state.py │ ├── input.py │ └── mul_tm.py ├── reflection │ ├── command.py │ ├── reflection_tm.py │ └── state.py ├── subtraction │ ├── call_command.py │ ├── call_state.py │ ├── input.py │ └── sub_tm.py └── tm_path.py └── utils.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/README.md -------------------------------------------------------------------------------- /arithmetic/llm_arithmetic_batch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/arithmetic/llm_arithmetic_batch.py -------------------------------------------------------------------------------- /data/generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/data/generator.py -------------------------------------------------------------------------------- /data/proportion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/data/proportion.py -------------------------------------------------------------------------------- /download.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/download.py -------------------------------------------------------------------------------- /eval/evaluation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/eval/evaluation.py -------------------------------------------------------------------------------- /eval_tm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/eval_tm.py -------------------------------------------------------------------------------- /generate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/generate.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/requirements.txt -------------------------------------------------------------------------------- /synthetic/add_generate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/synthetic/add_generate.py -------------------------------------------------------------------------------- /synthetic/aligner_generate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/synthetic/aligner_generate.py -------------------------------------------------------------------------------- /synthetic/div_generate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/synthetic/div_generate.py -------------------------------------------------------------------------------- /synthetic/equal_generate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/synthetic/equal_generate.py -------------------------------------------------------------------------------- /synthetic/greater_than_generate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/synthetic/greater_than_generate.py -------------------------------------------------------------------------------- /synthetic/left_mask_generate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/synthetic/left_mask_generate.py -------------------------------------------------------------------------------- /synthetic/less_than_generate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/synthetic/less_than_generate.py -------------------------------------------------------------------------------- /synthetic/mul_generate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/synthetic/mul_generate.py -------------------------------------------------------------------------------- /synthetic/reflection_generate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/synthetic/reflection_generate.py -------------------------------------------------------------------------------- /synthetic/sub_generate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/synthetic/sub_generate.py -------------------------------------------------------------------------------- /turing_machine/addition/addition_tm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/turing_machine/addition/addition_tm.py -------------------------------------------------------------------------------- /turing_machine/addition/command.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/turing_machine/addition/command.py -------------------------------------------------------------------------------- /turing_machine/addition/state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/turing_machine/addition/state.py -------------------------------------------------------------------------------- /turing_machine/alignment/aligner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/turing_machine/alignment/aligner.py -------------------------------------------------------------------------------- /turing_machine/alignment/templates.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/turing_machine/alignment/templates.py -------------------------------------------------------------------------------- /turing_machine/division/call_command.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/turing_machine/division/call_command.py -------------------------------------------------------------------------------- /turing_machine/division/call_state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/turing_machine/division/call_state.py -------------------------------------------------------------------------------- /turing_machine/division/div_tm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/turing_machine/division/div_tm.py -------------------------------------------------------------------------------- /turing_machine/division/input.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/turing_machine/division/input.py -------------------------------------------------------------------------------- /turing_machine/equal/command.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/turing_machine/equal/command.py -------------------------------------------------------------------------------- /turing_machine/equal/equal_tm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/turing_machine/equal/equal_tm.py -------------------------------------------------------------------------------- /turing_machine/equal/state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/turing_machine/equal/state.py -------------------------------------------------------------------------------- /turing_machine/greater_than/command.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/turing_machine/greater_than/command.py -------------------------------------------------------------------------------- /turing_machine/greater_than/greater_than_tm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/turing_machine/greater_than/greater_than_tm.py -------------------------------------------------------------------------------- /turing_machine/greater_than/state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/turing_machine/greater_than/state.py -------------------------------------------------------------------------------- /turing_machine/left_mask/command.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/turing_machine/left_mask/command.py -------------------------------------------------------------------------------- /turing_machine/left_mask/left_mask_tm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/turing_machine/left_mask/left_mask_tm.py -------------------------------------------------------------------------------- /turing_machine/left_mask/state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/turing_machine/left_mask/state.py -------------------------------------------------------------------------------- /turing_machine/less_than/command.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/turing_machine/less_than/command.py -------------------------------------------------------------------------------- /turing_machine/less_than/less_than_tm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/turing_machine/less_than/less_than_tm.py -------------------------------------------------------------------------------- /turing_machine/less_than/state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/turing_machine/less_than/state.py -------------------------------------------------------------------------------- /turing_machine/multiplication/call_command.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/turing_machine/multiplication/call_command.py -------------------------------------------------------------------------------- /turing_machine/multiplication/call_state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/turing_machine/multiplication/call_state.py -------------------------------------------------------------------------------- /turing_machine/multiplication/input.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/turing_machine/multiplication/input.py -------------------------------------------------------------------------------- /turing_machine/multiplication/mul_tm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/turing_machine/multiplication/mul_tm.py -------------------------------------------------------------------------------- /turing_machine/reflection/command.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/turing_machine/reflection/command.py -------------------------------------------------------------------------------- /turing_machine/reflection/reflection_tm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/turing_machine/reflection/reflection_tm.py -------------------------------------------------------------------------------- /turing_machine/reflection/state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/turing_machine/reflection/state.py -------------------------------------------------------------------------------- /turing_machine/subtraction/call_command.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/turing_machine/subtraction/call_command.py -------------------------------------------------------------------------------- /turing_machine/subtraction/call_state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/turing_machine/subtraction/call_state.py -------------------------------------------------------------------------------- /turing_machine/subtraction/input.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/turing_machine/subtraction/input.py -------------------------------------------------------------------------------- /turing_machine/subtraction/sub_tm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/turing_machine/subtraction/sub_tm.py -------------------------------------------------------------------------------- /turing_machine/tm_path.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/turing_machine/tm_path.py -------------------------------------------------------------------------------- /utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NJUDeepEngine/CAEF/HEAD/utils.py --------------------------------------------------------------------------------