├── .gitignore ├── LICENSE ├── README.md ├── agent ├── __init__.py ├── agent.py └── model.py ├── assets ├── data.zip └── results.zip ├── evaluate.py ├── examples ├── evaluate.ipynb └── pyagent.ipynb ├── prompt ├── general │ ├── eval.py │ ├── resort_check.py │ └── transpose_check.py ├── tabfact │ ├── agent.py │ └── cot.py └── wtq │ ├── agent.py │ └── cot.py ├── requirements.txt ├── run_agent.py ├── run_cot.py ├── run_helper.py ├── scripts ├── all_dp.sh ├── all_pyagent.sh ├── perturbed_example.sh └── vicuna_example.sh └── utils ├── data.py ├── eval.py ├── execute.py └── table.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leolty/tablellm/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leolty/tablellm/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leolty/tablellm/HEAD/README.md -------------------------------------------------------------------------------- /agent/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leolty/tablellm/HEAD/agent/__init__.py -------------------------------------------------------------------------------- /agent/agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leolty/tablellm/HEAD/agent/agent.py -------------------------------------------------------------------------------- /agent/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leolty/tablellm/HEAD/agent/model.py -------------------------------------------------------------------------------- /assets/data.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leolty/tablellm/HEAD/assets/data.zip -------------------------------------------------------------------------------- /assets/results.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leolty/tablellm/HEAD/assets/results.zip -------------------------------------------------------------------------------- /evaluate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leolty/tablellm/HEAD/evaluate.py -------------------------------------------------------------------------------- /examples/evaluate.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leolty/tablellm/HEAD/examples/evaluate.ipynb -------------------------------------------------------------------------------- /examples/pyagent.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leolty/tablellm/HEAD/examples/pyagent.ipynb -------------------------------------------------------------------------------- /prompt/general/eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leolty/tablellm/HEAD/prompt/general/eval.py -------------------------------------------------------------------------------- /prompt/general/resort_check.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leolty/tablellm/HEAD/prompt/general/resort_check.py -------------------------------------------------------------------------------- /prompt/general/transpose_check.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leolty/tablellm/HEAD/prompt/general/transpose_check.py -------------------------------------------------------------------------------- /prompt/tabfact/agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leolty/tablellm/HEAD/prompt/tabfact/agent.py -------------------------------------------------------------------------------- /prompt/tabfact/cot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leolty/tablellm/HEAD/prompt/tabfact/cot.py -------------------------------------------------------------------------------- /prompt/wtq/agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leolty/tablellm/HEAD/prompt/wtq/agent.py -------------------------------------------------------------------------------- /prompt/wtq/cot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leolty/tablellm/HEAD/prompt/wtq/cot.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leolty/tablellm/HEAD/requirements.txt -------------------------------------------------------------------------------- /run_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leolty/tablellm/HEAD/run_agent.py -------------------------------------------------------------------------------- /run_cot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leolty/tablellm/HEAD/run_cot.py -------------------------------------------------------------------------------- /run_helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leolty/tablellm/HEAD/run_helper.py -------------------------------------------------------------------------------- /scripts/all_dp.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leolty/tablellm/HEAD/scripts/all_dp.sh -------------------------------------------------------------------------------- /scripts/all_pyagent.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leolty/tablellm/HEAD/scripts/all_pyagent.sh -------------------------------------------------------------------------------- /scripts/perturbed_example.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leolty/tablellm/HEAD/scripts/perturbed_example.sh -------------------------------------------------------------------------------- /scripts/vicuna_example.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leolty/tablellm/HEAD/scripts/vicuna_example.sh -------------------------------------------------------------------------------- /utils/data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leolty/tablellm/HEAD/utils/data.py -------------------------------------------------------------------------------- /utils/eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leolty/tablellm/HEAD/utils/eval.py -------------------------------------------------------------------------------- /utils/execute.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leolty/tablellm/HEAD/utils/execute.py -------------------------------------------------------------------------------- /utils/table.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Leolty/tablellm/HEAD/utils/table.py --------------------------------------------------------------------------------