Skip to content

yunx-z/MOVER

Repository files navigation

MOVER

Code and data for MOVER: Mask, Over-generate and Rank for Hyperbole Generation (NAACL 2022)

Data Preparation

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

Model Training and Inference

Train MOVER: bash run_bart.sh

Inference with MOVER: bash infer_run_bart.sh

Baseline Implementations

  • R1: python ir_hypo_baseline.py

  • R3: python retrieve_rank_baseline.py

Automatic Evaluation

python evaluate_result.py

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages