Code and data for MOVER: Mask, Over-generate and Rank for Hyperbole Generation (NAACL 2022)
Request HYPO-XL and HYPO-L from this link
Request HYPO.tsv from this paper
Preprocess HYPO dataset
python preprocess_data.py
Prepare masked hyperbolic spans:
python unexpected_syntax_mask.py
Train MOVER:
bash run_bart.sh
Inference with MOVER:
bash infer_run_bart.sh
-
R1:
python ir_hypo_baseline.py
-
R3:
python retrieve_rank_baseline.py
python evaluate_result.py