Datasets:

Modalities:
Tabular
Text
Formats:
parquet
Languages:
English
DOI:
Libraries:
Datasets
Dask
License:
stacked-xsum-1024 / xsum_stacked.log
pszemraj's picture
add v3 - version with randomization + dedup
9e0d43b
raw
history blame
3.75 kB
[2022-12-05 01:05:12] INFO:root:args: Namespace(data_dir='data\\xsum', input_instance='interim', output_instance='processed', text_column='document', text_length_column='chapter_length', target_column='summary', target_length_column='summary_length', text_length_threshold=1024, target_length_threshold=1024, target_sep_token='\n[NEXT_CONCEPT]\n', text_sep_token='\n\n', save_sample=True, drop_duplicates=True, shuffle_output=True, loglevel=None, logfile='xsum_stacked-log')
[2022-12-05 01:05:17] INFO:root:loaded dataset from C:\Users\peter\code-dev-22\stacked-booksum\data\xsum\interim
[2022-12-05 01:05:17] INFO:root:INPUTS - basic stats - train
[2022-12-05 01:05:17] INFO:root:{'num_columns': 5,
'num_rows': 204045,
'num_unique_target': 203107,
'num_unique_text': 203846,
'summary - average chars': 125.46,
'summary - average tokens': 30.383719277610332,
'text input - average chars': 2202.42,
'text input - average tokens': 523.9222230390355}
[2022-12-05 04:47:01] INFO:root:stacked 181719 rows, 22326 rows were ineligible
[2022-12-05 04:47:02] INFO:root:dropped 64825 duplicate rows, 320939 rows remain
[2022-12-05 04:47:02] INFO:root:shuffling output with seed 323
[2022-12-05 04:47:03] INFO:root:STACKED - basic stats - train
[2022-12-05 04:47:04] INFO:root:{'num_columns': 6,
'num_rows': 320939,
'num_unique_chapters': 320840,
'num_unique_summaries': 320101,
'summary - average chars': 199.89,
'summary - average tokens': 46.29925001324239,
'text input - average chars': 2629.19,
'text input - average tokens': 621.541532814647}
[2022-12-05 04:47:04] INFO:root:INPUTS - basic stats - test
[2022-12-05 04:47:04] INFO:root:{'num_columns': 5,
'num_rows': 11334,
'num_unique_target': 11323,
'num_unique_text': 11330,
'summary - average chars': 125.39,
'summary - average tokens': 30.373919181224633,
'text input - average chars': 2214.57,
'text input - average tokens': 526.4820010587613}
[2022-12-05 04:47:34] INFO:root:stacked 10109 rows, 1225 rows were ineligible
[2022-12-05 04:47:34] INFO:root:dropped 3613 duplicate rows, 17830 rows remain
[2022-12-05 04:47:34] INFO:root:shuffling output with seed 286
[2022-12-05 04:47:34] INFO:root:STACKED - basic stats - test
[2022-12-05 04:47:34] INFO:root:{'num_columns': 6,
'num_rows': 17830,
'num_unique_chapters': 17829,
'num_unique_summaries': 17822,
'summary - average chars': 198.91,
'summary - average tokens': 46.20005608524958,
'text input - average chars': 2634.9,
'text input - average tokens': 622.9099270891755}
[2022-12-05 04:47:34] INFO:root:INPUTS - basic stats - validation
[2022-12-05 04:47:34] INFO:root:{'num_columns': 5,
'num_rows': 11332,
'num_unique_target': 11323,
'num_unique_text': 11328,
'summary - average chars': 125.59,
'summary - average tokens': 30.41263678079774,
'text input - average chars': 2174.71,
'text input - average tokens': 516.6748146840805}
[2022-12-05 04:47:57] INFO:root:stacked 10110 rows, 1222 rows were ineligible
[2022-12-05 04:47:57] INFO:root:dropped 3507 duplicate rows, 17935 rows remain
[2022-12-05 04:47:57] INFO:root:shuffling output with seed 25
[2022-12-05 04:47:57] INFO:root:STACKED - basic stats - validation
[2022-12-05 04:47:57] INFO:root:{'num_columns': 6,
'num_rows': 17935,
'num_unique_chapters': 17931,
'num_unique_summaries': 17926,
'summary - average chars': 200.3,
'summary - average tokens': 46.326735433509896,
'text input - average chars': 2619.33,
'text input - average tokens': 618.5257318093114}
[2022-12-05 04:47:57] INFO:root:saving samples
[2022-12-05 04:47:57] INFO:root:saved samples to data\xsum\samples
[2022-12-05 04:48:13] INFO:root:saved dataset to C:\Users\peter\code-dev-22\stacked-booksum\data\xsum\processed
[2022-12-05 04:48:13] INFO:root:finished stacking data