Skip to content

beaupranisaa/truncation-vs-extractive-summarization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Evaluating Truncation and Extractive Approaches in Text Summarization

Create dataset

python3 shuffle_dataset.py --dataset 'xsum' --orig_source_length 512 --max_target_length 36 --seed 0

Extract document

Unshuffled dataset

python3 src/extraction.py --approach 'head+tail0.5'

Shuffle dataset

python3 src/extraction.py --approach 'head+tail0.5' --shuffle True -seed 0

To combine the extracted document into train_set.csv, val_set.csv and test.csv

Unshuffled dataset

python3 helper/helper.py --approach 'head+tail0.5'

Shuffle dataset

python3 helper/helper.py --approach 'head+tail0.5' --shuffle True -seed 0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published