Views
No views yet
Hinglish Dilaogues to English Summarization(h2e) and English Dialogues to English Summarization(e2e). For each task, Dialogues/conversastion have .source(train.source) as file extension whereas Summary has .target(train.target) file extension. ".source" file need to be provided to input_path and ".target" file to reference_path argument in the scripts.model_name argument in the scripts or use the provided alias (to model_name argument) in scripts directly; this will lead to download weights automatically by scripts.| Model | Huggingface Alias |
|---|---|
| mBART | midas/gupshup_h2e_mbart |
| PEGASUS | midas/gupshup_h2e_pegasus |
| T5 MTL | midas/gupshup_h2e_t5_mtl |
| T5 | midas/gupshup_h2e_t5 |
| BART | midas/gupshup_h2e_bart |
| GPT-2 | midas/gupshup_h2e_gpt |
| Model | Huggingface Alias |
|---|---|
| mBART | midas/gupshup_e2e_mbart |
| PEGASUS | midas/gupshup_e2e_pegasus |
| T5 MTL | midas/gupshup_e2e_t5_mtl |
| T5 | midas/gupshup_e2e_t5 |
| BART | midas/gupshup_e2e_bart |
| GPT-2 | midas/gupshup_e2e_gpt |
git clone https://github.com/midas-research/gupshup.git
pip install -r requirements.txtinput_path and refrence_path. Or you can simply put test.source and test.target in data/h2e/(hinglish to english) or data/e2e/(english to english) folder. For example, to generate English summaries from Hinglish dialogues using the mbart model, run the following commandpython run_eval.py \
--model_name midas/gupshup_h2e_mbart \
--input_path data/h2e/test.source \
--save_path generated_summary.txt \
--reference_path data/h2e/test.target \
--score_path scores.txt \
--bs 8
python run_eval.py \
--model_name midas/gupshup_e2e_pegasus \
--input_path data/e2e/test.source \
--save_path generated_summary.txt \
--reference_path data/e2e/test.target \
--score_path scores.txt \
--bs 8
@inproceedings{mehnaz2021gupshup,
title={GupShup: Summarizing Open-Domain Code-Switched Conversations},
author={Mehnaz, Laiba and Mahata, Debanjan and Gosangi, Rakesh and Gunturi, Uma Sushmitha and Jain, Riya and Gupta, Gauri and Kumar, Amardeep and Lee, Isabelle G and Acharya, Anish and Shah, Rajiv},
booktitle={Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing},
pages={6177--6192},
year={2021}
}