This is a Python program that creates a summarizing text from a table.
- Run docker container using docker compose
docker compose up -d
- Download totto dataset and evaluation scripts
sh script/download_totto.sh
pip install -r evaluation/language_repo/language/totto/eval_requirements.txt
cd evaluation/language_repo/ && python setup.py install
Run python srcipts in src
directory.
python src/train.py
To run a Table-to-text inference, you must train a model first.
Run python srcipts in src
directory. Note that the guiding text is optional.
python src/infer.py --input [string of table] --saved_path [location of saved model] --guidance [guiding text]