"Tree-of-Text: A Tree-based Prompting Framework for Table-to-Text Generation in the Sports Domain", ACL SRW 2025 Long Paper (Oral)
-
Create the conda environment
conda env create -f environment.yml
-
Activate the conda environment
conda activate Tree-of-Text
- table
- match.csv: overall information for the match
- set_1.csv: rally-level data for set 1
- set_2.csv: rally-level data for set 2
- set_3.csv: rally-level data for set 3
- text
- text.txt: human-written report for the match from online sources such as the BWF and Olympics websites
- table
- game.csv: overall game information
- home_line.csv: line score of the home team
- vis_line.csv: line score of the visiting team
- box_score.csv: individual player statistics
- text
- text.txt: human-written NBA basketball game summary
- table
- game.csv: overall game information
- home_line.csv: line score of the home team
- vis_line.csv: line score of the visiting team
- box_score.csv: individual player statistics
- play_by_play.csv: scoring of each at-bat
- text
- text.txt: human-written baseball summaries sourced from the ESPN website
- Tree-of-Text.ipynb: follow the instructions in the script and execute the steps in order: Config, Generate Report, Relation Extraction, Evaluate Report.
- prompt
- planning: prompt for Content Planning
- write: prompt for
write()operation - generating: prompt for Content Generating
- Tree-of-Text.ipynb: follow the instructions in the script and execute the steps in order: Config, Generate Report, Relation Extraction, Evaluate Report.
- prompt
- planning: prompt for Content Planning
- write: prompt for
write()operation - generating: prompt for Content Generating
- Tree-of-Text.ipynb: follow the instructions in the script and execute the steps in order: Config, Generate Report, Relation Extraction, Evaluate Report.
- prompt
- planning: prompt for Content Planning
- write: prompt for
write()operation - generating: prompt for Content Generating
- Configuration: Framework hyperparameters · Model settings
- Input Tables: ShuttleSet+ dataset · Three tables
- Tree-of-Text: Click a node to view its details · Filter by operation type
- Output Texts: Reference Text vs. Generated Text
- Configuration: Framework hyperparameters · Model settings
- Input Tables: RotoWire-FG dataset · Four tables
- Tree-of-Text: Click a node to view its details · Filter by operation type
- Output Texts: Reference Text vs. Generated Text
- Configuration: Framework hyperparameters · Model settings
- Input Tables: MLB dataset · Five tables
- Tree-of-Text: Click a node to view its details · Filter by operation type
- Output Texts: Reference Text vs. Generated Text